Y header tag is used in body tag..?.any reason..? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Y header tag is used in body tag..?.any reason..?

7th Jun 2016, 5:50 PM
raj sekhar (santhosh)
raj sekhar (santhosh) - avatar
3 Answers
7th Jun 2016, 9:06 PM
srikanthkyasa
srikanthkyasa - avatar
0
<header> tag, not to be confused with <head> tag nor the headings tags <h1>, <h2>.. is one of the new html5 semantics tags such as <nav>, <section>, <footer>.. These tags describe the content they mark , which <div> for example doesn't.
8th Jun 2016, 6:16 PM
ZinC
ZinC - avatar
- 1
header tag is used to show up headings. and they can be after some contents. Contents are generally put inside the body, therefore header are defined in body. HTML generates the page sequentially.
8th Jun 2016, 8:18 AM
Prince Raj
Prince Raj - avatar