Current Assignment(s)
A6: Color
Due: Recommended by Monday, 6.04
Due: Recommended by Monday, 6.04
The Style Attribute
Another way of specifying style is to include the rule as the value for a style attribute in any HTML element.
As with the global class and id attributes, every HTML element can be passed a global style attribute. This value takes a string, formatted as valid CSS.
NOTE: Valid CSS will be discussed over the next few pages.