Cell spacing and cell padding, PHP Web Programming

Assignment Help:

Let us notice at a couple of attributes called CELLSPACING and CELLPADDING. Both are part of the <TABLE> tag. CELLPADDING is the amount of space among the border of the cell and the contents of the cell. The default value for this attribute is 1. It is so that any text in the cells does not show to be sticking to the border.  Though, you can indicate a value of 0 if you desire.

The CELLSPACING attribute contain a somewhat different meaning. It finds out the spacing among adjacent cells.  Its default value is two.  The following example illustrates these and some other significant attributes of the <TABLE> tag.

<HTML>

<HEAD>

<TITLE> ABC</TITLE>

</HEAD>

<BODY>

First: Table having cellspacing and cellpadding

<TABLE BORDER=3 CELLSPACING=7 CELLPADDING=7>

<TR>

<TD>Ajay</TD>

<TD>Vijay</TD>

<TD>Rohan</TD>

</TR>

<TR>

<TD>Pankaj</TD>

<TD>Vikas</TD>

<TD>Sanjay</TD>

</TR>

</TABLE>

Second: Table having colspan

<TABLE BORDER=1>

<TR>

<TD COLSPAN=2>Ajay</TD>

<TD>Vijay</TD>

</TR>

<TR>

<TD>Vikas</TD>

<TD>Pankaj</TD>

<TD>Rohan</TD>

</TR>

</TABLE>

Third: Table having rowspan

<TABLE BORDER=1>

<TR>

<TD ROWSPAN=2>Ajay</TD>

<TD>Vijay</TD>

<TD>Rohan</TD>

</TR>

<TR>

<TD>Pankaj</TD>

<TD>Deepak</TD>

</TR>

</TABLE>

Fourth :Table having rowspan & colspan

<TABLE BORDER=1>

<TR>

<TD ROWSPAN=2>Ajay</TD>

<TD COLSPAN=2>Vijay</TD>

 </TR>

<TR>

<TD>Pankaj</TD>

<TD>Rohan</TD>

</TR>

</TABLE>

Fifth: Table having strong tag & a link in cell's data

<TABLE BORDER=1>

<TR>

<TD COLSPAN=3

ALIGN=CENTER><STRONG><AHREF="https://IGNOU.org/">Ajay</STRO

NG>

</TD>

</TR>

<TR>

<TD>Vijay</TD>

<TD>Vikas</TD>

<TD>Pankaj</TD>

</TR>

</TABLE>

</BODY>

</HTML>

426_Cell Spacing and Cell Paddin.png

             Figure: Some Important Attributes of the Table Tag Family

The first table in Figure illustrates cellspacing and cellpadding.


Related Discussions:- Cell spacing and cell padding

Open system interconnection, An open system is a model which allows any two...

An open system is a model which allows any two distinct systems to communicate regardless of their underlying architecture. The reason of the OSI model is to open communication amo

Form and input tag, A good way to learn regarding forms is to employ your n...

A good way to learn regarding forms is to employ your notepad editor & create a new HTML document. In some folder, save it as form1.htm. You might wish to create a separate folder

Need help for magento vendor portal site, Need help for Magento vendor port...

Need help for Magento vendor portal site (market place) I do like to ask you if you could help to launch the Magento market place site by Unirgy Magento extension. We have set

Need php help to fix oscommerce attribute price problem, Need help to Fix o...

Need help to Fix oscommerce attribute price problem I want the customer to be able to choose a quantity of any product on my oscommerce website. For example a product cost $10.

A script to spider and index a site needed, A Script to Spider and Index a ...

A Script to Spider and Index a Site, A Script to Search the Index I want a script that can take 1 or more URLs and spider and index a site. The script must essentially use an ex

Mail status, i m sending mails from my server via email panel made by me. i...

i m sending mails from my server via email panel made by me. i want to get its delivery status .... how to make it

Application layer - osi model layer, Application layer: In the OSI model i...

Application layer: In the OSI model it's the topmost layer which enables the user to access the network. For network applications this layer provides user interface like remote lo

Require a expert ruby on rails developer for ios and android, Require a exp...

Require a experts in Ruby on Rails developer for iOS and Android API I have a mobile app on iOS as well as Android which runs on a Ruby on Rails API. I would like to make some e

Telnet, Telnet is both a TCP/IP application & protocol for linking a local ...

Telnet is both a TCP/IP application & protocol for linking a local computer to a remote computer. It is the Internet remote login service. Telnet protocol defines exactly how a rem

Internet connection, Before we can employ the Internet, we need to gain acc...

Before we can employ the Internet, we need to gain access to it.  This access is attained in one of many ways, which will be discussed in this section. Above all, the Internet is c

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd