title 標籤寫在 head 中,且通常只能出現一次。它的內容用來表達文件的標題或名稱。
title
head
document.title = '新的頁面標題';
透過 document.title,可以在頁面執行時動態改變瀏覽器分頁或視窗標題。
document.title