当前位置: 首页 > 网络学院 > 网页制作基础教程 > CSS > CSS quotes属性
The quotes property sets the type of quotation marks for embedded quotations.
quotes 属性可设置嵌套标记类型
Inherited: Yes
继承性:有
实例 1q:lang(en) the style above and the following HTML file: 实例 2q:lang(no) the style above and the following HTML file: would produce this output: «Vi synger 'Mellom bakkar og berg' på 17.mai.» |
值 | 描述 | NN | IE |
---|---|---|---|
none | The "open-quote" and "close-quote" values of the "content" property will not produce any quotation marks content 属性的 open-quote 和 close-quote 值将不会生成任何嵌套标记 | ||
string string string string | Defines the quotation marks to use. The first two values specifies the first level of quotation embedding, the next two values specifies the next level of quote embedding, etc 用引号括起的嵌套标记定义。两个为一组。 |
结果 | 描述 | 实体数 |
---|---|---|
" | double quote 双引号 | " |
' | single quote 单引号 | ' |
‹ | single, left angle quote | ‹ |
› | single, right angle quote | › |
« | double, left angle quote | « |
» | double, right angle quote | » |
‘ | left quote (single high-6) | ‘ |
’ | right quote (single high-9) | ’ |
“ | left quote (double high-6) | “ |
” | right quote (double high-9) | ” |
„ | double quote (double low-9) | „ |