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

Chapter 10.  Frames > Creating an Inline Frame

Creating an Inline Frame

If you want to mix text, graphics, and a frame all on one page, you'll need to create a floating or inline frame—and hope that your visitors view the page with Explorer (although it is standard HTML 4).

To create an inline frame:

1.
In the container page, type <IFRAMESRC="frame.url", where frame.url is the page that should be initially displayed in the inline frame.

Figure 10.13. Because many Web surfers use Netscape, and Netscape doesn't support inline frames, it's important to add alternate text between the opening and closing IFRAME tags.


2.
Type NAME="name", where name is a word that identifies this inline frame's use.

3.
TypeWIDTH=x HEIGHT=y where x and y represent the width and height, respectively, of the inline frame as a percentage or as an absolute value in pixels.

4.
If desired, type ALIGN=LEFT or ALIGN=RIGHT to wrap the text that comes after the frame around the frame.

Figure 10.14. Floating frames won't appear in Netscape but the alternate text (here with a link to the frameset) will.


5.
Type >.

6.
Type the text that should appear if the browser doesn't support inline frames.

7.
Type </IFRAME> to complete the inline frame.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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