Adding Formatting to the Page - Exercise

Contact Us or call 1-877-932-8228
Adding Formatting to the Page - Exercise

Adding Formatting to the Page

Duration: 15 to 25 minutes.

In this exercise, you will add formatting to index.html. The end result should appear like this:Final Page with Formatting

  1. Open HTMLFormatting/Exercises/index.html for editing.
  2. Write code to make the page look like the one in the screenshot above.
    • The text on the very first line should be blue.
  3. Save your work and open your new page in a browser to test it.

Solution:

HTMLFormatting/Solutions/index1.html
<html>
<head>
<title>Runners Home&trade;</title>
</head>
<body>
<p><font color="#0000CC">Home | Races | Resources | 
		Calculator | Running Log | My Account | Log out</font></p>
<p>Hello, <u>Stranger</u>!</p>
<h1>Welcome to Runners Home&trade;</h1>
<p>
<font size="+1"><b>Runners Home&trade; is dedicated to 
		providing you with:</b></font><br>
&nbsp; &nbsp; - the most up-to-date information on running races<br>
&nbsp; &nbsp; - the best resources for runners.
</p>
<hr>
<i>&copy; 2004 Runners Home. All rights reserved.</i>
</body>
</html>
Next