【HTML】Intermediate3:Meta Tags

时间:2021-08-17 12:27:14

1.Meta tags were the town criers of the Internet

Do anything to the content that is presented in the browser window

They are used by the likes of search enginges to catalogue information about the web page.

2.Name attribute=author,description,keywords

3.http-equiv

can be used instead of the name attribute

make an HTTP header(the information to send to the server where web pages is held)

shorthand method to define an HTML document’s character set

<meta charset="utf-8"> is the same as <meta http-equiv="content-type" content="text/html; charset=utf-8">.

content-type-what character set is being used

default-style:

refresh:

4.eg:

【HTML】Intermediate3:Meta Tags