Change Font Size: Previous / Next / Directory List
17. Embedded in HTML CSS - CSS style definition
CSS: Cascading Style Sheets (Cascading Style Sheets)
There are three ways in the pages can be embedded in XHTML CSS. See CSS Guide.
Tags in the head in a CSS file loading
Example
<head> <linkRel="stylesheet"type="text/css"href="style.css"/> </ head>
The case of the use of the link tags.
Abbr(font-size:12px;).Text10pxwhite(font-size:10px;color:#FFFFFF;)
Style.css content
CSS write directly to the contents of the document in HTML tags in the head
Example
"text/css"<head> <styleType=>abbr (font-size: 12px;). Text10pxwhite (font-size: 10px; color: # FFFFFF;) </style> </ head>
The case of the use of the style tags.
The two methods is the need to (but recommend the use of a method in the CSS tutorial, I will tell you why).
Style attribute to the use of loaded labels style
Example
<pStyle="font-size: 12px;color:use css#000;" /></ p>
The case of the use of the label style attributes.
Extended reading
- External quoted CSS style
- Internal quoted CSS style
- Quoted in the CSS style
