H I O X INDIA
Kostenlose HTML - Tutorial
 HOME  ||  HTML ||  Javascript ||  CSS ||  SEO ||  MySQL  english  Français  中文  Español

HTML Grundlagen
Einleitung
Wie Zu
Tags Liste
html, head, body
Text Manipulation
Bilder
Special Effects
Verwertung Tabellen
Forms
Weitere Themen
Subscript & Superscript
Phrase tag
Bullet Stile
Feedback

HTML Tabellenrahmen


Inhalt

Wie kann ich einen Rahmen um die Tabelle herumstellen?



Erklärung


Tabelle mit Rahmen
Um alles klarer zu machen, werden wir einen Rahmen an der Tabelle stellen mit dem "border" Attribut.
Dieses Attribut sollte in das "table" Tag hinzugefügt werden.

Beispiel Code:
<table border=1>
<tr>
<td>
This is first column
</td>
<td>
This is second column
</td>
</tr>
</table>


Ergebnis:
Das Ergebnis für dieses Tag wird das folgende:
This is first column This is second column


Tabelle mit 2 Zeilen und 2 Spalten
Jetzt werden wird versuchen, eine Tabelle mit 2 Spalten und 2 Zeilen

Beispiel Code:
<table border=1>
<tr>
<td>
This is 1st row 1st column
</td>
<td>
This is 1st row 2nd column
</td>
</tr>
<tr>
<td>
This is 2nd row 1st column
</td>
<td>
This is 2nd row 2nd column
</td>
</tr>
</table>


Ergebnis:
Das Ergebnis für dieses Tag wird das folgende
This is 1st row 1st column This is 1st row 2nd column
This is 2nd row 1st column This is 2nd row 2nd column




privacy policy     license     sitemap
© 2004-2009 HIOX INDIA - hioxindia.com

Weitere Links