// References / HTML Iframe Tag

Posted The: 13/09/2008 - AT: 13:31

The Iframe element in HTML creates an inline frame, the element is only allowed in the Transitional and Frameset document types.

Warning

Using Frames is usually a bad idea, especially when a simple division element can create same effect.

Attributes

Standard Attributes

Attribute:Value:Description:DTD:
AttrsOther AttributesId, class, style, titleTF
longdescURIlink to long description. TF
nameCharacter data.Name of frame for targetting.TF
srcURISource of frame content. TF
frameborder1|0Frame borders? TF
marginwidthPixelsThe margin width in Pixels. TF
marginheightPixelsThe margin height in Pixels. TF
scrollingyes | no| autoScroll bars? TF
aligntop | middle | bottom | left | center | rightvertical or horizontal alignmentTF
heightlengthframe heightTF
widthlengthframe widthTF

DTD. Defines which document type the attribute is allowed. S=Strict, T=Transitional, F=Frameset.

Example

<iframe 
src="/iframe.html"
width="100%">
</iframe>

The SRC attribute is required.

Stumble It!

Author: BlueBoden

Comments: [0]

  1. HTML Tutorial
  2. CSS Tutorial
  3. XHTML Tutorial
  4. RSS Tutorial
  5. PHP Tutorial
  6. htaccess Tutorial
  7. Server Tutorial
  8. SEO Tutorial

Checked At:02:46

3 Guests

0 Users

Online doing the past 15 Minutes!

PageRanking.dk - Flere hits og højere PageRank - GRATIS tilmelding!

This page was created in 0.13149189949 seconds

Welcome Guest