![]() |
Use simple syntax for linking to style sheets (the |
Example:
HTML
<link rel="stylesheet" href="styles.css">
Example:
CSS
p.intro {font-family:Verdana;font-size:16em;}
Example:
CSS
body {
background-color: lightgrey;
font-family: "Arial Black", Helvetica, sans-serif;
font-size: 16em;
color: black;
}
Example of HTML Style Sheet | HTML Style Guide |
Short CSS rules can be written compressed, like this: | HTML Style Guide |
Long CSS rules should be written over multiple lines: | HTML Style Guide |
Read Full: | HTML Style Guide |
Category: | Web Tutorial |
Sub Category: | HTML Style Guide |
Uploaded: | 1 year ago |
Uploaded by: | Admin |
Views: | 83 |
Reffered: https://www.w3schools.com/html/html5_syntax.asp