Sams Teach Yourself HTML 4 in 24 Hours

Sams Teach Yourself HTML 4 in 24 Hours

By Dick Oliver

Summary

This hour provided some guidelines for designing attractive, highly readable Web pages. It also explained how to create and control blank space on your pages, as well as how to put borders around images. You saw how to use backgrounds to create banners across the top or left edge of a page and how to make sure people always have text to look at while waiting for the images on your page.

Table 13.2 summarizes the tags and attributes discussed in this chapter.

Table 13.2. HTML Tags and Attributes Covered in Hour 13

Tag Attribute Function
<img />   Inserts an inline image into the document.
  src="&hellip" The address of the image.
  align="&hellip" Determines the alignment of the given image (see Hour 10, "Putting Graphics on a Web Page" ).
  vspace="&hellip" The space between the image and the text above or below it.
  hspace="&hellip" The space between the image and the text to its left or right.
  width="&hellip" The width, in pixels, of the image. If width is not the actual width, the image is scaled to fit.
  height="&hellip" The width, in pixels, of the image. If height is not the actual height, the image is scaled to fit.
  border="&hellip" Draws a border of the specified value in pixels to be drawn around the image. In case the images are also links, border changes the size of the default link border.
<br />   A line break.
  clear="&hellip" Causes the text to stop flowing around any images. Possible values are right, left, all.

Share ThisShare This

Informit Network