css quotes attribute


  Translation results:

UK [k'wəʊts] US [k'woʊts]

v. Quote; quote; cite, cite (the third person singular of quote); quote for (stocks, gold or foreign exchange)

css quotes attributesyntax

Function: Set the quote type of nested quotation.

Note: All browsers support the quotes attribute.

Note: Internet Explorer 8 (and later) supports the quotes attribute if !DOCTYPE is specified.

css quotes attributeexample

<!DOCTYPE>
<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,那么 Internet Explorer 8 (以及更高版本)支持 quotes 属性。</p>
</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance

Home

Videos

Q&A