当前位置: 首页 > 网络学院 > 网页制作基础教程 > HTML > HTML <q>标签

HTML
HTML Head
HTML Meta
HTML URLs
HTML Scripts
HTML 属性
HTML 事件
HTML URL-encode
HTML Web服务器
HTML 摘要
HTML 实例
标签列表
标准属性
事件属性
ASCII码
特殊字符
HTTP状态消息

HTML <q>标签


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 380 ::
收藏到网摘: n/a

定义与用法

The <q> tag defines the start of a short quotation.
<q>标签可用来定义短篇引用的开始


在HTML和XHTML中的区别

NONE


提示与注意点

Note: The q element does not render as anything special, you have to use styles to format the text.
注意:q元素没什么特殊的表现形式,你必须使用样式来格式化


实例

代码 输出结果
Here comes a short quotation: <q>here is a short quotation here is a short quotation</q> Here comes a short quotation: here is a short quotation here is a short quotation


可选属性

DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
下表中的DTD列指明了被支持的DTD属性。S=Strict(精确的),T=Transitional(传统的),F=Frameset(框架)

属性 描述 DTD
cite citation Defines a citation for the quotation
定义引用的引证
STF

标准属性

id, class, title, style, dir, lang, xml:lang

For a full description, go to Standard Attributes.
查看完整的属性

事件属性

onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup

For a full description, go to Event Attributes.
查看完整的属性


尝试与演示

Quotations
How to handle long and short quotations.
怎样处理长篇与短篇的引用

评论 (0) All

登陆 | 还没注册?