0

Why heading are in body elements?

29th Dec 2016, 5:11 PM
Vinoth Kumar
Vinoth Kumar - avatar
2 Respostas
+ 3
if you refere to the heading tags <h1></h1>, they are a way of formatting text. So they have to be in the Body element of the Html as they visually modify a visible part of the page. All visible part of the page are in the body element. there vould be no purpose for the heading tags to be in the <head> element of the Html as it contains no visible content thus no formatting is needed
29th Dec 2016, 5:23 PM
seamiki
seamiki - avatar
+ 1
thank u
29th Dec 2016, 5:25 PM
Vinoth Kumar
Vinoth Kumar - avatar