HTML Dom tutorial part5 [Dom unpopular object] extracted from W3C School

Source: Internet
Author: User
ArticleDirectory
    • HTML Dom link object
    • HTML Dom Meta Object
HTML Dom link object

The link object represents the <link> element of an HTML object. The <link> element defines the relationship between two linked documents.

<Link> elements are defined in the head section of the HTML document.

 

HTML Dom Meta Object

<Meta> An element provides meta-information about an HTML element, such as description, keywords for search engines, and refresh frequency.

 

HTML Dom style object

The style object represents a separate style declaration. You can access the style object from the document or element of the application style. The style object has many attributes, which basically match the CSS style table. However, you need to note the case switching and writing of continuous words in JavaScript.

Syntax for using style object attributes:
Document. getelementbyid ("ID"). style. Property = "value"
Background attributes

 

Border and margin attributes

 

Layout attributes

 

List attribute

 

Positioning attributes

 

Printing attributes

 

Scrollbar attribute (ie-only)

 

Table attributes

 

Text attributes

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.