HTML Dom tutorial 23-html Dom frame object

Source: Internet
Author: User
Tags blank page

HTML Dom tutorial 23-html Dom frame object

 

1: frame object

The frame object represents an HTML frame.

Each time <frame> appears in an HTML document, a frame object is created.

2: attributes of the frame object
Attribute Description IE F O W3C
Contentdocument A document that contains the content of the framework. No 1 9 Yes
Frameborder Sets or returns whether to display the border around the frame. 5 1 9 Yes
ID Sets or returns the framework ID. 4 1 9 Yes
Longdesc Sets or returns a URL pointing to a document containing the framework content description. 6 1 9 Yes
Marginheight Sets or returns a blank page at the top and bottom of the framework. 5 1 9 Yes
Marginwidth Sets or returns the left and right edges of the frame. 5 1 9 Yes
Name Set or return the framework name. 5 1 9 Yes
Noresize Sets or returns whether the frame size can be adjusted. 5 1 9 Yes
Scrolling Sets or returns whether the frame can have a scroll bar. No 1 No Yes
SRC Sets or returns the URL of the document to be loaded into the framework. 5 1 9 Yes
3: Standard Properties
Property Description IE F O W3C
Classname Sets or returns the class attribute of an element 5 1 9 Yes
Dir Sets or returns the direction of Text 5 1 9 Yes
Lang Sets or returns the language code for an element 5 1 9 Yes
Title Sets or returns an element's advisory title 5 1 9 Yes

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.