Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Intermediate
May 19, 1999

Display Web Pages Within Borders Defined by the Object Tag

You may have used the <OBJECT> tag to include ActiveX controls on your Web pages, but did you know that the <OBJECT> tag can be used to include many other types of objects as well? For example, you can use the <OBJECT> tag to display any Web page within the borders defined by the <OBJECT> tag. This enables you to display pages from any site on your intranet or the Internet on the page that includes the <OBJECT> tag. You can use this to build a summary page that displays the home pages of your favorite sites on a single, convenient Web page. This code shows how to use the <OBJECT> tag to accomplish this. Note the use of the "data" attribute to identify the page that is to be displayed.
 
<HTML>
<HEAD>
</HEAD>
<BODY>

<P>
<OBJECT data=http://www.devx.com height=100 id=OBJECT2
style="HEIGHT: 100px; LEFT: 0px; TOP: 0px; WIDTH: 357px"
	width=357 VIEWASTEXT></OBJECT>
</P>

<OBJECT data=http://www.inquiry.com height=100 id=OBJECT2
style="HEIGHT: 100px; LEFT: 0px; TOP: 0px; WIDTH: 357px" width=357
VIEWASTEXT></OBJECT>

</BODY>
</HTML>
Charles C.
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date