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

烟雨青岚
Release: 2020-06-16 12:00:18
forward
3942 people have browsed it

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)

<标签名> 内容 </标签名>
Copy after login

For example:

<body> 我是谁?</body>
Copy after login

indicates the beginning of the tag, generally called the start tag, 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/>
Copy after login

**·**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>
Copy after login

HTML tag relationship:

1. Nested relationship:

<head>
<title> </title>
</head>
Copy after login

2. Parallel relationship

<head></head>
<body></body>
Copy after login

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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template