1 / 7

Table of Contents

Learn how to divide browser windows with frameset tag and its attributes. Create frames with frame tag, assign src and name attributes, and target links. Enhance website structure and navigation!

tparent
Download Presentation

Table of Contents

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Table of Contents Creating Frames Frameset Tag and its attributes rows attribute cols attribute border attribute Frame Tag and its attributes noresize attribute scrolling attribute name attribute src attribute Target attribute of Anchor tag

  2. Creating Frames • The purpose of creating frames is to divide the browser’s display window into rows and/or column of individual frame. • Frame does not hold information. Therefore, you don’t need body tag. • To create a frame, you need frameset and frame tag.

  3. Frameset Tag and its attributes • Frameset: <frameset>…</frameset> is a collection of frames that make up a browser’s window. • Frameset tag replaces the <body> tag in the document. It is intended to divide up the window so you should never have both frameset and body tag in the same document

  4. Frameset Tag and its attributes • Attributes of Frameset Tag • rows -- indicates the size of each rows • cols -- indicates the size of each columns • border -- indicates the size of the divider • Values for rows and cols attribute consist of set of number separated by commas • For each number assigned to rows or cols attribute, there must be a frame tag to match within the frameset tag

  5. Frame Tag and its attributes • Frame: <frame> tag represents a single frame window • Frame tag has two important pieces of information. First, src attribute tells the browser the file name of the webpage that will initially be loaded into the frame. The name attribute tells the browser how to refer or call that frame in a link

  6. Frame Tag and its attributes • Attributes of Frame Tag • src attribute • name attribute • scrolling attribute • noresize • Filename of the webpage assigned as src value are independent, standard html files with body tags, holds the information to be displayed

  7. Target attribute of Anchor tag • The anchor tag has an additional attribute called target that is set to the name of the frame where you would like the link to load the webpage indicated in the href attribute. • Other target values include _top, _self, _blank, and _parent

More Related