Take the HTML quiz for practice.
style HTML attribute for an element(inline)
<style> tags (internal).
(<p>) - all paragraphs will use this style
p {
color: blue;
}
(<p id="myPara">) - just the element named myPara will use this style
#myPara {
color: green;
}
(<p class="coolStyle">) - any element that sets the "class" attribute to the style's class name will use it
.coolStyle {
color: red;
}
* {
font-size: 24px;
}
| Title | Release date | Runtime |
|---|---|---|
| The Second Stage Turbine Blade | March 5, 2002 | 48:44 |
| In Keeping Secrets of Silent Earth: 3 | October 7, 2003 | 1:09:34 |
| Good Apollo, I'm Burning Star IV, Volume One: From Fear Through the Eyes of Madness | September 20, 2005 | 72:04 |
background-color propertyNote that setting background color does not automatically give compatible results with text color!