diff options
| author | jerome <jerome@xlinfo.fr> | 2023-09-29 06:37:29 +0200 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2023-09-29 06:37:29 +0200 |
| commit | 0f794e1312da5f67830018ac8f19e7f7c7811a92 (patch) | |
| tree | 8903981495e11d9becd3368da6a74b35888e2899 /page.html | |
| download | http-0f794e1312da5f67830018ac8f19e7f7c7811a92.tar.gz http-0f794e1312da5f67830018ac8f19e7f7c7811a92.zip | |
commit initial
Diffstat (limited to 'page.html')
| -rw-r--r-- | page.html | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/page.html b/page.html new file mode 100644 index 0000000..1abb2c2 --- /dev/null +++ b/page.html @@ -0,0 +1,49 @@ +<!DOCTYPE html> +<html lang="fr"> + <head> + <meta charset="utf-8"> + <title>Exemple</title> + <style> + form { + border: solid black 1px; + padding: 1em; + margin:1em; + } + #titre { + color:blue; + } + .formulaire { + color: #808080; + } + </style> + </head> + <body> + <h1 id="titre">Système d'exploitation</h1> + <div> + <strong>Questionnaire</strong> + <form action="page.php" method="post"> + <p class="formulaire"> + Votre nom :<input type="text" name="nom"> + </p> + <p class="formulaire"> + Votre OS : <select name="os" maxlength=7> + <option label="------"></option> + <option>Mac Os</option> + <option>Windows</option> + </select> + </p> + <p> + <input type="submit" value="Valider"> + </p> + </form> + <p><em> + Merci + </em></p> + </div> + <script> + document.querySelector("input[type=submit]").onclick=function(){ + document.cookie="date="+Date.now()/1000 + } + </script> + </body> +</html> |
