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

What are the commonly used tags in HTML and how to use them?

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

Today, I would like to share with you what HTML tags are commonly used and how to use the relevant knowledge points, detailed content, clear logic, I believe that most people still know too much about this knowledge, so share this article for your reference, I hope you can get something after reading this article, let's take a look at it.

browser

The browser is also a client.

# this is a server, and we can access the "hello" import socketsk = socket.socket () sk.bind ('127.0.0.1) sk.bind ((' 127.0.0.1) sk.bind)) sk.listen (5) while True: conn,addr = sk.accept () data = conn.recv (1024) conn.send (b "HTTP/1.1 200 ok\ r\ n\ r\ n\ n") sent by the server through the browser Otherwise, the browser does not recognize conn.send (b "hello") conn.close ()

The browser can render text without going through the server.

HTML, what is HTML?

HTML, whose full name is HyperText Markup Language, is a descriptive markup language.

Hypertext: audio, video, pictures

Tags: called tags, an HTML page is made up of various tags.

The role of HTML

The language responsible for describing document semantics

Write the specification of HTML

1) all markup elements should be correctly nested, not cross-nested. Eg:

2) all tags must be lowercase

3) all tags must be turned off

Double label:

Single label:

4) all attribute values must be in quotation marks. Eg:

5) all attributes must have values: home page

HTML structure

Create a new HTML file with pycharm, and the file will automatically generate a HTML template of the following code

Title HTML commonly used tags head commonly used tags basic tag meaning definition page title definition internal style sheet definition JS code or introduction of external JS file external style sheet file definition page original information meta tag

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.

Share To

Development

Wechat

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

12
Report