A Complete Guide to Web Design

(やまだぃちぅ) #1

146


Web Design in a Nutshell, eMatter Edition

Chapter 9Images & Objects

CHAPTER 9


Adding Images and Other Page Elements


This chapter focuses on the HTML tags available for placing elements such as
rules, images, or multimedia objects on a web page. It also includes nondis-
playing elements that are inserted as units into the HTML document such as style
sheets and scripts.


Summary of Object Placement Tags


In this section, browser support for each tag is noted to the right of the tag name.
Browsers that do not support the tag are grayed out. Browsers that deprecate the
tag are noted with a superscript D. Tag usage is indicated below the tag name. A
more thorough listing of attributes for each tag, according to the HTML 4.0 Specifi-
cation, appears in Appendix A,HTML Tags and Elements.


NN: 2, 3, 4 - MSIE:2, 3, 4, 5 - HTML 4D- WebTV- Opera3
...

This tag, introduced by Netscape Navigator 2.0, is used to place a Java applet on
the web page.


Attributes


align=center|left|right
Aligns the applet and allows text to wrap around it (same as image
alignment).


alt=text
Provides alternate text if the applet cannot be displayed.


code=class
Specifies the class name of the code to be executed (required).


codebase=url
URL from which the code is retrieved.