- For an example, about these lines:
<div class='menuBar'> <a class='menuButton' href='http://cluelessbloggerhours.blogspot.com' onmouseover='linkButtonMouseover( event);'>Home</a> <span class='menuButton' href='' onclick='return buttonClick(event,"tocMenu");' onmouseover='buttonMouseover(event,"tocMenu");'>Table of Conents</span> <span class='menuButton' href='' onclick='return buttonClick(event,"labelMenu");' onmouseover='buttonMouseover(event,"labelMenu");'>Label</span> </div>
After saving, those become like below. Check span tag statements.
<div class="menuBar"> <a onmouseover="linkButtonMouseover( event);" class="menuButton" href="http://cluelessbloggerhours.blogspot.com">Home</a> <span ); tocmenu onmouseover="buttonMouseover(event," class="menuButton" href="" onclick="return buttonClick(event,">Table of Conents</span> <span ); onmouseover="buttonMouseover(event," class="menuButton" href="" labelmenu onclick="return buttonClick(event,">Label</span> </div>
- Use double quotation, instead of single quotation, to enclose clause of attribute value.
- If it's JavaScript, then always put your JavaScript codes between HTML comment tags:
<script type="text/javascript"> <!-- Your JavaScript codes here //--> </script>
No comments:
Post a Comment