What is Css?
HTML allows you to put information (content) on a webpage, css allows
you to give it style. Some of you might
be asking doesn’t HTML already have some kind of style and answer is no. Once
you start using CSS you will never ask that question again.
So how does CSS work. In order for you to add style to a web page
to have to specify where style should be applied to. For example : you would like to have
background of the web page be red. So
you have to specify the tag, in this case body, and then give set the css
property to Red.
Here is one way to do that.
<html>
<head>
<style>
Body
{
Background-color: red;
}
</style>
-----------------------------------------------
</head>
<Body>
</body>
</html>
0 comments: