HTML title
HTML Title
Heading is defined through
- tags. defines the largest title. Defines the smallest heading.
defines the largest title. 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:
php中文网(php.cn) 这是标题 1
这是标题 2
这是标题 3
这是标题 4
这是标题 5
这是标题 6
##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: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.php中文网(php.cn) 这是标题
HTML Horizontal Line
Thetag creates a horizontal line in an HTML page. The hr element can be used to separate content.
Try it yourself Tip: Using horizontal lines (php中文网(php.cn) 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.