4.1. Write a valid HTML code following the formal grammar rules of the DOCTYPE used

Use a valid DOCTYPE for each page and make sure the generated HTML code complies with the formal grammar rules of that DOCTYPE (the choice of DOCTYPE is open).

Note

This DOCTYPE must be placed before the <html> tag.

The following aspects of formal grammar are particularly important:

Warning

Obsolete HTML elements and attributes and/or those intended for formatting purposes only must not be used.

Find out more

Comments

Add a comment

Required fields are marked *.

Back to top