CSS describes how HTML elements are to be displayed on screen, paper, or in other media
CSS saves a lot of work. It can control the layout of multiple web pages all at once
External stylesheets are stored in CSS files
CSS Demo - One HTML Page - Multiple Styles!
Here we will show one HTML page displayed with four different stylesheets. Click on the "Stylesheet 1", "Stylesheet 2", "Stylesheet 3", "Stylesheet 4" links below to see the different styles:
CSS Syntax:
<tag>{
(Code)
}
There are three types of CSS:
1.Inline CSS
2.Internal CSS
3.External CSS
Some Tags Used In CSS are:
1)#id #firstname Selects the element with id="firstname"
2).class .intro Selects all elements with class="intro"
3)* * Selects all elements
0 Comments