Tuesday, 5 January 2016

frames in html

chapter
frames in html

FRAME SYNTAX
Frame syntax is similar in scope and complexity to that used by tables. Adding a frameset is a simple matter of including the <FRAMESET> container tags after the head of the document in lieu of the body.
<HTML>
<HEAD>
    …….
</HEAD>
<FRAMSET>
<!__ _ frame definition _ _ _>
</FRAMESET>
</HTML>

<FRAME>
This tag defines a single frame in a frameset. It has 6 possible attributes:
1.   SRC= “url ”. the SRC attribute takes as its value the URL of the document displayed in a particular frame.
2.   MARGINWIDTH= “value”. The MARGINWIDTH attribute is used when the document wants some control of the margins for its frame.
3.   NORESIZE. The NORESIZE attribute has no value. It is a flag indicates that the frame is not resizable by the user.
4.   FRAMEBORDER. This attribute will cause the browser to render a visual delineation.

    

No comments:

Post a Comment