Help:Wiki University Wikitext--Multi-attributes





<< Previous Chapter Next Chapter >>

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 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.

Try these out


 Exercises
 * To make our lorem ipsum paragraph text red, the font-size 12 pixels 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

Check your answers

<< Previous Chapter Next Chapter >>