在 HTML 中包含文档信息
htmlfront end technologyweb development更新于 2026/1/16 1:16:17
使用 <head> 标签包含文档信息。HTML <head> 标签用于指示 HTML 文档的头部。head 标签内的标签不会显示在浏览器窗口中。
示例
您可以尝试运行以下代码,在 HTML 中包含文档信息 −
<!DOCTYPE html> <html> <head> <title>HTML head Tag</title> </head> <body> This is demo text. </body> </html>
相关文章
有用资源
html 参考教程 - 该教程包含有关 html 的更多信息:https://www.cainiaomax.com/html/

