Exercise #2
The primary purpose for exercise 2 is:
-
To get students started with HTML and XHTML
-
Familiarize them with how XHTML is rendered in the browser.
-
Introduce following tags and related attributes:
-
Structural (<!doctype>, <html>, <head>, <body>)
-
Head tags (<title>)
-
Block-level (<hx>, <p>, <ul>, <pre>
-
Text-level (<br>, <p>, <u>, <mono>)
How you should grade this Exercise:
-
They should submit the three files properly using the correct naming convention. (-2 max)
-
Formatting as specified in exercise description. (-5 max)
- include the following XHTML wellformedness constraints (-1 per occurance up to -5 max)
- All tags in lowercase
- All tags are closed
- All tags are case-sensitive ( <p> </p> .......... NOT <p> </P> )
- All standalone tags are closed (<img />, <hr />, <br />, etc.)
- All tags must be properly nested ( <h1><p></p></h1> ............ NOT <h1><p></h1></p> )
- All attribute values are in double quotes (<p align="left">)
- Only one root element (<html>)
- No attribute minimization ( <option selected="selected"> ......... NOT <option selected> )
-
Properly coded with all structural elements (missing <!doctype>, <html>, <head>, <body>) (-3 max)
Total Points Possible: 10 pts