Applying Document Level Styles
In our example so far, our document level styles will be applied to all of the paragraphs and to all of the spans throughout the body of our document.
Generic applications
In our example so far, the p is generic:
- The p in the document level styles will control all of the <p> tags throughout the body of the document.
<style type="text/css">
p { styles }
span { styles }
</style> - The styles designed for p will be applied automatically from the head of the document to all of the <p> tags in the body, unless we specify differently.