Приглашаем посетить
Искусство (art.niv.ru)

Workshop

Previous Page
Table of Contents
Next Page

Workshop

The workshop contains quiz questions and activities to help you solidify your understanding of the material covered. Try to answer all questions before looking at the "Answers" section that follows.

Quiz

1:

How would you center everything on an entire page?

2:

How would you indent a single word and put a square bullet in front of it?

3:

Use a definition list to show that the word "glunch" means "a look of disdain, anger, or displeasure" and that the word "glumpy" means "sullen, morose, or sulky."

4:

How do you say "© 2004, Webwonks Inc." on a web page?

Answers

A1:

If you thought about putting a <div style="text-align:center"> immediately after the <body> tag at the top of the page, and </div> just before the </body> tag at the end of the page, then you're correct. However, the text-align style is also supported directly in the <body> tag, which means you can forego the <div> tag and place the style="text-align:center" style directly in the <body> tag. Presto, the entire page is centered!

A2:

<ul style="list-style-type:square">

  <li>supercalifragilisticexpealidocious</li>
</ul>

(Putting the style="list-style-type:square" in the <li> tag would give the same result because there's only one item in this list.)

A3:

<dl>

<dt>glunch</dt><dd>a look of disdain, anger, or displeasure</dd>
<dt>glumpy</dt><dd>sullen, morose, or sulky</dd>
</dl>

A4:

&copy; 2004, Webwonks Inc.

The following produces the same result:

&#169; 2004, Webwonks Inc.


Previous Page
Table of Contents
Next Page