html html tag syntax
Hypertext Markup Language (foreign language abbreviation: HTML) tags are often called HTML tags. HTML tags are the most basic unit in the HTML language. HTML tags are HTML (standard universal The most important component of an application under markup language).
Function: Tell the browser that it is an HTML document.
Description: The and tags define the start and end points of the document, and between them are the head and body of the document.
Note: Even if the html element is the root element of the document, it does not contain a doctype element. The doctype element must precede the html element.
html html tag example
<html> <head> <title>我的第一个 HTML 页面</title> </head> <body> <p>body 元素的内容会显示在浏览器中。</p> <p>title 元素的内容会显示在浏览器的标题栏中。</p> </body> </html>
The above is the detailed content of what is html tag. For more information, please follow other related articles on the PHP Chinese website!