frame tag & image tag

16
Prepared By Gusani Mayank

Upload: mayank-soni

Post on 18-Jan-2015

2.777 views

Category:

Education


5 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Frame tag  & image tag

Prepared By Gusani Mayank

Page 2: Frame tag  & image tag

HTML 4.01 Frame Tag Reference

Page 3: Frame tag  & image tag

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.

Page 4: Frame tag  & image tag

Optional & Standard Attributes

Page 5: Frame tag  & image tag

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.

Page 6: Frame tag  & image tag

Optional & Standard Attributes

Page 7: Frame tag  & image tag

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.

Page 8: Frame tag  & image tag

Standard Attributes

Page 9: Frame tag  & image tag

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.

Page 10: Frame tag  & image tag

Optional & Standard Attributes

Page 11: Frame tag  & image tag

HTML 4.01 Image Tag Reference

Page 12: Frame tag  & image tag

HTML 4.01 Image Tag Reference

Page 13: Frame tag  & image tag

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.

Page 14: Frame tag  & image tag

Required & Optional Attributes

Page 15: Frame tag  & image tag

Standard Attributes

Page 16: Frame tag  & image tag

End Of HTML Tour