0
The Head Tag in HTML
I thought that the head Tag contains non-visual Elements, but when I wrote something between the head Tag It still.came up, 😐, isn't it invisible or what does non-visual mean?
4 odpowiedzi
+ 1
<head> is not only about non-visual elements you can use <head> to print text as well.
Non-visual means everything that the user of your website cannot see on his screen.
+ 1
html is very permissive, so if you write content in head that your browser detect as should be in the body, he try to correct your code on the fly by opening the body tag just before the content rather than where you've written your own later ^^
however, this kind of html file, even if seems to be working are not valid and could cause unexpected behaviors, in addition to bad SEO rating / referencement ;P
0
There are tags like title ,meta etc in head tag for special perpose use them in head .
0
HTML is just a standard.
Because it works doesn't mean its right to do