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
||
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(m.sbmmt.com)</title> </head> <body> <h1>我的第一个标题</h1> <p>我的第一个段落。</p> </body> </html>
submitReset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!