Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand the html tag

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "how to understand the html tag". Many people will encounter such a dilemma in the operation of the actual case, 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!

Label

There are many different tags in a common html page, so let's take a look at

First, the html page tag is to put meaningful words in angle brackets ending with "" (system, program, browser default word), for example, this is the div tag.

Second, web tags do not name themselves casually, such as

, and so on are meaningful and supported by the browser. You can't take it for granted that you put a word letter in angle brackets as a tag. Even if you use your own named tag as a tag, the browser will not explain and the web page will not be displayed.

Third, understand the common labels and their meaning.

This is a pair of hypertext start and end tags.

Is a pair of header declaration tags, such as title tags, JS links, and CSS links, which are all placed within this pair of tags

Is the title tag, the content of this tag is displayed in the top left corner of the browser, the title will not be displayed in the content, and it is unique in a web page (used once and put in the head tag)

Is a certain content tag, that is, the content to be displayed is put into this tag.

The div tag is also what div css calls the div tag.

It's a pair of paragraph tags.

Line break label-p differs from br

The font declares the label within which you can set the CSS style of the text

This tag is similar to the div tag

And both bold tags mean that font-weight is equivalent to css text in css style.

Ex.: I am div+css, so "I am css div" is bold.

Table, tr, td to a set of table tags

This is the end of the content of "how to understand html tags". 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: 261

*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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report