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

Help, Hello, I am a web designer looking for inspiration for a website desi...

Hello, I am a web designer looking for inspiration for a website design (for any purpose) or creating a system that would be also created with the aid of the web programming langua

Need help -real estate listing membership based mailing list, Real estate l...

Real estate listing membership based mailing list Want someone to create from scratch or customise any of the online accessible real estate scripts. I am establishing a prope

Prestashop custom url rewrite, Prestashop Custom URL rewrite- repost I w...

Prestashop Custom URL rewrite- repost I would like somewhat to automatically create custom URLs in my shop for guest wishlists using the wishlist owner's names I presently am us

Need small php help, Small php help, Need php help I already have some p...

Small php help, Need php help I already have some php files with working code I am seeking someone to modify to get desired results. I will be checking results simultaneously

What do you understand by the term open source, (a) Briefly outline the co...

(a) Briefly outline the concept of the Three-tier architecture. (b) What do you understand by the term Open Source? How does Open Source Software differ from Proprietary Sof

I want help in opencart (mijoshop) dev, I want help in Opencart (MijoShop) ...

I want help in Opencart (MijoShop) dev -Bespoke Duty/Vat and shipping We have a client who vends wines which are either purchased to be shipped to the customer (as standard) OR

Creating a web application, 1. Introduction The assignment is a continua...

1. Introduction The assignment is a continuation of the first assignment. You will use all your knowledge of web and internet to develop a fully functional site. We expect your

I need help in a website updates, I need help in a Website Updates I do ...

I need help in a Website Updates I do like the make the subsequent changes to my website: 1 Add tag line beneath logo to home page 2 Add about section to right of home page w

Develop online bag store using ecommerce solution, I have built my online b...

I have built my online bag store using eCommerce solution which is very same to WordPress. I am looking for someone who has experience of adding features to eCommerce solutions. I

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