16
HTML Lesson 5 Hyper Text Markup Language

HTML Lesson 5 Hyper Text Markup Language. Assignment 4 Create a new HTML page called index.htm and save it in your HTML_Folder Use the same format

Embed Size (px)

Citation preview

Page 1: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

HTML Lesson 5

Hyper Text Markup Language

Page 2: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

Assignment 4

Create a new HTML page called index.htm and save it in your HTML_Folder

Use the same format which we have used on the last three assignments.

Use this page to introduce yourself as this will be the first page viewers will see. It is referred to as your home page.

Continued…

Page 3: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

Assignment 4 Continued…

Add links to each of the other three assignments which we have done

At the end of each of those assignments, add links back to your home page.

On your home page, add three links. District web page Newport High School page Mr. Thompson’s SharePoint Site

Assignment 4 Continued…

Page 4: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

Assignment 4 Continued…

For grading purposes, do not print anything out for this assignment until your instructor has check all of your links.

You will only print your home page (index.htm) from your browser after it has been OK’d.

Page 5: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

HTML Lists

HTML supports ordered, unordered and definition lists.

Page 6: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

Unordered Lists

An unordered list is a list of items. The list items are marked with bullets (typically small black circles).

An unordered list starts with the <ul> tag. Each list item starts with the <li> tag.<ul> <li>Coffee</li> <li>Milk</li> </ul>

Page 7: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

Here is how it looks in a browser: Coffee Milk

Inside a list item you can put paragraphs, line breaks, images, links, other lists, etc.

Page 8: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

<html><body><h4>Disc bullets list:</h4><ul type="disc"> <li>Apples</li> <li>Bananas</li> <li>Lemons</li> <li>Oranges</li></ul> <h4>Circle bullets list:</h4><ul type="circle"> <li>Apples</li> <li>Bananas</li> <li>Lemons</li> <li>Oranges</li></ul> <h4>Square bullets list:</h4><ul type="square"> <li>Apples</li> <li>Bananas</li> <li>Lemons</li> <li>Oranges</li></ul> </body></html>

Page 9: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

Disc bullets list:• Apples • Bananas • Lemons • Oranges Circle bullets list:o Apples o Bananas o Lemons o Oranges Square bullets list: Apples Bananas Lemons Oranges

Page 10: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

Ordered Lists

An ordered list is also a list of items. The list items are marked with numbers.

An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.<ol> <li>Coffee</li> <li>Milk</li> </ol>

Page 11: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

Here is how it looks in a browser:1. Coffee 2. Milk

Inside a list item you can put paragraphs, line breaks, images, links, other lists, etc.

Page 12: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

<html><body><h4>Numbered list:</h4><ol> <li>Apples</li> <li>Bananas</li> <li>Lemons</li> <li>Oranges</li></ol> <h4>Letters list:</h4><ol type="A"> <li>Apples</li> <li>Bananas</li> <li>Lemons</li> <li>Oranges</li></ol> <h4>Lowercase letters list:</h4><ol type="a"> <li>Apples</li> <li>Bananas</li> <li>Lemons</li> <li>Oranges</li></ol> <h4>Roman numbers list:</h4><ol type="I"> <li>Apples</li> <li>Bananas</li> <li>Lemons</li> <li>Oranges</li></ol> <h4>Lowercase Roman numbers list:</h4><ol type="i"> <li>Apples</li> <li>Bananas</li> <li>Lemons</li> <li>Oranges</li></ol> </body></html>

Page 13: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

Numbered list:1. Apples 2. Bananas 3. Lemons 4. Oranges Letters list:A. Apples B. Bananas C. Lemons D. Oranges Lowercase letters list:a. Apples b. Bananas c. Lemons d. Oranges Roman numbers list:I. Apples II. Bananas III. Lemons IV. Oranges Lowercase Roman numbers list:i. Apples ii. Bananas iii. Lemons iv. Oranges

Page 14: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

Definition Lists A definition list is not a list of items. This is

a list of terms and explanation of the terms. A definition list starts with the <dl> tag.

Each definition-list term starts with the <dt> tag. Each definition-list definition starts with the <dd> tag.<dl> <dt>Coffee</dt> <dd>Black hot drink</dd> <dt>Milk</dt> <dd>White cold drink</dd> </dl>

Page 15: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

Here is how it looks in a browser:Coffee

Black hot drink

Milk White cold drink

Inside a definition-list definition (the <dd> tag) you can put paragraphs, line breaks, images, links, other lists, etc.

Page 16: HTML Lesson 5 Hyper Text Markup Language. Assignment 4  Create a new HTML page called index.htm and save it in your HTML_Folder  Use the same format

Assignment 5

Using your index.htm file from Assignment 4, convert your three assignments into an unordered list using square bullets.

Convert the three external links to an ordered list using Roman numbers.