• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. WEAVING VRML INTO WEB PAGES > Embedding VRML into HTML

Embedding VRML into HTML

Although JavaScript popup windows are quite useful when it comes to constraining the viewing dimensions of your VRML worlds, as the previous section explains, they're not always practical. Sooner or later you'll want to weave VRML content directly into the fabric of a Web page in order to allow other forms of content, such as text and images, to appear alongside your 3D material. Fortunately, integrating VRML and HTML is a snap thanks to two HTML tags, EMBED and OBJECT, known more formally as HTML elements (tags and elements are interchangeable terms, although we'll primarily use the latter throughout the remainder of this chapter).

Unfortunately, you'll have to use both EMBED and OBJECT if you'd like to support the widest possible spectrum of Web browsers out there. Netscape, as you'll soon learn, uses the EMBED element, while Internet Explorer prefers OBJECT. In the sections that follow, you'll learn how to use both elements in your own Web pages and also how to combine the two in a nested fashion in order to support both Navigator and Internet Explorer browsers.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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