• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Description

The <object>...</object> element (not to be confused with JavaScript objects, covered in Chapter 1, “Object()”) denotes a generic object for embedding into a Web page. The idea is for HTML to be extensible via the HTMLObjectElement object to permit non-HTML objects to appear.

This has advantages over the HTMLAppletElement interface for its sheer flexibility. For instance, you could embed a second HTML document within the HTML document. In this respect it is a precursor to the inline frame element (Chapter 15, “window”). Listing 31.3 embeds an HTML document in this fashion.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint