Horje
How to use Style Sheets

Use simple syntax for linking to style sheets (the type attribute is not necessary):


Example of HTML Style Sheet

Example: HTML
<link rel="stylesheet" href="styles.css">

Short CSS rules can be written compressed, like this:

Example: CSS
p.intro {font-family:Verdana;font-size:16em;}

Long CSS rules should be written over multiple lines:

Example: CSS
body { background-color: lightgrey; font-family: "Arial Black", Helvetica, sans-serif; font-size: 16em; color: black;
}

Output should be:

Long CSS rules should be written over multiple lines:





Category :
Web Tutorial
Sub Category :
HTML Style Guide
Uploaded by :
Admin


Read Article
https://horje.com/learn/1434/reference