最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
blockquote标签应该怎样使用?
时间:2022-07-02 13:17:26 编辑:袖梨 来源:一聚教程网
关于语义化,不是一句两句就能说明白的,而且现在也没有一个官方的很严格的定义。关于
没有争议的是:1.引用一段较长的文字
2.可以使用cite标签或者属性
问题是
引用的文字必须使用块级元素将他包含吗?首先是来自W3C的解释
9.2.2 Quotations: The BLOCKQUOTE and Q elements -- %coreattrs, %i18n, %events -- cite
%URI;
#IMPLIED -- URI for source document or msg -- > -- short inline quotation --> -- %coreattrs, %i18n, %events -- cite
%URI;
#IMPLIED -- URI for source document or msg -- >这两个便签指名包含的内容为引用文字. BLOCKQUOTE 用于长文字的引用(block-level content) 而 Q 用于短文字的引用(inline content) 且不允许引用的句子不完整。
这个例子的文字来自 "The Two Towers", 作者 J.R.R. Tolkien, 最为引用文字.
They went in single file, running like hounds on a strong scent,and an eager light was in their eyes. Nearly due west the broad swath of the marching Orcs tramped its ugly slot; the sweet grass of Rohan had been bruised and blackened as they passed.
http://www.456ber**eastre*et.com/lab/developing_with_web_standards/structure/这篇文章是应用web标准进行开发,里面提到了关于一些TAGS的语义下面摘录的是
For longer quotations that form one or more paragraphs, the
element should be used. CSS can then be used to style the quotation. Note that text is not allowed directly inside aelement
相关文章
- 逆战未来枪械大全 逆战未来枪械稀有度等级与获取方式详解 07-19
- 逆战未来新手攻略 逆战未来萌新入门避坑指南 07-19
- "无醇啤酒"是完全不含酒精吗 蚂蚁庄园1月17日答案早知道 07-19
- "太常寺"是古代掌管什么事务的机构 蚂蚁新村1月16日答案 07-19
- 四川名菜"开水白菜"就是用开水炖白菜吗 蚂蚁庄园1月17日答案早知道 07-19
- 蚂蚁新村今天正确答案1.16 07-19