In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of the elements in the HTML line, the content is detailed and easy to understand, the operation is simple and fast, and it has a certain reference value. I believe you will gain something after reading this article on the elements in the HTML line. Let's take a look.
Inline elements (inline elements) do not occupy independent areas, only rely on their own font size and image size to support the structure, generally can not set width, height, alignment and other attributes, often used to control the style of the text in the page. Common inline elements are, and so on, among which the label is the most typical inline element.
Features: (important)
1. If the elements in the adjacent lines are on one line, there will be gaps in the line wrapping.
2. Height and width are invalid, but padding and margin in horizontal direction can be set, while those in vertical direction are invalid. (width and height are not supported)
3. The default width is the width of its own content
4. Inline elements can only hold text or other inline elements. (a Special)
Tips:
1. Only text can form a paragraph, so there can be no block-level elements in p. Similarly, there are these tags, h _ 2 ~ H _ 3, h _ 3, h _ 4, h _ 5, and h6, h7, DT. They are all text-type block-level tags, and no other block-level elements can be put in them.
2. There can be no more links in the links.
Html, the full name of html, is a markup language that contains a series of tags. Through these tags, you can unify the format of documents on the network and connect scattered Internet resources into a logical whole. Html text is a descriptive text composed of html commands, and html commands can explain text, graphics, animation, sounds, tables, links, etc. Mainly used with css+js to build elegant front-end web pages.
This is the end of the article on "what are the elements in the HTML line?" Thank you for reading! I believe you all have a certain understanding of "what are the elements of HTML". If you want to learn more, you are welcome to follow the industry information channel.
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.