Simple html | head section query | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 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

15th Feb 2018, 1:40 PM
Jitesh Gupta
3 Respuestas
+ 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 - 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...
15th Feb 2018, 2:36 PM
Shin Lin
+ 1
thank you Shibu and Shin
15th Feb 2018, 3:30 PM
Jitesh Gupta