Example page of a dog supplier named FreshPawsofBelAirexample of

Example page of a dog supplier named FreshPawsofBelAir

example of

(styling)

example of creating an external style sheet with at least 2 of the following styles:

  • A background color for the Web pages
  • A text color for at least one of the Web page elements
  • A font-family for at least one of the Web page elements

 You can include additional styles to complete site.

example of (creating a new file for CSS)

Open a new file in your text editor and place your CSS code in it. The following is an example of CSS code for an external style sheet with three style changes, example of using your own attributes. Save and name file style.css:

body {color: #0000FF;background-color: #00FFFF;font-family: Arial;}

example of (add to your HTML)

example of creating a link element to connect the external cascading style sheet (CSS) to the HTML code. This element gets placed in the  section of the code

The following is a sample of HTML5 code for the index.html page with the  element to connect the files. You will need to add in the link element in each of your three pages of your Web site. Otherwise, the styles will not appear on the second and third pages of the site.

The following is a sample of the index.html code with the  element inserted into the  section:

HomepageSample Web siteHomeAboutContactContinue to add content for the homepage.Copyright year, your name, date, class, section number

example containing 5 files