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

Chapter 15. Frames > Embedding Content with Objects

Embedding Content with Objects

There are two principal alternatives to frames. The first is using fixed positioning as discussed in Affixing an Element to the Browser Window on page 180 in Chapter 11, Layout with Styles. The second is to use the object element to embed text or (X)HTML content in a page.

Figure 15.45. You can embed one (X)HTML page in another by using the object element.

</head>

<body bgcolor="#FFFFFF">

<h1>Barcelona Tours</h1>

<p>Here's an idea of what the first page of the
Barcelona Tours site looks like: </p>

<hr />

<object type="text/html"
					data="openingpage.html" width="500"
					height="450" >
					The <a href="openingpage.html"> Barcelona
					Tours</a> page contains great photos and
					essential tips for making your vacation a
					success.</object>

</body>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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