HTML Basics Tutorial: Learning to master HTML standard properties

Source: Internet
Author: User
Tags definition html tags
HTML Basics | standard | Basic Tutorials

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

Key attributes (Core Attributes)

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

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

Language properties (Language Attributes)

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

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

Keyboard properties (keyboard Attributes)

Property value Description
AccessKey Character Sets the keyboard shortcuts for accessing an element.
TabIndex Number Sets the tab order for 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.