In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "what are the div general properties of html". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Html div attributes are: align, accesskey, class, id, lang, style, title, hidden, "data-*", draggable, dropzone, spellcheck, tabindex, translate, and so on.
The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.
The tag defines a separated block or a section of an area in an HTML document. Tags are often used to combine block-level elements so that they can be formatted through CSS.
What are the attributes of html div
Attributes can provide some additional information for the HTML tag, or decorate the HTML tag. The attribute needs to be added to the opening tag, and the syntax format is:
Attr= "value"
Attr represents the property name, and value represents the attribute value. Property values must be surrounded by double quotes "" or single quotation marks''.
There are many HTML attributes, which can be broadly divided into two categories:
Some attributes apply to most or all of the HTML tags, and we call them generic attributes
Some attributes apply only to one or more specific HTML tags, and we call these attributes proprietary attributes.
Specific properties of div:
Attribute value description alignleft
Right
Center
Justify specifies the alignment of the content in the element.
Common properties of div:
Property describes how accesskey sets keyboard shortcuts to access elements. Class specifies the class name of the element (classname) contenteditable specifies whether the content of the element can be edited. Contextmenu specifies the context menu for an element. When the user right-clicks the element, the context menu data-* appears to store the custom data of the page, the dir sets the text orientation of the content in the element. Draggable specifies whether an element can be dragged dropzone specifies whether the data will be copied, moved, or linked, or deleted the hiddenhidden attribute specifies that the element is hidden. Id specifies the language code of the content in the element's unique idlang setting element. Spellcheck detects whether the element is misspelled style specifies the inline style of the element (inline style) tabindex sets the Tab key to control the order of the element. Title specifies additional information about the element (which can be displayed in the tooltip) translate specifies whether the value of an element needs to be translated when the page is loaded. This is the end of the introduction of "what are the div common properties of html". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.