html head tag


  Translation results:

英[hed] 美[hɛd]

n.Head; head; upper end; head, head

vt. With the head of the head; to move forward; as the leader of...; to stand... the front

vi. March towards; set off; move in the direction of; the ship sails towards

adj. the head; in the front; first and foremost; at the top

Third person singular: heads Plural: heads Present participle: heading Past tense: headed Past participle: headed

html head tagsyntax

Function: is used to define the head of the document, which is a container for all head elements.

Description: Elements in <head> can reference scripts, instruct the browser where to find style sheets, provide meta information, and more. The header of the document describes various attributes and information of the document, including the document's title, location on the Web, and relationship with other documents. The data contained in the header of most documents will not actually be displayed to readers as content.

Note: The following tags can be used in the head section: <base>, <link>, <meta>, <script>, <style>, and < title>.

html head tagexample

<html>

<head>
<title>我的第一个 HTML 页面</title>
</head>

<body>
<p>body 元素的内容会显示在浏览器中。</p>
<p>title 元素的内容会显示在浏览器的标题栏中。</p>
</body>

</html>

Run instance »

Click the "Run instance" button to view the online instance

Popular Recommendations

Home

Videos

Q&A