Home >Web Front-end >HTML Tutorial >Essential knowledge points for beginners to get started with HTML

Essential knowledge points for beginners to get started with HTML

烟雨青岚
烟雨青岚forward
2020-06-16 11:59:233940browse

Essential knowledge points for beginners to get started with HTML

htmlMust-learn knowledge points for beginners

First introduction to HTML

1.HTML refers to Hyper Text Markup Language, which is a language used to describe web pages

2. It is not a programming language, but a markup language

3. Markup language is a set of markup tags

The function of html is simple to understand: a webpage is composed of webpage elements. These elements are described using html tags and then parsed by the browser. displayed to the user.

Hypertext understanding: 1. It can add pictures, sounds, animations, multimedia and other content (beyond text limitations) 2. It can also go from one file to another and connect to files on hosts around the world (Hyperlink text)

HTML element tag classification:

Regular elements (double tags)

<标签名> 内容 </标签名>

For example:

<body> 我是谁?</body>

①1489d7a824a6a327ea356625ebbfd251 indicates the beginning of the tag, generally called the start tag, 313ec86217575972f09783f4ac3a87d2 indicates the end of the tag, generally called the end tag )

②Compared with the start tag, the end tag just adds a closing character "/" in front.

Empty element (single tag)

<标签名/>  比如 <br/>

**·**Empty elements are represented by a single tag. Simply put, it does not need to contain content. There is only one start tag that does not need to be closed.

html skeleton tag

<html> //HTML标签,根标签
    <head> //文档的头部,head标签中必须要设置的标签是title
        <title> </title> //文档标题
    </head>
    <body> //文档主体
    </body>
</html>

HTML tag relationship:

1. Nested relationship:

<head>
<title> </title>
</head>

2. Parallel relationship

<head></head>
<body></body>

Thank you everyone for reading, I hope you will benefit a lot.

This article is reproduced from: https://blog.csdn.net/ClimberSky/article/details/106171337

Recommended tutorial: "HTML Tutorial"

The above is the detailed content of Essential knowledge points for beginners to get started with HTML. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete