Why we used <head> tag?

Why we use tag ? If we don’t used this tag, then what problem will create on my webpage?

@vishalvats18071997 The <head> element is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag.
It contains document title, character set, styles, scripts, and other meta information.

If you don’t put one, browsers will automatically add it to your page. It’s recommended that you put the <head> tag, even if you keep it blank.(like <head></head>)

1 Like

Thank You
Your response is very helpful for me.

1 Like

@vishalvats18071997 glad I could help. Do let me know if you need any other help.

1 Like