HTML 4 Kids: Lesson Week 4
Font Formatting
- The font tag
- <font size="3" color="purple" face="arial"> your text goes here <font>
- size=
- A number from 1 to 7. The larger the number, the larger the print! A sample of the 7 sizes is here.
- color=
- Use a color word for now. Good color words include: red, navy, blue, yellow, orange, green, aqua, purple and black. Later, use a hex code color value. A Hex Codes Color Chart is here.
- face=
- This is the name of the print style. The print style helps to set the mood for your page. Good choices include arial, times and courier. A sample of these font faces are here.
Blank Rule
- Use a blank rule to force a blank line.
- <br>
Horizontal Rule
- <hr>
- Additional Horizontal Rule Attributes:
- width="25" (25 horizontal pixels)
- width="25%" (25% of the screen horizontally)
- size="5" (line height is 5 pixels)
- color="blue"
- Example:
- <hr width="80%" align="center" size="3" color="blue">
Return