HTML Old School
STYLE tag
Tag <style></style> is used for writeing some CSS inside HTML document.
HTML 4 example:
<style type="text/css">
b {
font: 12px Arial;
color: #FFCCFF;
}
</style>
HTML 5 example:
<style>
b {
font: 12px Arial;
color: #FFCCFF;
}
</style>
Style tag attributes:
1. type="text/css"
Not required in HTML5.
2. media="all | aural | handheld | print | screen | tty | tv"
Defines device which will use the CSS. Default is all.
Example: 04style_media.html