Home>Article>Web Front-end> What are the common single and double tags in html5

What are the common single and double tags in html5

青灯夜游
青灯夜游 Original
2022-05-30 16:06:00 16955browse

html5 Common single tags: 1. br, defines line breaks; 2. hr, defines horizontal lines; 3. img, defines images; 4. input, defines input boxes, etc. Common double tags: 1. html, defines the HTML document; 2. head, defines the document header; 3. p; 4. span; 5. div; 6. h1, etc.

What are the common single and double tags in html5

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

HTML tags are divided into double tags and single tags. Single tags are composed of one tag (such as
), and double tags are composed of two parts: a "start tag" and an "end tag".

  • Single tags are also called empty tags, because they are HTML tag elements without content. They are elements that are closed in the start tag, and there is no pairing.

html5 common odd and even tags

(define document title), ##Double tag (define HTML document),(define document header),,
Tag category Common Tag
Single tag
  • ##
    (define newline character)


  • (Define horizontal line)

  • (Define image)

  • (Define input box)

  • ## (Provides metadata for HTML documents)
  • (Define the relationship between documents and external resources, often used to link style sheets)
;, ,

,

,

,

,

,

,

,
, ;,