HTML reference Manual (2)--html standard properties

Source: Internet
Author: User

HTML tags have properties. The special properties of each label are listed under each label description. The attributes listed here are the core and language attributes (with individual exceptions) that are common to each label:

Core attributes (Cores Attributes)

The following tags do not provide the following properties: Base, head, HTML, meta, param, script, style, and title element.

Properties value Description
Class Class_rule or Style_rule The class of the element
Id Id_name A specific ID for the element.
Style Style definition inline style definition.
Title Hint text The text displayed in the prompt tool.

Language attributes (Language Attributes)

The following tags do not provide the following properties: Base, BR, Frame, frameset, HR, IFRAME, param, and script elements.

Properties value Description
Dir Ltr | Rtl Sets the orientation of the text.
Lang Language code Sets the language code.

Keyboard properties (Keyboard Attributes)
Properties value Description
AccessKey Character Sets the keyboard shortcut that accesses an element.
TabIndex Number Sets the tab order of an element.

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.