In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly shows you the "basic knowledge of HTML tags", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "what are the basics of HTML tags" this article.
Common elements
HTML:HTML represents the hypertext tag language, while in the code he mainly tells the browser that it is a HTML document. When the HTML tag appears, it indicates that the web page is coming, so quickly parse and show it.
The theme part of the whole document body defined by Body:body is also the visible area of the user after parsing through the browser. There can be only one body representation in a HTML file.
Commonly used block-level elements
P: that is, paragraph, represents a paragraph of text, which is usually represented as a block of text in visual media.
Div: division, which itself does not represent any content, and the main user tag area divides the document into different parts.
Br:br is an empty tag that indicates a line break. He is often useless to do p, we later need to introduce the difference between him and p, and talk about his relationship with the closed float.
H2--h7: level 1 title to level 6 title. The text in the title tag has a fixed format and size. But it is limited to the title of the text. The content of the text is not recommended. In addition, we need to know the margin, padding, font-size of each h in each browser.
Ul ol li: is the tag associated with the list. Li defines list items. Ol represents an ordered list and ul represents an unordered list.
Dl dt dd: this list can be used if the definition list is equivalent to the interpretation of words in a dictionary.
Hr: indicates the end of the body, not exactly a horizontal line
Commonly used in-line elements
A:anchor, the most important attribute in the link (anchor) tag is the href attribute. Used to create a link to execute another document.
Span: a non-semantic inline element that groups elements so that they are displayed in different styles.
Em strong: content emphasis, em (emphasize) is for emphasis, and strong is used for emphasis.
B:bold represents a bold presentation of the text, with no emphasis.
I:italic is simple italics.
U:underline, simply underline.
Select option:select creates drop-down menus that can be selected single or multiple. Where potion defines the options available in the list.
The above is all the content of this article "what are the basics of HTML tags?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, 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.