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

Attribute of font tag, This attribute is utilized to alter the font style. ...

This attribute is utilized to alter the font style. Its value must be given as the name of the wanted font. But the font name mention should be present in the system; or else the d

Redesign to travel website, Redesign to Travel Website - Design, SEO, Ease ...

Redesign to Travel Website - Design, SEO, Ease of Use Project Description: We are seeking a dedicated programming team to improve a travel website. To provide upgrades to the

Need help to create apartment available rooms website, Apartment Available ...

Apartment Available Rooms Website I would like to build a website that permits apartments to register their facility online by registering on my site for a monthly fee. I would

Need help in data migration from pdg cart to magento, Data migration from P...

Data migration from PDG cart to Magento Job Description- I am seeking a Web Developer to migrate PDG shopping cart to Magento Your qualifications- a) Previous experienc

Want a web development expert, Web development contractor Here is a high...

Web development contractor Here is a high level description of the project- High level description- 1) Web application that allows people to register by submitting their p

I need help in wpmu appointment and customization, I need help in WPMU Appo...

I need help in WPMU Appointment and Customization I have a want for a ninja developer who knows the ins/outs of Appointment and can do the customization below- a) Facility to

Looking for a ruby on rails developer, Looking for a Ruby on Rails develope...

Looking for a Ruby on Rails developer Rails 3 also related gems Job Description- I am seeking a developer to work on fixes on an existing ROR project. Your responsibilitie

Need help to create amazon affiliat store, Amazon Affiliat Store I need ...

Amazon Affiliat Store I need your services to build me an Amazon Affiliate Webstore (for Health as well as Personal Care Products). Script must import inventory from amazon. Int

Need nationbuilder developer, NationBuilder Developer We are seeking a l...

NationBuilder Developer We are seeking a long term NationBuilder developer to help us at our agency we produce websites for churches as well as nonprofits on the NB platform as

Design a web site, Assignment The assignment is to design a web site fo...

Assignment The assignment is to design a web site for an employment agency for computer programmers. You should provide a service for both employers and employees. Consider all

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