HTML Hypertext Markup Language. WORKING WITH FRAMES.

Post on 03-Jan-2016

243 views 0 download

Transcript of HTML Hypertext Markup Language. WORKING WITH FRAMES.

HTMLHypertext Markup

Language

WORKING WITH

FRAMES

TO BE DISCUSSED..FRAMESCREATING VERTICAL FRAMESCREATING HORIZONTAL FRAMESCREATING BOTH VERTICAL & HORIZONTAL FRAMESSETTING THE FRAME BORDER AND THICKNESS

FRAMESHTML provides the facility to divide the browser

window into many sections using Frameset.

A frameset in html is a way to display multiple web pages in the same browser window, at the same time.

You can create Vertical as well as Horizontal frames.

You can also set the frame border thickness and frame border color according to requirement

BACK

BACK

CREATING VERTICAL FRAMES

If you want that your browser window divides into vertical sections then you can do it by using cols attribute of the <frameset> tag.

The cols attribute takes the value in

percentage separated by commas

BACK

CREATING HORIZONTAL FRAMES

If you want that your browser window divides into horizontal sections then you can do it by using rows attribute of the <frameset> tag.

The rows attribute takes the value in percentage separated by commas

BACK

CREATING BOTH HORIZONTAL

AND VERTICAL FRAMES

BACK

SETTING THE FRAME BORDER AND THICKNESS

You can also apply border to your frame using frameborder attribute of the <frameset> tag.

If you want to set a border to your frame, you have pass either “yes” or “1” as a value of the frame border attribute.

If you don’t want to set a border to your frame you have to pass either “no” or “0” as a value of the frameborder attribute.

You can also set the thickness of the frame border using the framespacing attribute of the <frameset> tag.

BACK

THANKS

BACK