Is and required in an HTML5 document? -


If you want to create a page with a "fancy" header and be simple like this:

& lt; Body & gt; & Lt; H1 & gt; Title & lt; / H1> Content & lt; / Body & gt;

Is that okay?

No it is not valid. Error 1, 4 Warning: Element key does not have a necessary example of the child element title. The lack of header or footer is fine.

See

makes it valid:

   Content & lt; / Body & gt;    

Comments