文檔的標題。
Contains the title of the document.
TITLE 元素僅可在 HEAD 元素內使用。位于 TITLE 開(kāi)閉標簽之內的文本都會(huì )在瀏覽器的標題欄和 Microsoft Windows 的任務(wù)欄上顯示。對于 Web 頁(yè),“Internet Explorer”會(huì )被自動(dòng)追加到標題后。而在 HTML 應用程序(HTA)中,僅會(huì )顯示指定的標題。
要使用腳本在程序中設置標題,請使用 document.title 而不是設置 title 對象的 innerHTML 屬性。
此元素在 Internet Explorer 3.0 及以上版本的 HTML 中可用,在 Internet Explorer 4.0 及以上版本的腳本中可用。
此元素是塊元素。
此元素需要關(guān)閉標簽。
The TITLE element can be used only within the HEAD element. Any text between the opening and closing TITLE tags displays in the browser title bar and in the Microsoft Windows taskbar. In Web pages, "Internet Explorer" is appended to the title. In an HTML Application (HTA), by contrast, only the specified title appears.
To set the title programmatically using script, use document.title instead of setting the innerHTML property of the title object. For more information, see Q296113: Script Fails to Change the Document Title of a Web Page.
This element is available in HTML as of Internet Explorer 3.0, and in script as of Internet Explorer 4.0.
This element is a block element.
This element requires a closing tag.
<HEAD>
<TITLE>歡迎來(lái)到布啦布啦網(wǎng)站!</TITLE>
</HEAD>
聯(lián)系客服