Menu +

Simple Page Style

Lets Add Some Interest To Your First Simple Webpage

There’s three ways to add style to elements on a webpage.

  • inline styles
  • internal stylesheet
  • external stylesheet

For this demonstration we’ll use internal styles. ¬†Internal styles go in the head section of the html page by using the style tag. Here we are changing the body color of the h1 tag and the background. Copy the code below and add it in between your head tags on your simple webpage.

[snippet id=”74″]
Save your index.html file and view it in your browser. See…Piece of cake!

Leave a Reply