Horizontal Rules & Formatting Exercise
1. Properly format basic opening and closing <html>, <title>, and <body> tags. Within the title tag write, "HTML Exercise".
2. Create a CENTERED title, in SIZE 1 which reads, "HTML CODE: EXERCISE 2".
3. Create an unordered list of all the classes that you are taking this semester. Use either a CIRCLE or SQUARE bullet point type.
4. Create a horizontal rule that does NOT span the entire page and is CENTERED.
5. Create an ordered list representing the seasons of the year in order from most favorite to least favorite. Use roman numerals.
6. Create a horizontal rule that does NOT span the entire page and is RIGHT ALIGNED. Make the line THICKER than the first one you created.
7. Write a short paragraph explaining what your plans are for the next upcoming holiday. Change the font of the text in the paragraph to GEORGIA. Make it size 4 and ALIGNED RIGHT. Include within the paragraph an example of text BOLD, text UNDERLINED, text with a STRIKE THROUGH, and text ITALICIZED.
REMEMBER: to change a font style, use this procedure...
put <font face=" in front of the name of the font you want to apply. Then close the opening tag, type the text you want displayed and then close the tag.
Here's an example:
<font face="Georgia">
Duis aliquet erat sit amet nunc sollicitudin tincidunt. Fusce massa ante,
fringilla eu gravida a, placerat eget libero. Praesent pellentesque volutpat
diam, adipiscing eleifend odio bibendum id. Maecenas ultricies suscipit nulla
nec vulputate. Cras feugiat odio vel ante eleifend ac bibendum metus eleifend.
Maecenas eget sem non metus consequat luctus. Nam lacus nisi, imperdiet eu
tristique nec, cursus ac erat.
</font>
You can change individual sections of text within the font tag as well:
<font size=?> </font>
Replace the ? with a number.
Grading Rubric:
2. Create a CENTERED title, in SIZE 1 which reads, "HTML CODE: EXERCISE 2".
3. Create an unordered list of all the classes that you are taking this semester. Use either a CIRCLE or SQUARE bullet point type.
4. Create a horizontal rule that does NOT span the entire page and is CENTERED.
5. Create an ordered list representing the seasons of the year in order from most favorite to least favorite. Use roman numerals.
6. Create a horizontal rule that does NOT span the entire page and is RIGHT ALIGNED. Make the line THICKER than the first one you created.
7. Write a short paragraph explaining what your plans are for the next upcoming holiday. Change the font of the text in the paragraph to GEORGIA. Make it size 4 and ALIGNED RIGHT. Include within the paragraph an example of text BOLD, text UNDERLINED, text with a STRIKE THROUGH, and text ITALICIZED.
REMEMBER: to change a font style, use this procedure...
put <font face=" in front of the name of the font you want to apply. Then close the opening tag, type the text you want displayed and then close the tag.
Here's an example:
<font face="Georgia">
Duis aliquet erat sit amet nunc sollicitudin tincidunt. Fusce massa ante,
fringilla eu gravida a, placerat eget libero. Praesent pellentesque volutpat
diam, adipiscing eleifend odio bibendum id. Maecenas ultricies suscipit nulla
nec vulputate. Cras feugiat odio vel ante eleifend ac bibendum metus eleifend.
Maecenas eget sem non metus consequat luctus. Nam lacus nisi, imperdiet eu
tristique nec, cursus ac erat.
</font>
You can change individual sections of text within the font tag as well:
<font size=?> </font>
Replace the ? with a number.
Grading Rubric: