HTML - tags - <style>

#125 of 147
style
Next sub

 <html>
 <head>
     <style>
         h1 {
           font-size: 1.2rem;
         }
     </style>
 </head>
 </html>
 

The style element contains inline CSS style declarations.

The style element should be placed in the document head

N of

Ads by Google

Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath