XHTML Beginner Tutorial: XHTML standard Properties

Source: Internet
Author: User
Tags definition html tags
xhtml| Standard | beginners | tutorial

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 tags do not provide the following attributes: 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 Text displayed in the Hint tool

Language properties (Language Attributes)

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

Property value Description
Dir Ltr | Rtl Set the orientation of the text
Lang Language code Set Language code

Keyboard properties (keyboard Attributes)

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