Home  >  Article  >  Web Front-end  >  What are the elements of html

What are the elements of html

藏色散人
藏色散人Original
2021-04-29 15:17:276596browse

The element of

html refers to all the code from the start tag to the end tag, which is the basic object that constitutes the HTML file; HTML elements are defined by using HTML tags.

What are the elements of html

The operating environment of this article: Windows7 system, HTML5&&CSS3 version, Dell G3 computer.

HTML elements refer to all code from the start tag to the end tag. Therefore, it can also be said that HTML elements are the basic objects that constitute HTML files, and HTML elements are equivalent to a general term. HTML elements are defined using HTML tags.

What are the elements of htmlNote: The start tag is often called the opening tag (opening tag), and the end tag is often called the closing tag (closing tag).

HTML element syntax

  • HTML element starts with a start tag

  • HTML element ends with Tag termination

  • The content of the element is the content between the start tag and the end tag

  • Some HTML elements have empty content

  • Empty elements are closed in the opening tag (end with the end of the opening tag)

  • Most HTML elements can have attributes

For more detailed HTML/CSS knowledge, please visit the html video tutorial column!

The above is the detailed content of What are the elements of html. 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
Previous article:What are html attributesNext article:What are html attributes