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/01 Report--
This article mainly explains "how to use the HTML tag", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "how to use the HTML tag" bar!
The full name of HTML is Hypertext markup language, which is a markup language. It includes a series of tags. Through these tags, the document format on the network can be unified, so that the scattered Internet resources are connected into a logical whole.
How to use the label: H2 title
This is a div tag.
This is a paragraph tag
"images/pic.jpg" alt= "picture" >
"images/pic.jpg" alt= "Picture" > "http://www.baidu.com"> Baidu"
"images/pic.jpg" alt= "Picture" > "http://www.baidu.com"> Baidu"
Block element tags (line elements) and inline element tags (inline elements)
The tag appears as a square on the page. In addition to displaying as squares, they are generally divided into the following two categories: block elements: they occupy a single line by default in the layout, and the elements after the block elements need to be arranged in a new line. Inline elements: elements can be arranged on a line, setting width and height is not valid, its width and height is supported by the content.
Commonly used block element tags
1. The title tag, which represents the title of the document, not only has the basic characteristics of block elements, but also contains the default margin and font size.
First-level title, second-level title, three-level title, four-level title, five-level title, six-level title
2. The paragraph tag, which represents a text paragraph in a document, not only has the basic properties of block elements, but also contains the default margin.
My name is Zhang Shan. I graduated from a university majoring in computer science and technology. I am 23 years old. I am cheerful, stable, sincere and enthusiastic. Have strong organizational skills and team spirit, good communication skills and social skills, good at dealing with all kinds of interpersonal relationships. Can quickly adapt to the environment and integrate into it. I love to study technology, love programming, and hope to realize my own value in the process of serving the enterprise.
3. The generic block container tag, which represents a piece of content in a document, has the basic characteristics of block elements and has no other default styles.
This is a div element and this is the second div element. My name is Zhang Shan. I graduated from a university majoring in computer science and technology. I am 23 years old. I am cheerful, stable, sincere and enthusiastic. Have strong organizational skills and team spirit, good communication skills and social skills, good at dealing with all kinds of interpersonal relationships. Can quickly adapt to the environment and integrate into it. Commonly used inline element tags
1. Hyperlink tag, linked to another web page, with basic features of inline elements, default text blue, underlined
"02.html" > second page "http://www.baidu.com"> Baidu" http://www.baidu.com">"images/logo.png" alt= "logo" > "#" > default link
2. General inline container tags with basic features of inline elements and no other default styles
This is a paragraph text with a special logo or style in the paragraph text.
3, picture tag, insert pictures in the web page, with the basic characteristics of inline elements, but it supports width and height settings.
"images/pic.jpg" alt= "Picture" / > other commonly used feature tags
1. Newline label
This is a line of text.
This is a line of text.
2. Html comments:
Comments can be inserted into the html documentation code. Comments are the description and interpretation of the code, and the contents of the comments are not displayed on the page. The way to insert comments in html code is:
Common html character entities
If you want to empty multiple spaces between the text, only one space will be displayed when rendering to a web page. If you want to display multiple spaces, you can use the character entity of the space. The code is as follows:
A html file is a web page. The html file is opened with an editor to display text. You can use the
Edit it as text, and if you open it with a browser, the browser will change the file according to the tag description
When rendered into a web page, the displayed web page can jump from one web page link to another.
Displaying "" on a web page can be mistaken for tags, and you want to display "" on a web page with character entities that can use them, such as:
"the character entity is-- > is a html tag thank you for reading, above is the content of" how to use the HTML tag ", after the study of this article, I believe you have a deeper understanding of how to use the HTML tag, and the specific use needs to be verified in practice. here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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