rendered paste body<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head> <meta name="Author" content="Jean-Louis Dupond - TIN 1 A1" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="keywords" content="" /> <meta name="description" content="" /> <title></title> <link rel="stylesheet" type="text/css" href="mijnstijlen.css" /> <script type="text/javascript"> <!-- function controleerEmail(mail){ var adres = mail.value; if (adres == '' || ((adres.indexOf('@',0) == -1) || (adres.indexOf('.',0) == -1))) { alert('Het ingetypte e-mail adres is verkeerd'); return false; } return true; } function controleerForm(){ var result = true; if (document.getElementById( 'voornaam' ).value == '') { result = false; } if (document.getElementById( 'achternaam' ).value == '') { result = false; } alert(result); return result; } // --> </script></head><body><div class="content"> <div id="top"> <h1>Welkom op de website</h1> <div id="icons"> <a href="index.html"><img src="home.gif" alt="home" /></a> <a href="mailto:info@dupondje.be?SUBJECT=Website"><img src="contact.gif" alt="contact" /></a> </div> </div> <div id="menu"> <ul> <li><a href="index.html">HOME</a></li> <li><a href="histo.html">HISTORIEK</a></li> <li><a href="producten.html">PRODUCTEN</a></li> <li><a href="contact.html">CONTACT</a></li> <li><a href="mezelf.html">MEZELF</a></li> </ul> </div> <div class="text"> <h2>Vragen of Opmerkingen?</h2> <p> <form method="post" action="http://www.kassenaar.com/xhtml/testform.asp"> <fieldset> <legend>Contact</legend> <label for="voornaam">Voornaam:</label> <input type="text" name="voornaam" id="voornaam" /> <br /> <label for="achternaam">Achternaam:</label> <input type="text" name="achternaam" id="achternaam" /> <br /> <label for="postcode">Postcode:</label> <input type="text" name="postcode" id="postcode" /> <br /> <label for="plaats">Plaats:</label> <input type="text" name="plaats" id="plaats" /> <br /> <label for="email">Email:</label> <input type="text" name="email" id="email" onblur="controleerEmail(this)" /> <p class="buttons"> <input type="submit" value="Verzenden" onsubmit="return controleerForm()" /> <input type="reset" value="Leegmaken" /> </p> </fieldset> </form> </div> </p> </div> </div></body></html>