Documente Academic
Documente Profesional
Documente Cultură
Tabele in HTML
Exemplul 1:
<html>
<head> <title> Tabele </title> </head>
<body >
<h2 align="center"> Tabele </h2>
<table border="1" width=25%>
<tr>
<th> fructe </th>
<th> legume </th>
</tr>
<tr>
<td> mere </td>
<td> rosii </td>
</tr>
<tr>
<td> pere </td>
<td> ardei </td>
</tr>
<tr>
<td> cirese </td>
<td> cartofi </td>
</tr>
</table>
</body>
</html>
Exemplu 2
Creati o pagina web care sa cuprinda urmatorul tabel:
Alegeti ca dimensiunea tabelului sa reprezinte 75% din dimensiunea ferestrei, iar grosimea chenarului
sa fie de 2 px.