Very simple HTML document

This example is a very simple HTML file, using as few HTML tags as possible. It shows you how the content in the body element is displayed by the browser.

Example analysis:

<!DOCTYPE html> declared as HTML5 document

# The

##<html> element is the root element of the HTML page.

<head> The element contains the meta (meta) data of the document, such as <meta charset=" utf-8"> defines the web page encoding format as utf-8.

<title> element describes the title of the document

<body> element contains the visible page content

<h1> The element defines a heading

<p> The element defines a paragraph

Continuing Learning
||
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>php(www.php.cn)</title>
</head>
<body>
<h1></h1>
<p></p>
</body>
</html>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
submitReset Code
图片放大关闭