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

Form target attribute, Corresponds to the FORM TARGET attribute. • Tex...

Corresponds to the FORM TARGET attribute. • Text - It is an object representing a text field. • Text area - It is an object representing a text area field. Some of the F

Cake php project issues, Cake PHP Project Good knowledge of PHP. a) Hands-o...

Cake PHP Project Good knowledge of PHP. a) Hands-on PHP based framework, Cake PHP b) Demonstrable knowledge of web technologies including HTML, CSS, Javascript, AJAX, CRM. c) Good

We are presently in search of a web site developer, Website Developer We...

Website Developer We are presently in search of a web site developer. Job Description- We're looking for a Web Developer. Your responsibilities- a) Review business requ

Wix commerce site needs shopping backend integration, WIX commerce site nee...

WIX commerce site needs 1shopping backend integration Project Description: We sell children's furnitureRIEchildrensFurniture and want a robust backend integrated shopping car

Formatting tags, Now let us look at some more tags which can be used to for...

Now let us look at some more tags which can be used to format text. These are all given in the example illustrated in Figure  XYZ&l

Seeking urgent assistance with loading an asp.net website, Seeking urgent a...

Seeking urgent assistance with loading an ASP.net website We are urgently seeking assistance with loading an ASP.net website installation onto a new server, job will start immed

Api replication required, Project Description: Want an API expert to aid...

Project Description: Want an API expert to aid in application development in regards to API extraction, and injection into other sites, as the main site is updated. Do not bid i

Need a wordpress splash page need customization, Need a Wordpress Splash Pa...

Need a Wordpress Splash Page Need Customization Here is what I want the splash page to accomplish- 1. Pop up must only show up on the homepage. 2. You can't click outside

Basic tags of html, Let us now discuss tags in more detail. A command the ...

Let us now discuss tags in more detail. A command the browser to do something. An ATTRIBUTE goes inside the & tells the browser how to do it.  A tag might h

I want help in bitcoin stock exchange, Bitcoin stock exchange Make a bit...

Bitcoin stock exchange Make a bitcoin stock exchange a full functional copy of other stock exchange Must accept bitcoins as well as nextcoins through automatically deposits f

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