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

I need help in wordpress to fix template theme luxe miinus, I need help in ...

I need help in Wordpress to fix template Theme Luxe Miinus I need changes made to the following pages a) Footer b) Development page, Projects Page, About Page - These are

Set table properties, Now you will employ the table Property inspector to r...

Now you will employ the table Property inspector to remove the extra space within the navigation buttons table & to insert a background color in the table. 1. In the Property in

I want ecommerce website and ecommerce developer, Ecommerce website need a ...

Ecommerce website need a ecommerce developer Please note that we would like detailed information on the following: a) Proposal of Services b) Build Requirements c) Proc

Frames, Let us understand now how to make frames for web documents. The int...

Let us understand now how to make frames for web documents. The intelligent use of frames can give your pages a cleaner look & make them easier to navigate. The fundamental conc

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 am in need of php copyscape script expert, I am in need of PHP Copyscape ...

I am in need of PHP Copyscape Script expert Want a sample PHP script which sends text to Copyscape as well as fetches the result along with balance in XML. Desired Skills are

Protection against suspicious data, Input values embedded in SQL statements...

Input values embedded in SQL statements should be screened for inappropriate characters that can form the basis so-called SQL Injection attacks, a type of security attack that may

Multilingual wordpress template design, Multilingual Wordpress Template Des...

Multilingual Wordpress Template Design + Wordpress site development Seeking professional Wordpress theme designer as well as developer to provide the following services- 1) O

I am seeking to build a site where people will sign-up, Social Integration ...

Social Integration site I am seeking to build a site where people will sign up for an account. Therefore every time they log in to my site, it will likewise log them into their

Javascript with html, Events are actions which can be detected through Java...

Events are actions which can be detected through JavaScript.  An example would be the on Mouse Over event that is detected while the user moves the mouse on an object.  Another eve

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