Styles

Every element has a default style. Changing the default style is done with the style attribute:

HTML file: Displayed by browser:
<!DOCTYPE html>
  <html>
    <body>
      <h2 style="color:green;">I am Green</h2>
      <h2 style="color:blue;">I am Blue</h2>
    </body>
  </html>

I am Green

I am Blue

This stuff is new to me, but if my memory serves me right, -- oh gosh! -- it's CSS blending with HTML!! This is sooooo awesome!!

Back buttonTable of ContentsNext button