summaryrefslogtreecommitdiff
path: root/page.html
blob: 83e614787cab2bb53250dc1c5403b17bf74fddf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!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">                                                                                                        
                                <p class="formulaire">                                                                                                                
                                Votre nom :<input type="text" name="username">                                                                                             
                                </p>                                                                                                                                  
								<!-- Mot de passe :<input type="password" name="password"> -->

                                <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>