In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces what the commonly used attributes of HTML are, which can be used for reference by interested friends. I hope you can learn a lot after reading this article.
Attributes are additional information provided by the HTML element.
HTML attribute
HTML attribute
The HTML element can set attributes
Attribute can add additional information to the element
Attributes are generally described in the opening tag
Attributes always appear in the form of name / value pairs, such as: name= "value".
HTML attribute
Attribute instance
HTML links are defined by tags. The address of the link is specified in the href property:
Example
This is a link.
Common reference property values for HTML properties
Attribute values should always be enclosed in quotation marks.
Double quotes are the most commonly used, but there is no problem with using single quotes.
HTML attribute
Tip: in some individual cases, for example, the attribute value itself contains double quotes, then you must use single quotes, such as name='John "ShotGun" Nelson'
HTML hint: use lowercase attributes
Properties and property values are not case-sensitive.
However, the World wide Web Consortium recommends lowercase attribute / attribute values in its HTML 4 recommendation.
The new version of (X) HTML requires lowercase attributes.
HTML attribute reference manual
Check out the complete list of HTML attributes: the HTML tag reference manual.
The following lists the attributes that apply to most HTML elements:
Attribute description
Class defines one or more class names (classname) for html elements (class names are introduced from style files)
Id defines the unique id of the element
Style specifies the inline style of the element (inline style)
Title describes additional information about the element (used as a toolbar)
Thank you for reading this article carefully. I hope the article "what are the common attributes of HTML" shared by the editor will be helpful to everyone? at the same time, I also hope that you will support and pay attention to the industry information channel, and more related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.