0% found this document useful (0 votes)
35 views2 pages

Fisa de Lucru - Tabele (HTML)

The document contains two HTML code examples for creating tables. The first example creates a basic table with student names and grades. The second example builds on this with additional styling and properties to format the table.

Uploaded by

CARMEN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views2 pages

Fisa de Lucru - Tabele (HTML)

The document contains two HTML code examples for creating tables. The first example creates a basic table with student names and grades. The second example builds on this with additional styling and properties to format the table.

Uploaded by

CARMEN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Aplicatie

1 Scrie urmatorul cod HTML:

<HTML>
<HEAD>
<TITLE>Primul
tabel</TITLE>
</HEAD>
<BODY>
<TABLE>
<TR>
<TD><B>Nume</B></TD>
<TD><B>Prenume</B></TD>
<TD><B>Nota</B></TD>
</TR>
<TR>
<TD>Ionescu</TD>
<TD>Bogdan</TD>
<TD>7</TD>
</TR>
<TR>
<TD>Stancu</TD>
<TD>George</TD>
<TD>9</TD>
</TR>
<TR>
<TD>Dumitrescu</TD>
<TD>Alexandra</TD>
<TD>10</TD>
</TR>
<TR>
<TD>Marin</TD>
<TD>Paul</TD>
<TD>8</TD>
</TR>
<TR>
<TD>Ivanov</TD>
<TD>Mihaela</TD>
<TD>9</TD>
</TR>
</TABLE>
</BODY>
</HTML>
2. Scrie urmatorul cod HTML

<HTML>
<HEAD>
<TITLE>Proprietatile tabelelor</TITLE>
</HEAD>
<BODY>
<CENTER><H2>Rezultatele obtinute la matematica</H2></CENTER>
<HR WIDTH="50%" ALIGN="center" COLOR="#FF0000">
<TABLE WIDTH="500" ALIGN="CENTER" BORDER="1" BORDERCOLOR="#000000"
CELLSPACING="0" CELLPADDING="0">
<TR BGCOLOR="#000000" ALIGN="center" VALIGN="middle">
<TD WIDTH="200" HEIGHT="50"><B><FONT COLOR="#FFFFFF">Nume</FONT></B></TD>
<TD WIDTH="200"HEIGHT="50"><B><FONT
COLOR="#FFFFFF">Prenume</FONT></B></TD>
<TD WIDTH="100" HEIGHT="50"><B><FONT COLOR="#FFFFFF">Nota</FONT></B></TD>
</TR>
<TR VALIGN="middle">
<TD WIDTH="200" HEIGHT="20">Ionescu</TD>
<TD WIDTH="200" HEIGHT="20">Bogdan</TD>
<TD WIDTH="100" HEIGHT="20" ALIGN="center">7</TD>
</TR>
<TR BGCOLOR="#FFFFCC" VALIGN="middle">
<TD WIDTH="200" HEIGHT="20">Stancu</TD>
<TD WIDTH="200" HEIGHT="20">George</TD>
<TD WIDTH="100" HEIGHT="20" ALIGN="center">9</TD>
</TR>
<TR VALIGN="middle">
<TD WIDTH="200" HEIGHT="20">Dumitrescu</TD>
<TD WIDTH="200" HEIGHT="20">Alexandra</TD>
<TD WIDTH="100" HEIGHT="20" ALIGN="center">10</TD>
</TR>
<TR BGCOLOR="#FFFFCC" VALIGN="middle">
<TD WIDTH="200" HEIGHT="20">Marin</TD>
<TD WIDTH="200" HEIGHT="20">Paul</TD>
<TD WIDTH="100" HEIGHT="20" ALIGN="center">8</TD>
</TR>
<TR VALIGN="middle">
<TD WIDTH="200" HEIGHT="20">Ivanov</TD>
<TD WIDTH="200" HEIGHT="20">Mihaela</TD>
<TD WIDTH="100" HEIGHT="20" ALIGN="center">9</TD>
</TR>
</TABLE>
</BODY>
</HTML>

You might also like