PDA

View Full Version : html testors


rechocto
07-23-2004, 11:39 PM
on all the javascript, html, xml, and dhtml help sites they all have there own downloadable program which you can use to test your html pages, when it is as simple as...

<title>html tester</title>
<form name="tt">
<textarea name="ttl" rows="15" cols="100"></textarea><br>
<input type="button" value="test" onclick="test()">
</form>
<script>
function test() {
document.write(document.tt.ttl.value);
document.write('<br><br><center><b><i>-------------end test page------------</b></i></center><br><br><input type="button" value="back" onclick="history.go(-1)">');
}
</script>

so, is it really worth it to get one of those programs to test your scripts?

Nightfire
07-23-2004, 11:56 PM
Have no idea what you mean, but I think for a html tester it would atleast have to start by using valid html to construct it ;) besides, just test the html and css at w3's validator (http://validitor.w3.org)

The penny has just dropped :p Don't think there's any point in downloading anything to see if you've done your html right, what can be easier than hitting alt+tab to the page you wanna see and hitting f5