Creating basic web page using HTML & CSS

profileTheresacobb

 

Creating basic web page using HTML & CSS

 

  • 2 years ago
  • 15
files (5)

HTML_Lab_Instruction.docx

Backround information:

1. Download all files from Brightspace to your local computer

2. You will modify ‘HTML_Lab_Source.html’ according to this instruction. The completed the web page shown as the below.

3. Open ‘HTML_Lab_Source.html’ with Notepad when you edit the file. If you double click on the file to open, it will open the file with your default web browser (ie Google Chrome).

4. Compare your file (HTML_Lab_Source.html) with the solution file (HTML_Lab_Solution.pdf )

HTML-Lab Instruction

1. Begin the body section by adding an h1 heading that is left-aligned (WORLD TRAVEL)

2. Add the following code into an embedded style

body {font-family: Arial, Verdana, Garamond;

font-size: 11pt;}

h1, h2, h3 {color: Blue;}

a {color: black;}

a:hover {background: #19212d;

color: white;}

img.align-right {float: right;

margin-left: 10px;

margin-right: 10px;}

img.align-left {float: left;

margin-left: 10px;

margin-right: 10px;}

3. Add an unordered list with the two list items, Pyramid and Sahara. These two items will be used to link to the two sections of text below them

4. Add an inline style sheet changing the first three words, “World Travel, Inc.”, of the first paragraph to be color “Red” and font-weight of bold. ( Hint: Use the <span></span> container)

5. Add the two images provided and apply class for each. (pyramid: 320x250 alt: Pyramid, sahara: 260x380 alt: Sahara)

6. Create a link target at the top of the page named top.

7. Add two “To top” links, one after each section. Set the link to direct to the top target at the top of the page. Format font size small

8. Create two link target at each section, Pyramid and Sahara.

9. Create links from the bulleted list to the two targets.

10. Create an e-mail link at the last paragraph.

image1.png