• Skip to main content
  • Skip to search
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. 术语表
  2. Tag
  • Change language
  • View in English

Table of contents

  • 了解更多

Tag

在 HTML 中,tag用来创建一个 element。HTML 元素的名称是在尖括号中使用的名称,例如 <p> 用于段落( paragraph )。注意,结束标记的名称前面有一个斜杠字符"</p>"。在空元素中,结束标记既不需要也不允许。在任何情况下,如果没有提及 attributes ,那么将使用默认值。

了解更多

基本信息

  • 维基百科上的HTML element 
  • HTML Tags on W3

技术参考

  • Introduction to HTML

 

 

 

 

 

Found a problem with this page?

  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Apr 19, 2021, by MDN contributors

Change your language
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

Mozilla

© 2005-2021 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies