CSS Quotes Property

In this chapter you will learn:
About quotes property
Values of this property
Example of quotes property

CSS quotes property is used to specify the quotation marks for the content of an element. All major browsers (opera, chrome, IE etc) support this property.

Values of this property
Values Description
none No quotation
string string string string Specify two level of quotation in which first two values are used for level 1 and next two values for next level.
initial Used to specify the default value

Example of quotes property

<html>
<head>
    <title>Example of quotes property</title>
    <style type="text/css">
        q
        {
            quotes:"<<" ">>";
        }
    </style>
    </head>
<body>
<div><q> This is the example of quotes property of css.</q></div>
</body>
</html>

Output:-
example of quotes property
SUMMARY

In this chapter, you have learned about quotes property of CSS so now try to use this property in your program and click on Next button to continue-

 

Share your thought