What is the use of head tag?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the use of head tag??

6th Jan 2017, 2:56 AM
Rohit Tinku
Rohit Tinku - avatar
3 Answers
+ 3
It's for holding information about the page. For example, the title tag is in there. Meta tags, styles, occasionally scripts. It's all the non display type stuff mostly.
6th Jan 2017, 4:27 AM
James Durand
James Durand - avatar
+ 1
The <head> element is a container which provides general information (meta data). You can give a title of your webpage using <title> tag within <head> tag.
6th Jan 2017, 10:49 AM
Md Toriqul Islam
0
tq for the answers
7th Jan 2017, 11:30 AM
Rohit Tinku
Rohit Tinku - avatar