0

Why the h1 in article is bigger than the h1 in section?

1st Aug 2016, 10:47 AM
Hamed Sahraei
Hamed Sahraei - avatar
2 odpowiedzi
+ 3
Did you mean bigger in font-size? It is relative, depending on your CSS styling for h1 inside article or section tag. You can set h1 inside section bigger than h1 under article tag. For example: <article> <h1>Header 1 in article</h1> <section> <h1>Header 1 in section</h1> </section> </article> <style> article h1 { font-size: 32px; } article section h1 { font-size: 36px; } </style> Now, h1 in section bigger than h1 in article.
1st Aug 2016, 2:44 PM
Ayub Narwidian Adiputra
Ayub Narwidian Adiputra - avatar
0
ok tnx but in the exampel of the app without css styling article h1 is bigger than another in font size
1st Aug 2016, 4:02 PM
Hamed Sahraei
Hamed Sahraei - avatar