frame tag & image tag

Post on 18-Jan-2015

2.767 Views

Category:

Education

5 Downloads

Preview:

Click to see full reader

DESCRIPTION

Av description about frame tag and Image tag in the light of cross platform compatibility and in depth view.

TRANSCRIPT

Prepared By Gusani Mayank

HTML 4.01 Frame Tag Reference

HTML <frame> TagThe <frame> tag defines one particular window

(frame) within a frameset.Each frame in a frameset can have different attributes,

such as border, scrolling, the ability to resize, etc.If you want to validate a page containing frames, be

sure the doctype is set to "Frameset DTD". Read more about doctypes.

You cannot use the body element together with the frameset element. However, if you add a <noframes> tag containing some text for browsers that do not support frames, you will have to enclose the text in a body element.

Optional & Standard Attributes

HTML <frameset> TagThe <frameset> tag defines a frameset.The frameset element holds one or more frame

elements. Each frame element can hold a separate document.

The frameset element states HOW MANY columns or rows there will be in the frameset, and HOW MUCH percentage/pixels of space will occupy each of them.

If you want to validate a page containing frames, be sure the doctype is set to "Frameset DTD".

You cannot use the body element together with the frameset element. However, if you add a <noframes> tag containing some text for browsers that do not support frames, you will have to enclose the text in a body element.

Optional & Standard Attributes

HTML <noframes> TagThe <noframes> tag is used for browsers that

do not handle frames.The noframes element can contain all the

elements that you can find inside the body element of a normal HTML page.

The noframes element is most used to link to a non-frameset version of the web site or to display a message to users that frames are required.

The noframes element goes inside the frameset element.

Standard Attributes

HTML <iframe> TagThe <iframe> tag defines an inline frame

that contains another document.

To deal with browsers that do not understand iframes, place the text you want between the opening <iframe> tag and the closing </iframe> tag.

Optional & Standard Attributes

HTML 4.01 Image Tag Reference

HTML 4.01 Image Tag Reference

HTML <img> TagThe <img> tag embeds an image in an HTML

page.

Notice that images are not technically inserted into an HTML page, images are linked to HTML pages. The <img> tag creates a holding space for the referenced image.

The <img> tag has two required attributes: src and alt.

Required & Optional Attributes

Standard Attributes

End Of HTML Tour

top related