1 - Mettre le focus sur un élément au chargement de la page
body onload="document.getElementById('nom').focus()">
<label for="nom">Nom : </label>
<input type="text" name="nom" id="nom" />
</body>
body onload="document.getElementById('nom').focus()">
<label for="nom">Nom : </label>
<input type="text" name="nom" id="nom" />
</body>