CSSはプロパティを引用します
例
引用符の引用符を指定します。
#a {
quotes: "'" "'";
}
定義と使用法
quotes
プロパティは、引用符の引用符のタイプを設定します。
デフォルト値: | 指定されていない |
---|---|
遺伝性の: | はい |
アニメート可能: | 番号。アニメート可能について読む |
バージョン: | CSS2 |
JavaScript構文: | object .style.quotes = "'\ 253' '\ 273'" |
ブラウザのサポート
表の数字は、プロパティを完全にサポートする最初のブラウザバージョンを示しています。
Property | |||||
---|---|---|---|---|---|
quotes | 11.0 | 8.0 | 1.5 | 5.1 | 4.0 |
CSS構文
quotes: none|string|initial|inherit;
プロパティ値
Value | Description | Play it |
---|---|---|
none | Specifies that the "open-quote" and "close-quote" values of the "content" property will not produce any quotation marks | |
string string string string | Specifies which 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 | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
引用符の文字
Result | Description | Entity Number |
---|---|---|
" | double quote | \0022 |
' | single quote | \0027 |
‹ | single, left angle quote | \2039 |
› | single, right angle quote | \203A |
« | double, left angle quote | \00AB |
» | double, right angle quote | \00BB |
‘ | left quote (single high-6) | \2018 |
’ | right quote (single high-9) | \2019 |
“ | left quote (double high-6) | \201C |
” | right quote (double high-9) | \201D |
„ | double quote (double low-9) | \201E |
関連ページ
HTML DOMリファレンス:引用符プロパティ