Tryit Editor v1.8

Source Code:
<!DOCTYPE html> <html> <head> <script> function displayResult() { document.getElementById("q1").style.quotes="'<' '>' '[start]' '[end]'"; } </script> </head> <body> <q id="q1">This is a <q>quoted element</q> in another quoted element.</q> <br> <button type="button" onclick="displayResult()">Change quotation marks</button> <p><b>Note:</b> This example does not work in IE and Safari.</p> </body> </html>
Result:
W3Schools.com - Try it yourself