Lab 4 - Web Developer Tools and Validation
HMTL Validator I used the following validator for html: https://validator.w3.org/ Detailed below are the problems it picked up. 1. Consider adding a lang attribute to the html start tag to declare the language of this document. It is important to set the language of a webpage as it becomes th e default language for the content. This is important for useability (i.e. it will make the page easier to translate for an add-on or for Google. I was able to fix this issue by adding the following code into the <head> of the document: <html lang="en"> 2. No space between attributes a name="author"content="Becks" This was easily fixed by adding a space between so it read as follows: <meta name="author" content="Becks Kelly"> 3. Bad value 100px for attribute width on element img : Expected a digit but saw p instead. tact</a> ↩ <img src="fish2.jpg" width ="100px" alt="This is a lo...