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

Html physical style tags, 1. Describe HTML Physical style tags & Logical st...

1. Describe HTML Physical style tags & Logical style tags? 2. Which HTML tag let you to scroll text onto the Web page? 3. Described comment tag in HTML? 4. Develop an HTML

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

I want a google map programming using php, I need Google Map Programming ...

I need Google Map Programming We are in search of a PHP JavaScript Programmer to cultivate an interactive Google Map. We require the subsequent completed. a) We have 30,00

Codes for fashion website built on magento, Fashion Website fixes Codes ...

Fashion Website fixes Codes for fashion website built on magento needs to be cleaned up. Job description: Current issues include: a) Coding on magento is making site un

We need a website developer, We need a Website developer A luxury swimwe...

We need a Website developer A luxury swimwear brand is seeking a website developer to create an e-commerce website as well as mobile version. We need somebody who can host our d

Use the radio buttons in web page, Working with Radio Buttons funct...

Working with Radio Buttons function calculate(form) { if(form.elements

Fashion content website that must operate under styles, WP - custom Theme ...

WP - custom Theme The website is a fashion content website that must operate under Styles categories (chic, casual, street etc) where each style will have content associated to

I need a three page website, I need a three page website I have a homepa...

I need a three page website I have a homepage as well as two internal page designs ready in fireworks. I want these three pages online by the weekend. More work if we discover a

I need hotel booking wholesale system, Project Description: This project...

Project Description: This project is about to prepare a hotel wholesale system for B2B offering travel agents and affiliate websites to book hotels via whitelabel solution or in

Create a parser to import goods from the website, Parser and website (prest...

Parser and website (prestashop, magento) Project Description: 1. Create a parser to import goods from the website in wordpress (product photos, product name, product, commodi

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