Presentation is loading. Please wait.

Presentation is loading. Please wait.

Table of Contents Creating Frames Frameset Tag and its attributes

Similar presentations


Presentation on theme: "Table of Contents Creating Frames Frameset Tag and its attributes"— 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


Download ppt "Table of Contents Creating Frames Frameset Tag and its attributes"

Similar presentations


Ads by Google