What is the default font size for H4?

I am completely lost. The website on which I check CSS-defaults is always http://www.w3.org/TR/CSS2/sample.html (I don't trust anyone else's site)

And it seems like they missed the font-size from h4 .

Sorry to disturb you guys for this, but it is important, and I don’t know how to check it using tools like firebug or one of them ...

+4
source share
5 answers

This is not because it uses the default font-size of 1em (which also appears to be the middle between the values ​​for <h3> and <h5> ). However, as others have noted, this may not be true for your browser, and you must really install it yourself if you want to make sure.

+3
source

HTML 4: THIS IS SOMETHING, BUT EACH BROWSER CAN DOCTOR

 h1: 2em h2: 1.5em h3: 1.17em h4: 1em h5: 0.83em h6: 0.75em FIREFOX h1: 2em h2: 1.5em h3: 1.17em h4: 1em h5: 0.83em h6: 0.67em 
+3
source

The default font size for almost any item is browser dependent. If you want a guaranteed size, install it yourself.

+1
source

Just looking at your link, it seems to be 1em , that is, the same size as plain text.

+1
source

I'm not sure about the exact value, but I know that h4 is the same size as the p-element, which in my opinion is 1em by default.

0
source

Source: https://habr.com/ru/post/1388533/


All Articles