小白教程
所有教程
关于
Search
172.71.254.251
172.71.254.251
参数设置
贡献
退出
操作
编辑
移动
保护
信息
历史
删除
查看“Pr gen quotes”的源代码
本页内容
上一节:
Pr_gen_counter_reset
下一节:
Css3_pr_grid_columns
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{DISPLAYTITLE:quotes}}[[Category:css reference|133]] = CSS quotes 属性 = 设置嵌套引用的引号类型: <sample title="" desc="" lang="html" hererun="1"> q:lang(en) { quotes: "�" "�" "'" "'"; } </sample> <run name=""> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en"> <head> <style type="text/css"> q:lang(en) { quotes: "~" "~" "'" "'"; } </style> </head> <body> <p><q>This is a <q>big</q> quote.</q></p> <p><b>注意:</b>当声明了!DOCTYPE 时, IE8 才支持这些属性。</p> </body> </html> </run> == 属性定义及使用说明 == quotes属性设置嵌套引用的引号类型。 {| class="table table-striped table-hover" | 默认值: | not specified |- | 继承: | yes |- | 版本: | CSS2 |- | JavaScript 语法: | object.style.quotes="none" |} == 浏览器支持 == 所有主流浏览器都支持quotes属性。 '''注意:'''IE8需要定义!DOCTYPE才支持quotes属性。 == 属性值 == {| class="table table-striped table-hover" !width="50%"| 值 !width="50%"| 描述 |- | none | 规定 "content" 属性的 "open-quote" 和 "close-quote" 的值不会产生任何引号。 |- | string string string string | 定义要使用的引号。 前两个值规定第一级引用嵌套,后两个值规定下一级引号嵌套。 |- | inherit | 规定应该从父元素继承 quotes 属性的值。 |} == 引号字符 == {| class="table table-striped table-hover" ! 效果 ! 说明 ! 实体编号 |- | " | 双引号 | " |- | ' | 单引号 | ' |- | ‹ | 单一的左尖括号 | ‹ |- | › | 单一的右尖括号 | › |- | « | 双的左尖括号 | « |- | » | 双的右尖括号 | » |- | ' | 左引号(单 high-6) | ‘ |- | ' | 右引号(单 high-9) | ’ |- | " | 左引号(双 high-6) | “ |- | " | 右引号(双 high-9) | ” |- | „ | 双引号 (双 low-9) | „ |}
返回至“
Pr gen quotes
”。
上一节:
Pr_gen_counter_reset
下一节:
Css3_pr_grid_columns