Style Sheets: Embeded
With embedded use of Style Sheets we place all Style Sheet information at the top of the page. This is separated from the <body> of the page:
|
<html lang="en"><head>
<h1>Style Sheets</h1> </body></html> |
Style SheetsCustomizing your web pages! |
The type="text/css" specifies the browser MIME type. Then, browsers that don't support CSS can ignore the Style Sheet code altogether. Use this for best compatibility.
The comment tag, starting with <!-- and ending with -->, are more important. Some browsers will still attempt display the Style Sheet code itself without the comment tag. Not good! Comments prevent this problem.
