HTML basic tutorial tag format

HTML tags are divided into two categories

1. Bilateral tags

Bilateral tags refer to the beginning and Closing tag, the content is placed between the opening and closing tags. For example: Content

Syntax format: Content

Popular understanding of "property": a thing always has some characteristics, weight, volume, etc. This is the "property" of a thing

Let's take a look at the example and observe the tag

    php.cn 

欢迎加入php.cn

看看我有什么特别的

2. Unilateral tags

Unilateral tags only have a start tag but no end tag. Unilateral tags generally have no content. For example:

    php.cn 

欢迎加入php.cn




再看看我有什么特别的


再看看我有什么特别的

Unilateral tags generally serve a special function.

There are more than 10 commonly used unilateral tags.

Syntax format:


Continuing Learning
||
php.cn

欢迎加入php.cn

看看我有什么特别的
submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!