Home  >  Article  >  Web Front-end  >  About the usage and definition of tag in html

About the usage and definition of tag in html

黄舟
黄舟Original
2017-06-19 14:02:052993browse

html作为网页最基础的语言是每一个站长必学的语言,今天我们就来了解字体文本标签 acronym /acronym标签的用法及其acronym /acronym标签语义

标签定义首字母缩写词,比如 "NASA"。通过对只取首字母缩写进行标记,您就能够为浏览器、拼写检查程序、翻译系统以及搜索引擎分度器提供有用的信息。 标签是成对出现的,以开始,以结束。

  标签用法详解

    有的时候为了方便传阅或者记忆,比如一句话太长,我们就会将其缩短些。或简单的缩句,或进行特殊的减短,如取首字母。在HTML如何来标识这些缩略词呢?一般我们会使用到2个标签,一个是acronym,另一个是abbr。

  其中,acronym被定义为首字母缩写词,abbr定义一个缩写内容。

  目前的一些较为高级的浏览器,如FF,OP,都会对2个标签的内容进行特殊的显示,会自行加上虚线。

  缩写是为了我们能方便的记忆和传阅,但这却对我们理解内容比较不利。所以通常在使用这2个标签时,我们还需要结合标签属性title,用以详细说明被

下面我们使用具体事例介绍:

首字母缩写: 

WWW
CSS

  普通的缩写形式:

etc.
中国

比如:中国在2001年加入了WTO世界贸易组织





字体文本标签讲解<acronym></acronym>标签



字体文本标签讲解标签

字体标签定义字体的显示效果,有些标签它有独自的语义。

标签

感谢您对百度经验的支持

语义:定义英语词组的缩写文本。

通常与tittle配合使用起到显示词组的全部名称。

如:中国在2001年加入了WTO世界贸易组织

浏览器显示状态

About the usage and definition of <acronym> tag in html

注意:HTML5 不支持  标签。请使用  标签代替它。

The above is the detailed content of About the usage and definition of tag in html. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn