this is the error I’m getting from my IDE:
Error: Attribute “checked” not allowed on XHTML element “a” at this point.
From line 66, column 1; to line 66, column 70
<a href="javascript:chooseStyle('none', 60)" checked="checked">Default style</a>
http://www.dynamicdrive.com/dynamicindex9/stylesheetswitcher.htm
How do I change the code to get the correct XHTML syntax?
Thanks
aelements may not have acheckedattribute. Onlyinputelements with atypeofradioorcheckboxmay. It makes no sense to give a link acheckedattribute.aelement
inputelement