freeCodeCamp/guide/chinese/miscellaneous/html-elements/index.md

15 lines
505 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: HTML Elements
localeTitle: HTML元素
---
大多数HTML元素都有一个开始标记和一个结束标记。
打开标签如下所示: `<h1>`和Closing标签如下所示 `</h1>`
请注意,打开和关闭标记之间的唯一区别是结束标记在其打开尖括号后面有一个斜杠。
还有一些HTML元素是自动关闭的。
例如,图像标签`<img />`和输入标签`<input />` 。
[试试吧!](http://www.freecodecamp.com/challenges/say-hello-to-html-elements)