I ask about <h1> and </h1> . why use them in this code . | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I ask about <h1> and </h1> . why use them in this code .

I ask about <h1> and </h1> . why use them in this code .

23rd Nov 2016, 4:15 PM
Mohamed Elsharkawy
Mohamed Elsharkawy - avatar
2 Answers
+ 3
in HTML there is 6 tags wich is <h1></h1> <h2></h2> <h3></h3> ... etc h1 for example take 52px in the size of text h2 is lower than it , it will take 46px for example ...
23rd Nov 2016, 5:25 PM
Amine Karimi
Amine Karimi - avatar
+ 1
the <h1> tag is a HTML tag. Usually this tag is used to format the text surrounded by it as highest priority heading. we cannot tell you why you use them in your code because we cant see your code. So please post your code.
23rd Nov 2016, 4:22 PM
Andreas K
Andreas K - avatar