<html>
    <link rel="stylesheet" href="style.css">
    <body>
        body親要素1.6em
        <p>p子要素1.2em<br><a>a孫要素1.2em</a></p>
        <div>div子要素1.2em</div>
       <h2>h2子要素1.2em</h2>
    </dody>
</html>
html{font-size: 1em;}
body{font-size:1.6em} /*本文の文字サイズ*/
h2{font-size:1.2em;}
p{font-size:1.2em;}
a{font-size:1.2em;}
div{font-size:120%;}
h2{font-size:1.2em;}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.