Iframes In Html:
Iframe is used to dispaly web page within web page.Iframe Syntax:
Syntax for adding frame isSet Height And Width In Inframe:
You have to use height and width attribute to specify size.Attribute value are specified in pixels by default but they can also be in percent like "60%".
Example:
Remove Border -Inframe:
Inframe has black border around it by default.Add style attribute and use CSS border property to remove borders.
Example:
You can also change size,style and colour of iframe border with CSS.
Example:
Inframe Used As Target For Link:
Inframe can be used as target frame for link.Target attribute of the link must refer to name attribute of iframe.
No comments:
Post a Comment