as I’m using Cufon’s on my website, but also want to make it look good with JavaScript disabled, I decided to use
<script type='text/javascript'>
document.write("<h1 class='naam'><a class='naam' href='mysite.nl'>MyName</a></h1>");
</script>
<noscript>
<h1 class='other_mockup'><a class='naam' href='mysite.nl'>MyName</a></h1>
</noscript>
This works fine. However, when I validate it, I get this error:
document type does not allow element “h1” here
What to do to fix this? 🙁
Was looking through my old question and saw that this one still wasn’t solved.
If you want to do the same, use @fontface ( CSS ).
To use it, go to this website. It is really easy to install and works better than Cufon’s.