Advertisement
estevaorada

Modelo Formulário Agenda

Mar 27th, 2023
722
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.61 KB | None | 0 0
  1. <html>
  2. <head>
  3.   <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
  4.   <title>Cadastro de Contatos</title>
  5. </head>
  6. <body>
  7.   <div class="container">
  8.     <h1>Cadastro de contatos</h1>
  9.     <form class="form-group">
  10.       <label for="nome">Nome completo:</label>
  11.       <input type="text" id="nome" name="nome" class="form-control" required>
  12.       <label for="email">E-mail:</label>
  13.       <input type="email" id="email" name="email" class="form-control" required>
  14.       <label for="telefone">Telefone:</label>
  15.       <input type="tel" id="telefone" name="telefone" class="form-control">
  16.       <br>
  17.       <button type="submit" class="btn btn-primary">Cadastrar</button>
  18.     </form>
  19.  
  20.     <table class="table">
  21.       <thead class="thead-dark">
  22.         <tr>
  23.           <th>Nome</th>
  24.           <th>E-mail</th>
  25.           <th>Telefone</th>
  26.           <th>Ações</th>
  27.         </tr>
  28.       </thead>
  29.       <tbody>
  30.  
  31.         <!-- Insira aqui as linhas da tabela com os dados dos contatos -->
  32.  
  33.         <!-- Exemplo de linha da tabela com um contato fictício -->
  34.         <tr>
  35.           <td>Maria Silva</td>
  36.           <td>maria@gmail.com</td>
  37.           <td>(11) 99999-9999</td>
  38.           <td><a href="#">Editar</a> | <a href="#">Excluir</a></td>
  39.         </tr>
  40.  
  41.         <!-- Repita esse formato para cada contato cadastrado -->
  42.  
  43.       </tbody>
  44.  
  45.     </table>
  46.  
  47.   </div>
  48.  
  49.  
  50.   <script src = "https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
  51.   <script src = "https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
  52.  
  53. </body>
  54. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement