Home >Web Front-end >CSS Tutorial >CSS Tutorial - Application of CSS_Basic Tutorial
1. In-line
Inline style uses the style attribute directly in the html tag
text
Set the paragraph text to red.
But remember that the final HTML should be independent of the presentation document, so inline styles should be avoided everywhere.
2. Internal
Use the internal style embedded in the entire page in the head tag, and the style tag surrounds the style.
br>"http://www.w3.org/TR/xhtml1/DTD/xhtml1 -strict.dtd">