content"; common double tags include html, head, body, body , body, div, p. 2. Single tag refers to a tag that can completely describe a certain function with one tag symbol. The syntax is ""; common single tags include br, hr, img, input, link, and meta."> What two types of tags does HTML5 contain?-Front-end Q&A-php.cn

What two types of tags does HTML5 contain?

青灯夜游
Release: 2022-07-29 17:03:23
Original
8434 people have browsed it

Two types of tags in HTML5: 1. Double tags refer to tags composed of two tag symbols: start and end. The syntax is " content "; common Double tags include html, head, body, body, body, div, and p. 2. Single tag refers to a tag that can completely describe a certain function with one tag symbol. The syntax is " "; common single tags include br, hr, img, input, link, and meta.

What two types of tags does HTML5 contain?

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

Hypertext Markup Language (foreign language abbreviation: HTML) markup tags are often called HTML tags. HTML tags are the most basic unit in the HTML language. HTML tags are HTML (an application under the Standard Universal Markup Language) The most important component.

HTML tags are keywords surrounded by angle brackets, such as.

According to the composition characteristics of tags, HTML tags are usually divided into two categories, namely "double tags" and "single tags". Their specific introduction is as follows.

1. Double tags

Double tags are also called "body tags", which are composed of two tag symbols: start and end. tags (opening and closing tags are also called opening and closing tags). The basic syntax format of double tags is as follows. ,

<标签名>内容
Copy after login

For example, and,andin the previous document structure are all double tags.

html5Common double tags

(define document title), ;, ,
> ##Tag category Common tags Double tags (define HTML document),(define document header),,
,,

,

,

,

,

,

,

;,
, ,
>