CSS Style Tags
Posted on 10. Jan, 2010 by CSSFloat in Tips
Style tags contain on-page CSS. Style tags can be placed anywhere within a document but are usually found within the <head> section.
For example, this sentence was styled by the CSS in style tags directly above in the HTML code.
Don’t believe me? You’ll have to right click and view the source code for proof.
Opening a style tag is simple, it’s <style>. To close the style tag, it’s like most tags, </style>.
Here’s the CSS code embedded in style tags on this page.
#onpage-example {color: #90C; font: 1.2em “Palatino Linotype”, “Book Antiqua”, Palatino, serif;}
