html title tag


  Translation results:

英[ˈtaɪtl]   美[ˈtaɪtl]  

n. Title; Title; [Sports] Champion; [Film and Television] Subtitles

vt. Add a title; give a title; call...

adj. Title; champion; title

Third person singular: titles Plural: titles Present participle: titling Past tense: titled Past participle: titled

html title tagsyntax

Function: Can define the title of the document.

Note: Browsers use titles in a special way, and usually place them on the title bar or status bar of the browser window. Likewise, when a document is added to a user's links list or favorites or bookmarks list, the title becomes the default name for the link to the document.

Note: The<title> tag is the only thing required to be included in the <head> tag.

html title tagexample

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>php中文网</title>
</head>
<body>
<p>body 元素的内容会显示在浏览器中。</p>
<p>title 元素的内容会显示在浏览器的标题栏中。</p>
</body>
</html>

Run Instance»

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

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>程序员词典</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