What is the main funtion of head,and what is the diffrence b/ween a tag and an element | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the main funtion of head,and what is the diffrence b/ween a tag and an element

9th Jun 2018, 3:20 PM
Muhammad Hamzah
2 Answers
+ 2
A title element is required within the head element. meta , style , base , link , and script can also be used. head is required and it should be used just once. <head>➡ starting tag </head>➡ ending tag ending tag contains back Slash /
9th Jun 2018, 3:40 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
Main function of head is that they contain details about website(like title you see in tab of browser , information about your website). Tag And Element : <p> is called tag. p is called element.
9th Jun 2018, 4:38 PM
Meet Mehta
Meet Mehta - avatar