Example analysis:
is the body element (parent element) sets the default font-size value in percentage, and then sets the font size of the <h1> and <p> elements (child elements) in em. This can effectively solve the problem of em in IE browser and can adjust the text size in all browsers.