HTML is a markup language used to create web pages, and it is composed of many elements. These elements can help us create a variety of content in web pages. In this article, we'll cover some common elements in HTML. The
- element
element is the outermost element in an HTML file. It contains the entire HTML document.
- Element
The element contains all the header information, such as the title of the web page, keywords and other metadata.
- Element
element defines the title of the web page. It usually appears on a browser tab and also appears in search engine results.
- Element
The element contains all web content, such as text, pictures, videos, etc. The
- element
- element is used to define the title of the web page. They are in descending order of size, with being the largest heading and being the smallest heading. The
element
element is used to define paragraphs. Within the
element, text is automatically broken to make it easier to read.
- Elements The
element is used to create links. You can point a link to another web page, file, or anchor.
- element
element is used to insert pictures. It contains the path to the image and some additional properties such as width and height. The
and - elements are used to create an unordered list. Within the
element, each list item is defined using the - element. The
and - elements
and - elements are used to create ordered lists. Within the
element, each list item is defined using the - element.
, , , and |
elements
The , , , and |
elements are used to create tables. In the element, each row is defined using a element, each column requires a element to define the header, and each cell is defined using a |
element.
12. |
|
|
The above is the detailed content of What elements are there in html. For more information, please follow other related articles on the PHP Chinese website!