66
Part2:HTMLElementsandGuidance
HTML5andthestyleElement(continued) Example: <body> . . . <article><!-- this doesn’t receive padding --> <h1>This is not affected</h1> <p>This is not affected.</p> </article> <article><!-- this receives padding --> <style type="text/css" scoped> article { padding: 25px; } h1 { color: blue; } p { color: red; } </style> <h1>This is blue.</h1> <p>This is red.</p> </article> . . . </body> n
title:Ifatitleispresent,itdeinesthestyleelementasan
alternatestylesheet.