Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Adding Images and Other Page El- ements 12 This chapter focuses on the HTML tags available for placing elements such as rules, images, or multimedia objects on a web page. 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. Tag usage is indicated below the tag name. Start and end tags are required unless otherwise noted. "Deprecated" means that the tag or attribute is currently supported but is due to be phased out of the HTML specification and is discouraged from use (usually in favor of similar style sheet controls). The attributes listed for each tag reflect those in common use. A more thorough listing of attributes for each tag, according to the HTML 4.01 spec- ification, appears in Appendix A . <applet> <applet>...</applet> NN 2, 3, 4, 6 MSIE 3, 4, 5, 5.5, 6 HTML 4.01 Opera5 Deprecated. This tag (first introduced in Netscape Navigator 2.0) is used to place a Java applet on the web page. <applet> and all its attributes have been deprecated in favor of the <object> element, but it is still widely used. Some applets require the use of the <applet> tag. Furthermore, Navigator 4 and earlier and Internet Explorer 4 do not sup- port Java applets via object tags. Attributes align=left|right|top|middle|bottom Aligns the applet and allows text to wrap around it (same as image alignment). 187