+ 3

Simple html | head section query

what is the difference between a div element placed between head tags and other placed between body tags and what is the effect on a web page https://code.sololearn.com/Wm8DSBVkrcAw/?ref=app

15th Feb 2018, 1:40 PM
Jitesh Gupta
3 Antworten
+ 2
We should not put div inside head tag.The following elements can go inside the <head> element: <title> (this element is required in an HTML document) <style> <base> <link> <meta> <script> <noscript>
15th Feb 2018, 2:34 PM
WebNbiz
WebNbiz - avatar
+ 2
It can work BUT its not correct! The head is reserved for the html head information like Meta, Title, Style and Co. All elements have put into to right Area named Body. All other Code is invalid and non professional. For more informations read this site... https://www.w3schools.com/html/html5_intro.asp
15th Feb 2018, 2:36 PM
Shin Lin
+ 1
thank you Shibu and Shin
15th Feb 2018, 3:30 PM
Jitesh Gupta