Name: - Student #: - COMP-CO710: Midterm Exam Winter 2013 - 30 Marks
Name: - Student #: - COMP-CO710: Midterm Exam Winter 2013 - 30 Marks
Upload your complete solution to the eLearn Midterm Exam dropbox in the COMP
CO710 course.
Rules for HTML & CSS and uploading (4 marks) – ½ mark each
comment at the top of the code indicating your name and student number in each file
The styles.css must be linked to all 3 HTML pages
All style rules must be either in the styles.css file or an embedded stylesheet, as directed.
HTML must be in lowercase for ALL tags
All tags should conform to HTML5 standards, with either a closing tag or be self-closing.
All HTML Tag Attributes all enclosed in " "
All HTML5 documents include HTML5 elements (nav, footer, header, section, aside) sections
where appropriate
All files must be named as specified above.
Must be uploaded to the eLearn dropbox.
HINTS/NOTES:
COMPLETE one file first and then copy the changes to the other two HTML files.
Page 1 of 6
home.html (3 marks)
Format as shown
The dotted border colour is darkorange
Page 2 of 6
records.html (4 marks)
Create a level 1 heading for Weather Records (1/2 mark)
Create the nested list as shown.
Each unordered list item contains an ordered list with two list elements (2 marks)
The ordered list items must be displayed with a style type of lower roman. (1/2 mark)
The almost 4 inches and almost 2 feet must be emphasized. (1/2 mark)
The degree symbol must be used (Hint:the entity is deg) (1/2 mark)
Page 3 of 6
predict.html (10 marks)
Page 4 of 6
Page 5 of 6
Basic HTML Tags
<!DOCTYPE HTML><html><head><body>
<h1> <h2> <h3> <h6> <p> <br> <hr>
<strong> <em> <pre> <blockquote> <cite> <sub> <sup>
<img src="URL" alt="Alternate Text" height="" width="" />
<a href="URL">Link-text goes here</a>
<a href="mailto:emailaddress">Text</a>
<a id="tips">Tips Section</a>
<a href="#tips">Jump to the Tips Section</a>
<ul> <li>Item</li> <li>Item</li></ul>
<ul> <li>Item</li> <li>Item</li></ul>
< > © °
<div id=""> <div class=""> <span id=""> <span class="">
<header> <nav> <section> <aside> <footer>
<!-- This is a comment -->
list-style-type: none;
border-radius: size;
box-shadow: hor vert blur color;
#someID {} .someClass {}
Page 6 of 6