css h1 font size code example
Example 1: change font size of h1 in html
<style>
h1 {
font-size: 100px;
}
</style>
Example 2: css h sizes
h1 => 32px (2em)
h2 => 24px (1.5em)
h3 => 20.8px (1.3em)
h4 => 16px (1em)
h5 => 12.8px (0.8em)
h6 => 11.2px (0.7em)
Example 3: h2 in px css
h1 is 32px (2em)
h2 is 24px (1.5em)
h3 is 20.8px (1.3em)
h4 is 16px (1em)
h5 is 12.8px (0.8em)
h6 is 11.2px (0.7em)