Is there a way to customize the text in the writeText tag using Javascript? I want to display the words Eyes and Blue on separate lines, with one of them in a larger font size than the other. How can I style them individually?
<head>
<script>
function writeText(txt) {
document.getElementById("test").innerHTML = txt;
}
</script>
</head>
<body>
<img src ="test.png" alt="Jacket" usemap="#test" />
<p id="test"></p>
<map name="test">
<area shape="poly" coords="174,361,149,350"href=#; title="FInd" alt="Find" onmouseover="writeText('Eyes Blue')" onmouseout="writeText('')"/>
Thank you for your help!