From a, 6 Years ago, written in HTML5.
Embed
  1. <!DOCTYPE html>
  2. <!--
  3. aryx, 2018
  4. GAMF, Web I | ZH II.
  5. -->
  6.     <head>
  7.         <title>Regisztráció</title>
  8.         <meta charset="UTF-8">
  9.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  10.         <link rel="stylesheet" href="regisztracio.css" />
  11.     </head>
  12.     <body>
  13.        
  14.         <h1>Regisztráció</h1>
  15.        
  16.         <form onsubmit="return ellenoriz()" method="post" action="regisztracio.php">
  17.             <div class="form-field">
  18.                 <!-- itt személy szerint a HTML5 email typeot használnám,
  19.                     de akkor meg lenne oldva egyből a validálás :) -->
  20.                 <label>E-mail (kötelező)</label>
  21.                 <input type="text" name="email" id="email">
  22.             </div>
  23.  
  24.             <div class="form-field">
  25.                 <label>Jelszó (minimum 8 char)</label>
  26.                 <input type="password" name="password" id="password">
  27.             </div>
  28.  
  29.             <div class="form-field">
  30.                 <label>Név (minimum 10 char)</label>
  31.                 <input type="text" name="name" id="name">
  32.             </div>
  33.            
  34.             <div class="form-field">
  35.                 <label>Kor (18-120)</label>
  36.                 <input type="text" name="age" id="age">
  37.             </div>
  38.  
  39.             <div class="form-field">
  40.                 <label></label>
  41.                 <input type="submit" value="Küld" id="submit">
  42.             </div>
  43.         </form>
  44.        
  45.        
  46.         <script type="text/javascript" src="regisztracio.js"></script>
  47.     </body>
  48. </html>
  49.