html tutorial: chapters 1 & 2

Post on 10-Feb-2015

1.087 Views

Category:

Education

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

 

TRANSCRIPT

HTML TutorialChapters 1 & 2

What does the abbreviation HTML stand for?

HyperText Markup Language

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

of this type of tag.

empty tags; <hr>

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

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

•Newspapers

•The Northwest Indiana Times

•The Chicago Sun Times

•The Chicago Tribune

Write out the code for the simplest HTML document possible.

<html></html>

Which HTML tags are included in all HTML documents?

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

<body>

</body></html>

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

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

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

unordered list

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>

•bread

•milk

•eggs

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

ordered list

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>

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

top related