+ 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
3 Respostas
+ 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>
+ 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
+ 1
thank you Shibu and Shin