首页  |  精品网站  |  原创作品秀   |  艺术设计  |  网络学院  |  信息中心  |  站内搜索  |  求职招聘  |  建站资源  |  服装网站  |  编程开发 |  设计论坛 
  平面设计 画册 VI欣赏 包装 CG-插画   酷站 个人网页 商业网站   Alexa排名 CSS 建站资源 下载专区 JS特效 品牌服装 服装院校   专题欣赏 SEO 图标欣赏
域名注册 虚拟主机 广州网站建设 广州网页设计 IDC赞助 设计资源下载 虚拟主机 域名注册 品牌网站建设 服装品牌网站建设 广告服务 网站推广 娱乐
当前位置:首 页 >> 网络学院 >> Dreamweaver ※ FrontPage >> xhtml 使用


中资源
转载请注明出处-中国设计秀-cnwebshow.com

blockquote 标签 -- 表示引用块
此标签是成对出现的,以<blockquote>开始,以</blockquote>结束
属性:
Common -- 一般属性
cite -- 被引用内容的URI
示例
<blockquote cite="http://www.aspxuexi.com/css/xhtml/">
<p>标准网页设计要区分内容与表现,学习标准网页设计.</p>
</blockquote>

具体的例子
asp学习网,www.aspxuexi.com,是一个关于asp的教程站点.


blockquote必须包含块级元素,不可单用
引文区块(Defines an long quotation):
blockquote的内容必须包含块级元素,如标题(h)、段落(p)、列表(ul/ol)和div


<blockquote>应该怎样使用?

关于语义化,不是一句两句就能说明白的,而且现在也没有一个官方的很严格的定义。关于<blockquote>没有争议的是:
1.引用一段较长的文字
2.可以使用cite标签或者属性

问题是<blockquote>引用的文字必须使用块级元素将他包含吗?

首先是来自W3C的解释

9.2.2 Quotations: The BLOCKQUOTE and Q elements

<!ELEMENT BLOCKQUOTE - - (%block;|SCRIPT)+ -- long quotation -->
<!ATTLIST BLOCKQUOTE
 %attrs; -- %coreattrs, %i18n, %events --
 cite %URI; #IMPLIED -- URI for source document or msg --
 >
<!ELEMENT Q - - (%inline;)* -- short inline quotation -->
<!ATTLIST Q
 %attrs; -- %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, 最为引用文字.
<BLOCKQUOTE cite="http://www.mycom.com/tolkien/twotowers.html">
<P>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.</P>
</BLOCKQUOTE>

http://www.456bereastreet.com/lab/developing_with_web_standards/structure/

这篇文章是应用web标准进行开发,里面提到了关于一些TAGS的语义下面摘录的是<blockquote>
For longer quotations that form one or more paragraphs, the <blockquote> element should be used. CSS can then be used to style the quotation. Note that text is not allowed directly inside a <blockquote> element – it must be contained in an element, usually a <p> element.
Example:
<blockquote cite="http://www.w3.org/TR/1999/REC-html401-19991224/
struct/text.html">
 <p>&#8220;The following sections discuss issues surrounding the structuring of text. Elements that present text (alignment elements, font elements, style sheets, etc.) are discussed elsewhere in the specification. For information about characters, please consult the section on the document character set.&#8221;</p>

<< 1 2 >>
转载请注明出处-中国设计秀-cnwebshow.com



投稿 】【对本文进行评论】 【字体: 】【发布于2007-10-22 16:18】
 认证LOGO下载
     
Copyright © 2005-2007 中国设计秀_网页设计教程_优秀网页设计欣赏_平面设计欣赏 All Right Reserved.
做最专业的设计服务网站,秀出自我,秀出精彩!中国设计秀,秀---无处不在!!
QQ:54292427  8208442 MSN:kingvisual#hotmail.com 交流群:9107036 3848215 8850631
粤ICP备05067046号 RSS