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?
2 Antworten
+ 3
Here is a code to explain it,.
https://code.sololearn.com/WlC072TMRUMg/?ref=app
+ 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.