CMPU4063 Lab 4
Lab 4 Part I – Coding a Fish Creek Website website 2. Test your code with the HTML validator (http://validator.w3.org/ ) and the CSS validator (http://jigsaw.w3.org/css-validator/ ) 2. i. a. When I put my code through the HTML validator it resulted in the following errors: 'stray end tag (div)' x 2, and 'no space between attributes'. There was also a warning with a suggestion to add a language attribute in the head section. These can be seen in figure 1. 2. i. b. .I located the unnecessary end tags and removed them, added and language attribute to declare English as the language, and added a space between the attributes for the email link. I ran it through the validator again, and as seen in Figure 2 it came back clear. Figure 1: errors with HTML code Figure 2: no errors in HTML code 2. ii. a. When I put the CSS sheet through the CSS validator it resulted in the following errors: 'value error: font-family parse error', and 'pa...