30.07.2013 Views

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix I Introduction <strong>to</strong> HyperText Markup Language 4: Part 2 1399<br />

d) The element tells the browser what version of HTML is included on the<br />

page. Two types of this element are and .<br />

e) The common shapes used in image maps are , and .<br />

I.3 Write HTML tags <strong>to</strong> accomplish the following tasks:<br />

a) Insert a framed Web page with the first frame extending 300 pixels across the page from<br />

the left side.<br />

b) Insert an ordered list that will have numbering by lowercase Roman numerals.<br />

c) Insert a scrollable list (in a form) that will always display four entries of the list.<br />

d) Insert an image map on<strong>to</strong> a page, using deitel.gif as an image and map with<br />

name="hello" as the image map, and have “hello” be the alt text.<br />

ANSWERS TO SELF-REVIEW EXERCISES<br />

I.1 a) False. You can specify the width of any column either in pixels or as a percentage of the <strong>to</strong>tal<br />

width of the table. c) False. The thead element is used only for formatting purposes and is optional<br />

(but it is recommended that you include it). d) False. You can have an unlimited number of hyperlink<br />

locations on any page. e) False. Text-based browsers are unable <strong>to</strong> render a frameset and must therefore<br />

rely on the information that you include inside the … tag.<br />

I.2 a) type = "reset". b) cols, rows. c) li. d) , transitional,<br />

frameset. e) poly, circle, rect.<br />

I.3 a) … b) …<br />

c) … d)<br />

EXERCISES<br />

I.4 Categorize each of the following as an element or an attribute:<br />

a) width<br />

b) td<br />

c) th<br />

d) frame<br />

e) name<br />

f) select<br />

g) type<br />

I.5 What will the frameset produced by the following code look like? Assume that the pages<br />

being imported are blank with white backgrounds and that the dimensions of the screen are 800 by<br />

600. Sketch the layout, approximating the dimensions.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

I.6 Assume that you have a document with many subsections. Write the HTML markup <strong>to</strong> create<br />

a frame with a table of contents on the left side of the window, and have each entry in the table of<br />

contents use internal linking <strong>to</strong> scroll down the document frame <strong>to</strong> the appropriate subsection.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!