@[email protected] to [email protected]English • 2 days agoWhy are h1 headings smaller than h2 when inside and article tag?message-square8fedilinkarrow-up19arrow-down11file-text
arrow-up18arrow-down1message-squareWhy are h1 headings smaller than h2 when inside and article tag?@[email protected] to [email protected]English • 2 days agomessage-square8fedilinkfile-text
minus-square@[email protected]linkfedilinkEnglish3•edit-22 days agoDo you mean… body > article > h1 is smaller than body > h2 body > article > h1 is smaller than body > article > h2? And where? Which spec stylesheets are you talking about? For (1), https://css-tricks.com/document-outline-dilemma/ might answer your question.
minus-square@[email protected]OPlinkfedilinkEnglish2•edit-22 days agoIt is number 2, <body> <main> <article> <h1>Post Title</h1> <h2>Post "Topic"</h2> </article> </main> </body> Doing now the same as some developers I found: <body> <main> <h1>Post Title</h1> <article> <h2>Post "Topic"</h2> </article> </main> </body> Im asking because I found this question on stackoverflow for the section tag
Do you mean…
body > article > h1
is smaller thanbody > h2
body > article > h1
is smaller thanbody > article > h2
?And where? Which spec stylesheets are you talking about?
For (1), https://css-tricks.com/document-outline-dilemma/ might answer your question.
It is number 2,
<body> <main> <article> <h1>Post Title</h1> <h2>Post "Topic"</h2> </article> </main> </body>
Doing now the same as some developers I found:
<body> <main> <h1>Post Title</h1> <article> <h2>Post "Topic"</h2> </article> </main> </body>
Im asking because I found this question on stackoverflow for the section tag