0

Is it compulsary to write head tag immediately after html tag only

15th Jul 2017, 4:18 AM
pawan patidar
pawan patidar - avatar
2 ответов
+ 3
Yes, it's compulsary: << Permitted parents: <html> element, as its first child. >> source: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head
15th Jul 2017, 4:39 AM
visph
visph - avatar
0
No it's not compulsory, but i believe it is a good practice to write head tag and then the body tag.
15th Jul 2017, 4:28 AM
Deddy Tandean