Academic Tutorials



English | French | Portugese | Dutch | Italian
Google

in linea

Domestico Codici sorgente E-Libri Trasferimenti dal sistema centrale verso i satelliti Metterseli in contatto con Circa noi

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
AJAX Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PHP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
.NET (dotnet)
Microsoft.Net
XML Web Services
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills


Tabelle del HTML
Previous Next



  • Il modello della tabella del HTML permette che gli autori organizzino i dati -- testo, testo preformatted, immagini, collegamenti, forme, campi della forma, altre tabelle, ecc. -- nelle file e nelle colonne delle cellule.


Tabelle
  • Le Tabelle sono definite con la modifica del <table>.
  • Una tabella è divisa nelle file (con la modifica del <tr>) e
  • ogni fila è divisa nelle cellule di dati (con la modifica del <td>).
  • Il td delle lettere corrisponde “ai dati della tabella,„ che sono il contenuto di una cellula di dati.
  • Una cellula di dati può contenere il testo, le immagini, le liste, i paragrafi, le forme, le ligne orizzontali, le tabelle, ecc.
<table border="1">
    <tr>
         <td>row 1, cell 1</td>
         <td>row 1, cell 2</td>
    </tr>
    <tr>
         <td>row 2, cell 1</td>
         <td>row 2, cell 2p</td>
    </tr>
</table>



Intestazioni in una Tabella
Le intestazioni in una tabella sono definite con la modifica del <th>.
<table border="1">
    <tr>
         <th>Heading</th>
         <th>Another Heading</th>
    </tr>
    <tr>
         <td>row 1, cell 1</td>
         <td>row 1, cell 2</td>
    </tr>
    <tr>
         <td>row 2, cell 1</td>
         <td>row 2, cell 2p</td>
    </tr>
</table>



Tabelle e l'attributo del bordo
La tabella sarà visualizzata senza alcuni bordi se non specificate un attributo del bordo. A volte questo può essere utile, ma la maggior parte del tempo, desiderate mostrare i bordi.
Per visualizzare una tabella con i bordi, dovrete usare l'attributo del bordo:
<table border="1">
    <tr>
         <td>row 1, cell 1</td>
         <td>row 1, cell 2</td>
    </tr>
</table>



Misurazione le file multiple e delle cellule
Usare rowspan misurare le file multiple & colspan per misurare le colonne multiple.
Per visualizzare una tabella con i bordi, dovrete usare l'attributo del bordo:
<table border="1">
    <tr>
         <td>column1</td>
         <td>column2</td>
         <td>column3</td>
    </tr>
    <tr>
         <td rowspan="2">row 1, cell 1</td>
         <td>row 1, cell 2</td>
         <td>row 1, cell 3</td>
    </tr>
    <tr>
         <td>row 2, cell 2</td>
         <td>row 2, cell 3</td>
    </tr>
    <tr>
         <td colspan="3">row 3, cell 1</td>
    </tr>
</table>
O/P:
column1 column2 column3
row 1, cell 1 row 1, cell 2 row 1, cell 3
row 2, cell 2 row 2, cell 3
row 3, cell 1



Riempimento e gioco delle cellule
Potrete registrare lo spazio bianco sulle vostre tabelle con gli attributi cellpadding e cellspacing.
Il riempimento rappresenta la distanza fra i bordi delle cellule ed il soddisfare dentro, mentre il gioco definisce la larghezza del bordo.
<table border="1">
    <tr>
         <td >row 1, cell 1</td>
         <td>row 1, cell 2</td>
    </tr>
    <tr>
         <td>row 2, cell 1</td>
         <td>row 2, cell 2</td>
    </tr>
</table>
O/P: Tabella senza riempimento e gioco delle cellule
row 1, cell 1 row 1, cell 2
row 2, cell 1 row 2, cell 2
<table border="1" cellspacing="10">
    <tr>
         <td >row 1, cell 1</td>
         <td>row 1, cell 2</td>
    </tr>
    <tr>
         <td>row 2, cell 1</td>
         <td>row 2, cell 2</td>
    </tr>
</table>
O/P: Tabella con Cellspacing
row 1, cell 1 row 1, cell 2
row 2, cell 1 row 2, cell 2
<table border="1" cellpadding="10">
    <tr>
         <td >row 1, cell 1</td>
         <td>row 1, cell 2</td>
    </tr>
    <tr>
         <td>row 2, cell 1</td>
         <td>row 2, cell 2</td>
    </tr>
</table>
O/P: Tabella con Cellpadding
row 1, cell 1 row 1, cell 2
row 2, cell 1 row 2, cell 2



Previous Next

Keywords:creating html tables, html font color code tables, html help tables, advanced html tables, html tutorial tables


HTML Quizes
HTML Quiz
XHTML Quiz
CSS Quiz
TCP/IP Quiz
XML Quizes
XML Quiz
XSL Quiz
XSLT Quiz
DTD Quiz
Schema Quiz
XForms Quiz
XSL-FO Quiz
XML DOM Quiz
XLink Quiz
XQuery Quiz
XPath Quiz
XPointer Quiz
RDF Quiz
SOAP Quiz
WSDL Quiz
RSS Quiz
WAP Quiz
Web Services Quiz
Browser Scripting Quizes
JavaScript Quiz
VBScript Quiz
AJAX Quiz
DHTML Quiz
HTML DOM Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizes
ASP Quiz
PHP Quiz
PERL Quiz
SQL Quiz
ADO Quiz
.NET (dotnet) Quizes
Microsoft.Net Quiz
XML Web Services Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
ADO.NET Quiz
VB.NET Quiz
Multimedia Quizes
SVG Quiz
Flash Quiz
Media Quiz
SMIL Quiz
Web Building  Quizes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Java Quizes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Programming Langauges Quizes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Soft Skills Quizes
Communication Skills Quiz
Time Management Quiz
Project Management Quiz
Team Work Quiz
Leadership Skills Quiz
Corporate Communication Quiz
Negotiation Skills Quiz

Privacy Policy
Copyright © 2003-2008 Vyom Technosoft Pvt. Ltd., All Rights Reserved.