Help:Wiki University HTML-- Multi-attributes

Multiple attributes
What if we want to change the font, the size of the font and the color of the font at the same time?

Applying multiple attributes
To install more than one attribute, separate each one with a semi-colon:

 This is what our paragraph will look like with all three attributes:
 * NOTICE again that the semi-colon that separates the attributes.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.

Sometimes it is helpful to place the attributes on separate lines. This can make following your code a bit easier   Exercises
 * To make our lorem ipsum paragraph text red, the font-size 12 points and with arial font, what is the code?

Check your answers

 Quick Quiz
 * Attributes are separated with?
 * A. Comma
 * B. Colon
 * C. Semi-colon
 * D. None of the above


 * How many attributes can you put in the paragraph tag?
 * A. No more than 5
 * B. No more than 8
 * C. No more than 20
 * D. None of the above


 * How would you make a word italicized along with the three attribute changes to the paragraph?
 * A. Flank the word with two apostrophes
 * B. Flank the word with and  tags.
 * C. All of the above

Check your answers