lucabaldini / webpage

My personal (static-html) webpage
GNU General Public License v3.0
1 stars 0 forks source link

Fix the validation errors #20

Closed lucabaldini closed 5 years ago

lucabaldini commented 5 years ago

We do have quite a few against the HTML 5 validator

lucabaldini commented 5 years ago

On the index: Bad value 65% for attribute width on element img: Expected a digit but saw % instead.

Apparently in HTML 5 the img tag requires a non-negative integer as the image width http://w3c.github.io/html-reference/img.html

And here are the recommendations for the img width specification https://www.w3schools.com/html/html_images.asp

This is now fixed on the master.

lucabaldini commented 5 years ago

Presumably on all pages: Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections.

This is actually a warning and not an error. See https://stackoverflow.com/questions/24155024/w3c-html-validation-error-section-lacks-heading-consider-using-h2-h6-elements

lucabaldini commented 5 years ago

Tracked in issues #27 and #28.