HTML header
HTML header
There will be a statement at the beginning of the code.
statement helps the browser display the web page correctly.
Statement
There are many different documents in the Web world. Only by understanding the type of document can the browser display the document correctly.
HTML also has many different versions. Only by fully understanding the exact HTML version used in the page can the browser display the HTML page completely correctly. That's what is for.
is not an HTML tag. It provides the browser with a piece of information (a statement) about what version of the HTML was written.
All the following codes are between
... . The specific contents are:1.
Title element helps users better identify files.
2.…
Display the relationship between this document and other documents: Connections to external style sheets.
rel describes the relationship between the html file and the url document, and href describes the document name.
3.
You can include style pages in the document. The internal styles of the document itself.
4.
5.
is used to contain scripts (a series of commands written in a scripting language), which can be Javascript or VbScript.
6.…
meta tag describes some basic metadata. The
tag provides metadata. Metadata is also not displayed on the page, but will be parsed by the browser.
The META element is typically used to specify a web page's description, keywords, the file's last modification time, author, and other metadata.
Metadata can be used by browsers (how to display content or reload pages), search engines (keywords), or other web services.
is generally placed in the
areatag - usage example
Define keywords for search engines:
Define description content for the web page:
Define web author:
Refresh the current page every 30 seconds:
实例:
标题测试 这个是连接哦