0

<head> mandatory

In the html-quizzes is a question which says that the <head>-section is mandatory in valid html-document. I think it is not. <title>-tag is mandatory but it can come without a <head>-section. Without doubt, a <head> is highly recommended and useful, but is it really mandatory for a rudimentary and valid html-page? Can one of the experienced users please clarify?

7th Apr 2018, 12:32 PM
Stefan
2 odpowiedzi
+ 3
7th Apr 2018, 12:48 PM
Manual
Manual - avatar
+ 1
<head> is not mandatory while title is. You can use a validator to check: http://validator.w3.org/#validate_by_input Validator is very useful anyway.
7th Apr 2018, 9:01 PM
Stefan