quotes From CSS3 previous page next page CSS3参考手册 » 属性列表 » 内容属性 » 相关内容: 其它内容属性 选择其它项 quotes 版本:CSS2 继承性:有 语法: quotes:none | [<string> <string>]+ 默认值:none 适用于:所有元素,::before, ::after, ::alternate, ::marker, ::line-marker, margin areas, @footnote areas, and @page context 继承性:有 取值: none: content属性的open-quote和close-quote值将不会生成任何标记 <string>: 定义content属性的open-quote和close-quote值的标记,2个为一组 说明: 设置或检索对象内使用的嵌套标记。 对应的脚本特性为quotes。 兼容性: = 支持 = 不支持 = 部分支持 支持版本\类型 版本 6-7 4 5.1.7 13 11.5 版本 8 示例: <!DOCTYPE html> <html lang="zh-cn"> <head> <title>quotes_CSS参考手册_web前端开发参考手册系列</title> <meta name="author" content="Joy Du(飘零雾雨), dooyoe@gmail.com, www.doyoe.com"> <style> q:lang(en){quotes:'[' ']' "<" ">";} q:lang(zh-cn){quotes:"«" "»" '"' '"';} </style> </head> <body> <p lang="en"><q>Quote me <q>Quote me</q> Quote me!</q></p> <p lang="zh-cn"><q>Quote me <q>Quote me</q> Quote me!</q></p> </body> </html> previous page start next page