Web and User Interface - Lab 4
Part I – Coding a Fish Creek Website 1. Alter your Fish Creek code (from previous labs) to use the following: a. Classes and ids b. Centring layers c. The position attribute d. The float attribute (Completed in Notepad++) 2. Test your code with the HTML validator (http://validator.w3.org/ ) and the CSS validator (http://jigsaw.w3.org/css-validator/ ). a. What are the problems that are highlighted? HTML Validator (I had 4 x HTML pages on my Fish Creek website): index.html = I got 6 errors and a warning. I was advised in the 'warning' to consider adding a 'lang' attribute to the html to declare what language the page is in. Most of the Errors were the same as each other and consisted of the message telling me that " Element dt not allowed as child of element body in this context ". python.html = I got 1 error and a warning. They were the same error and warning as above mentioned in index.html. askthevet.html = I got 1 error and a war...