vikramonline
Programmer
I am new to HTML.I need to know whether we can eliminate the margins left by the table tag.
Any help will be apprecited.
Any help will be apprecited.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<HTML>
<HEAD>
<TITLE>Table Padding</TITLE>
</HEAD>
<BODY>
<H1>TABLE 1 : NORMAL</H1>
<TABLE BORDER="1">
<TR>
<TD>
Table # 1
</TD>
<TD>A</TD><TD>B</TD><TD>C</TD>
</TR>
</TABLE>
<H1>TABLE 2: NO PADDING AT ALL</H1>
<TABLE BORDER="1" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD>
Table # 2
</TD>
<TD>A</TD><TD>B</TD><TD>C</TD>
</TR>
</TABLE>
<H1>TABLE 3: LEFT PADDING = 10</H1>
<TABLE BORDER="1" CELLSPACING="0" CELLPADDING="0" STYLE="padding-left:10px">
<TR>
<TD>
Table # 3
</TD>
<TD>A</TD><TD>B</TD><TD>C</TD>
</TR>
</TABLE>
</BODY>
</HTML>