如何在 HTML 中新增文件標題?
使用 <title> 標籤新增文件標題。HTML <title> 標籤用於指示 HTML 文件的標題。正文標題放置在 <head> 和 </head> 標籤之間。
示例
你可以嘗試執行以下程式碼來了解如何在 HTML 中新增文件標題 −
<!DOCTYPE html> <html> <head> <title>Title comes here</title> </head> <body> <p>title tag is used for indicating the title of the HTML document. HTML document title is visible via browser’s title bar.</p> </body> </html>
Advertisement
資料結構
網路
RDBMS
作業系統
Java
iOS
HTML
CSS
Android
Python
C 程式設計
C++
C#
MongoDB
MySQL
Javascript
PHP