hercioneto

PW1 2019 - formularios.html

Sep 3rd, 2019
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.69 KB | None | 0 0
  1. <!-- formularios.html -->
  2. <html>
  3.     <head>
  4.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5.             <title>
  6.                 Aula 5 Formulários - Programação Web 1 - Análise e Desenvolvimento de Sistemas
  7.             </title>
  8.             <style type="text/css">
  9.             div { border: 1px solid #000000; }
  10.             label { text-transform: uppercase;
  11.                 margin-right: 10px;
  12.                 width: 140px;
  13.                 text-align: right;
  14.                 display: block;
  15.                 float: left;
  16.                   }
  17.             .campos { padding: 10px; }
  18.             input, textarea, select, option { background-color: #999;
  19.             color: #fff; }     
  20.             #meuform {
  21.                 border: none;
  22.             }
  23.             </style>
  24.     </head>
  25.         <body>
  26.             <h1>Contato</h1>
  27.             <h3>Preencha o formulário</h3>
  28.             <div id="meuform">
  29.                 <form action="#" name="formulario" id="form">
  30.                     <div class="campos"><label for="nome">Nome: </label>
  31.                         <input type="text" name="nome" id="nome">
  32.                     </div>
  33.                     <div class="campos"><label for="mail">Email: </label>
  34.                         <input type="text" name="email" id="mail">
  35.                     </div>
  36.                     <div class="campos"><label for="senha">Senha: </label>
  37.                         <input type="password" name="senha" id="senha">
  38.                     </div>
  39.                     <div class="campos"><label for="idade">Idade: </label>
  40.                         <input type="text" name="idade" id="idade" maxlength="2" size="4">
  41.                     </div>
  42.                     <div class="campos"><label for="obs">Observações: </label>
  43.                         <textarea id="obs" name="obs"></textarea>
  44.                     </div>
  45.                     <div class="campos"><label for="sexo">Sexo: </label>
  46.                         <select>
  47.                             <option>Masculino</option>
  48.                             <option>Feminino</option>
  49.                         </select>
  50.                     </div>
  51.                     <div class="campos"><input type="submit" name="enviar" value="Enviar"> 
  52.                     </div>
  53.  
  54.                 </form>
  55.             </div>
  56.         </body>
  57. </html>
Add Comment
Please, Sign In to add comment