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

Drupal website changes needed, Drupal website changes Move a current Dru...

Drupal website changes Move a current Drupal website to another server (requires static IP address). Create an addition of a video library to have the capability to add a vid

Implement wordpress design in my existing site, Implement wordpress design ...

Implement wordpress design in my existing site Project Description: Hello i want a design for my current website. This WordPress design require implement Skills requ

We need magento experts needed, We need magento experts needed I am seek...

We need magento experts needed I am seeking Magento Expert only if you can start from right now and long time for my company in-house project's, If you can customize Magento the

I need wordpress plugin development, Project Description: We have a cust...

Project Description: We have a custom booking engine software, which also powers reasonable functionality websites. In order to improve capability offering of our website, we ar

Forms, Each of form in a document develops a form object. As a document can...

Each of form in a document develops a form object. As a document can have more than one form, Form objects are stored in an array called forms. Forms Array By using the for

How to upgrade joomla being used from 1.5 to 3.2, How to Upgrade Joomla bei...

How to Upgrade Joomla being used from 1.5 to 3.2 We have a website which we want to either upgrade the Joomla CMA or swith to WordPress. Not a huge site. Desired Skills are M

Static pages, Static pages, as the name denoted, comprise static content (t...

Static pages, as the name denoted, comprise static content (text or images). Thus you can only view the contents of a web page without being capable to contain any interaction with

Redesign as well as repurpose four isell app, Isellapps Redesign as well...

Isellapps Redesign as well as repurpose four iSell app from iphone to ipad Job Description -We're looking for a Web Developer Your responsibilities- 1) Review business

Php app in bootstrap with user mgmt, Php app in bootstrap with user mgmt, f...

Php app in bootstrap with user mgmt, form, csv import/export and stats Project Description: Overview: Need an application construct in PHP to allow agents to log in, view

We are seeking a web application developer, SVG Programmer SVG, CSS, AJA...

SVG Programmer SVG, CSS, AJAX, JAVA knowledge necessary Job Description: We're seeking a Web Application Developer Your responsibilities- Linking SVG element to another el

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