"; usually appear in pairs."/> "; usually appear in pairs.">

Home  >  Article  >  Web Front-end  >  what is html tag

what is html tag

青灯夜游
青灯夜游Original
2021-03-29 11:12:498735browse

HTML tag refers to the markup tag of Hypertext Markup Language. HTML tag is the most basic unit in HTML language. HTML tag is the most important component of HTML. Characteristics of HTML tags: keywords surrounded by angle brackets, such as ""; usually appear in pairs.

what is html tag

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.

The case of HTML tags is irrelevant. For example, "body" and have the same meaning. It is recommended to use lowercase.

[Recommended tutorial: "html video tutorial"]

Features:

  • Keywords surrounded by angle brackets, such as

  • usually appear in pairs, such as

    and

  • The first tag in the tag pair is the opening tag, and the second tag is the closing tag;

  • Opening and closing tags are also known as opening tags and closing tags.

  • There are also tags presented separately, such as: , etc.

  • Tags that generally appear in pairs have their content in the middle of the two tags. If the label is presented separately, the value is assigned in the label attribute. Such as

    title

    and .

  • The content of the web page must be in the tag, and the title, character format, language, compatibility, keywords, description and other information are displayed in tag, and the content to be displayed on the web page needs to be nested in the tag. Sometimes code written in non-standard formats can be displayed normally, but as a professional quality, formal writing habits should be developed.

For more programming-related knowledge, please visit: Programming Video! !

The above is the detailed content of what is html tag. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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