Javascript examples for CSS Style Property:quotes
Return the quotes property:
<!DOCTYPE html> <html> <body> <p><q id="myQ" style="quotes:'\00ab' '\00bb';">This is a quote.</q></p> <button type="button" onclick="myFunction()">Return quotation marks</button> <script> function myFunction() {/*from ww w . ja va2s. co m*/ console.log(document.getElementById("myQ").style.quotes); } </script> </body> </html>