Advertisement
csfeijo

Exercicio 1 - aula 02 - 1605966

Nov 26th, 2021
793
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.75 KB | None | 0 0
  1. <?php
  2. $cursos = array(
  3.   array('id_curso' => 1, 'nome' => 'Lógica de Programação'),
  4.   array('id_curso' => 2, 'nome' => 'HTML, CSS e JS'),
  5.   array('id_curso' => 3, 'nome' => 'Banco de Dados e SQL'),
  6. )
  7.  
  8. ?>
  9. <!DOCTYPE html>
  10. <html lang="en">
  11. <head>
  12.   <meta charset="UTF-8">
  13.   <meta http-equiv="X-UA-Compatible" content="IE=edge">
  14.   <meta name="viewport" content="width=device-width, initial-scale=1.0">
  15.   <title>Listagem de Cursos</title>
  16. </head>
  17. <body>
  18.  
  19.   <table border="1">
  20.     <thead>
  21.       <tr>
  22.         <th>Id Curso</th>
  23.         <th>Nome</th>
  24.       </tr>
  25.     </thead>
  26.     <tbody>
  27.       <!-- liste os dados dos cursos aqui -->
  28.       <tr>
  29.         <td></td>
  30.         <td></td>
  31.       </tr>
  32.     </tbody>
  33.   </table>
  34.  
  35. </body>
  36. </html>
  37.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement