Is it right to place code or content between HTML </head> and <body> tags

Is it possible to place HTML code between the end of the head area and before the start of the body area. However, I did this before, on different sites, without any problems, however, I would like to know if this has any backward compatibility issues, and also whether this is common or good practice. For instance:

</head>

   <div id="header">

       <h1>Heading</h1>

       Code & Content...

   </div><!-- #header -->

 <body>

    Code & Content...

 </body>
+1
source share
1 answer

, . <body>. HTML. , , .

+2

Source: https://habr.com/ru/post/1679346/


All Articles