Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!

An HTML entity is a string that begins with '&' and ends with ';'. Entities can be used to represent any character in HTML.

However, HTML reserves the following four characters. Browsers interpret these characters instead of rendering them in the output. To display these characters in your content, use the entity.

Character Entity Note
& & Character indicates the beginning of an entity.
< &lt; Character indicates the beginning of a tag
> &gt; Character indicates the ending of a tag
" &quot; Character indicates the beginning and end of an attribute value.

Learn more

Technical reference

文档标签和贡献者

 此页面的贡献者: Colptha, rolfedh, PushpitaPikuDey, wblock, Jeremie, klez, Andrew_Pfeiffer
 最后编辑者: Colptha,