<!DOCTYPE html>function displayResult(){document.getElementById("q1").style.quotes="'<' '>' '[start]' '[end]'";}id="q1"This is a quoted element in another quoted element.type="button" onclick="displayResult()"Change quotation marksNote: This example does not work in IE and Safari.