在所有HTML文档中,标题都是必不可少的。要定义文档的标题,请使用<title>标记。文档标题在Web浏览器工具栏上可见,搜索引擎将显示HTML页面的显示标题。
请记住,您应该在<head> ... </ head>标记内添加<title> ... </ title>标记。
您可以尝试以下代码在HTML页面中插入标题。标题将在网络浏览器工具栏上可见
<!DOCTYPE html> <html> <head> <title>HTML Title Tag</title> </head> <body> <p>The content of the documents gets added here.</p> </body> </html>