html tutorial: chapters 1 & 2

22
HTML Tutorial Chapters 1 & 2

Upload: michaeljm007

Post on 10-Feb-2015

1.086 views

Category:

Education


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: HTML Tutorial: Chapters 1 & 2

HTML TutorialChapters 1 & 2

Page 2: HTML Tutorial: Chapters 1 & 2

What does the abbreviation HTML stand for?

Page 3: HTML Tutorial: Chapters 1 & 2

HyperText Markup Language

Page 4: HTML Tutorial: Chapters 1 & 2

What name is used to refer to HTML tags that do not require an ending tag? Give an example

of this type of tag.

Page 5: HTML Tutorial: Chapters 1 & 2

empty tags; <hr>

Page 6: HTML Tutorial: Chapters 1 & 2

Explain how to properly nest HTML tags (e.g., how to nest one list inside another).

Page 7: HTML Tutorial: Chapters 1 & 2

<ul> <li>Newspapers</li> <ul> <li>The Northwest Indiana Times</li> <li>The Chicago Sun Times</li> <li>The Chicago Tribune</li> </ul></ul>

Page 8: HTML Tutorial: Chapters 1 & 2

•Newspapers

•The Northwest Indiana Times

•The Chicago Sun Times

•The Chicago Tribune

Page 9: HTML Tutorial: Chapters 1 & 2

Write out the code for the simplest HTML document possible.

Page 10: HTML Tutorial: Chapters 1 & 2

<html></html>

Page 11: HTML Tutorial: Chapters 1 & 2

Which HTML tags are included in all HTML documents?

Page 12: HTML Tutorial: Chapters 1 & 2

<html> <head> <title></title> </head>

<body>

</body></html>

Page 13: HTML Tutorial: Chapters 1 & 2

Where would text between the tags <title></title> appear on the screen?

Page 14: HTML Tutorial: Chapters 1 & 2

Text between the tags <title></title> would appear at the top of the browser’s title bar.

Page 15: HTML Tutorial: Chapters 1 & 2

What do the letters “ul” stand for in the <ul> tag?

Page 16: HTML Tutorial: Chapters 1 & 2

unordered list

Page 17: HTML Tutorial: Chapters 1 & 2

What will the following code generate in the browser display window (i.e., what will you see

on the screen)?

<ul> <li>bread</li> <li>milk</li> <li>eggs</li></ul>

Page 18: HTML Tutorial: Chapters 1 & 2

•bread

•milk

•eggs

Page 19: HTML Tutorial: Chapters 1 & 2

What do the letters “ol” stand for in the <ol> tag?

Page 20: HTML Tutorial: Chapters 1 & 2

ordered list

Page 21: HTML Tutorial: Chapters 1 & 2

What will the following code generate in the browser display window (i.e., what will you see

on the screen)?

<ol> <li>Put the key in the ignition.</li> <li>Put on your seat belt.</li> <li>Depress the brake pedal.</li> <li>Turn the key.</li></ol>

Page 22: HTML Tutorial: Chapters 1 & 2

1. Put the key in the ignition.2. Put on your seat belt.3. Depress the brake pedal.4. Turn the key.