In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you what the inline elements in html5 refer to. I hope you will get something after reading this article. Let's discuss it together.
In html, inline elements refer to elements whose display attribute is inline; inline elements, also known as inline elements, always appear "inline" with text flow on a web page, and these elements do not generate "delimiters" before or after themselves, so they can appear in the content of another element without destroying its display.
The operating environment of this tutorial: windows10 system, HTML5 version, Dell G3 computer.
In HTML, inline elements refer to elements whose display attribute is inline; inline elements, also known as inline elements, always appear "inline" with text flow on a web page, and these elements do not generate "delimiters" before or after themselves, so they can appear in the content of another element without destroying its display.
According to the CSS specification, every web element has a display attribute, which is used to determine the type of the element. Each element has a default display attribute value, and the element whose display attribute is inline is the inline element.
Inline elements (inline element), also known as inline elements or inline elements, are generally based on basic elements at the semantic level (semantic). Inline elements can only hold text or other inline elements, and are usually included in block elements, such as "a, b, br", and so on.
Inline elements are generally containers of content. In general, inline elements can only contain content or other inline elements. The width and length depend on the content, can not be set, and can coexist peacefully with other elements on one line. Inline elements are suitable for displaying specific content.
Features:
1. And other elements are all on one line
2. Height, row height, top and bottom margin can not be changed.
3. Width is the width of its text or picture, which can not be changed.
Commonly used inline (inline) elements:
* a-Anchor
* abbr-abbreviation
* acronym-initials
* b-bold (not recommended)
* bdo-bidi override
* big-Big font
* br-Line feeds
* cite-reference
* code-computer code (required when referencing source code)
* dfn-define the field
* em-emphasize
* font-Font setting (not recommended)
* I-italic
* img-Picture
* input-input box
* kbd-define keyboard text
* label-form label
* Q-short reference
* s-dash (not recommended)
* samp-defines the sample computer code
* select-Project selection
* small-small text
* span-commonly used inline containers to define blocks within text
* strike-underlined
* strong-emphasis in bold
* sub-subscript
* sup-superscript
* textarea-multiline text input box
* tt-telex text
* u-underline
* var-define variables
After reading this article, I believe you have a certain understanding of "what are the inline elements in html5". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
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.