CSS-notes of class 11
CSS-notes of class 11
Cascading Style Sheets (CSS) describe how documents are presented on screens. Cascading
Style Sheets (CSS) provide easy and effective alternatives to specify various attributes for
the HTML tags. Using CSS, you can specify a number of style properties for a given HTML
element. Each property has a name and a value, separated by a colon (:). Each property
declaration is separated by a semi-colon (;).
Note: Save this file by the name “index.html”. And create another file by the name
“style.css”.
center
{
text-align: center;
font-size: 50;
background-color: blue;
}
p
{
text-align: left;
background-color: yellow;
}
Note: Save this file by the name “style.css”.