亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

HTML title

HTML Title

Heading is defined through <h1> - <h6> tags. <h1> defines the largest title. <h6> Defines the smallest heading.

Note:

1. The browser will automatically add blank lines before and after the title.

2. Please make sure to use the HTML title tag only for the title.

Don’t use headings just to produce bold or large text.

Search engines use headers to index the structure and content of your web pages.

Because users can quickly navigate your web page through headings, it is important to use headings to present the structure of your document.

Example:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>php中文網(wǎng)(php.cn)</title>
</head>
<body>
<h1>這是標題 1</h1>
<h2>這是標題 2</h2>
<h3>這是標題 3</h3>
<h4>這是標題 4</h4>
<h5>這是標題 5</h5>
<h6>這是標題 6</h6>
</body>
</html>


##HTML Comment

Comments can be inserted into HTML code, which can improve its readability and make the code easier to understand. The browser ignores comments and does not display them.

The comment is written like this:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>php中文網(wǎng)(php.cn)</title>
</head>
<body>

<!--這是注釋。注釋不會在瀏覽器中顯示。-->
<h3>這是標題</h3>

</body>
</html>

Try it for yourself

Comment: After the opening bracket (the left bracket), an exclamation mark needs to be followed, and before the closing bracket (the right bracket) parentheses) are not required.

Tip: Proper use of comments can help with future code editing work.


HTML Horizontal Line

The <hr /> tag creates a horizontal line in an HTML page. The

hr element can be used to separate content.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>php中文網(wǎng)(php.cn)</title>
</head>
<body>

<h2>hr 是水平線</h2>
<hr>
<h3>這是標題</h3>
<hr>
<p>這是一段文字<p>
<hr>

</body>
</html>

Try it yourself

Tip: Using horizontal lines (<hr> tags) to separate sections in an article is one way (but not the only way).

Note:

If you want to see how the web page is implemented, just right-click and select "View Source" (IE) or "View page source code" (Firefox/Chrome), other browsers have similar practices. Doing so will open a window containing the HTML code for the page.


Continuing Learning
||
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文網(wǎng)(php.cn)</title> </head> <body> <!--這是注釋!注釋不會在瀏覽器中顯示。--> <h2>hr 是水平線</h2> <hr> <h3>這是標題</h3> <hr> <p>這是一段文字<p> <hr> </body> </html>
submitReset Code