Explain cell spacing and cell padding, Computer Engineering

Assignment Help:

Q. Explain Cell Spacing and Cell Padding?

Couple of attributes known as CELLSPACING and CELLPADDING. Both are part of <TABLE>tag. CELLPADDING is the amount of space between border of cell and the contents of the cell. Default value for this attribute is 1. This is so that any text in cells doesn't appear to be sticking to the border. Though, you can specify a value of 0 if you wish. CELLSPACING attribute has a somewhat different meaning. It determines spacing between adjacent cells. Its default value is 2. The below illustration displays these and some other significant attributes of <TABLE> tag.

<HTML>

<HEAD>

<TITLE> EXPERTSMIND.COM</TITLE>

</HEAD>

<BODY>

First: Table with cellspacing and cellpadding

<TABLE BORDER=3 CELLSPACING=7 CELLPADDING=7>

<TR>

<TD>Bella</TD>

<TD>Tom</TD>

<TD>Lee</TD>

</TR>

<TR>

<TD>Adom</TD>

<TD>Herry</TD>

<TD>ketty</TD>

</TR>

</TABLE>

Second: Table with colspan

<TABLE BORDER=1>

<TR>

<TD COLSPAN=2>Bella</TD>

<TD>Tom</TD>

</TR>

<TR>

<TD>Herry</TD>

<TD>Adom</TD>

<TD>Lee</TD>  </TR> 

</TABLE>

Third: Table with rowspan

<TABLE BORDER=1>

<TR>

<TD ROWSPAN=2>Bella</TD>

<TD>Tom</TD>

<TD>Lee</TD>

</TR>

<TR>

<TD>Adom</TD>

<TD>Ricky</TD>

</TR>

</TABLE>

Fourth: Table with rowspan and colspan

<TABLE BORDER=1>

<TR>

<TD ROWSPAN=2>Bella</TD>

<TD COLSPAN=2>Tom</TD>

</TR>

<TR>

<TD>Adom</TD>

<TD>Lee</TD>

</TR>

</TABLE>

Fifth: Table with strong tag and a link in cell's data

<TABLE BORDER=1>

<TR>

<TD COLSPAN=3

ALIGN=CENTER><STRONG><AHREF="https://EXPERTSMIND.COM.org/">Bella</STRO

NG>

</TD>

</TR>

<TR>

<TD>Tom</TD>

<TD>Herry</TD>

<TD>Adom</TD>

</TR>

</TABLE>

</BODY>

</HTML>

2326_Explain cell spacing and cell padding.png

Figure Some Important Attributes of the Table Tag Family


Related Discussions:- Explain cell spacing and cell padding

Difference between classical ai and statistical ai, Statistical AI, arising...

Statistical AI, arising from machine learning, tends to be more concerned with "inductive" thought: given a set of patterns, make the trend. Classical AI, on the other hand, is mor

Explain macro definition and call, Explain Macro definition and call. ...

Explain Macro definition and call. Macro: The assembly language programming frequently finds this necessary to repeat certain piece of code several times during the course of

Differentiate traditional commerce and electronics commerce, Differentiate ...

Differentiate Traditional Commerce verses Electronics Commerce. Identity: Into traditional commerce customers can simply authenticate the identity of a merchant simply throug

Ai applications, AI Applications Search is a crucial component of an AI...

AI Applications Search is a crucial component of an AI system, and the search functions are performed over large quantities of difficult structured data using unstructured inpu

Explain the significance of binary data, Explain the Significance of Binary...

Explain the Significance of Binary Data Controlled devices generally contain registers that are made up of binary digits (bits). The following illustration shows how these regi

Explain the criteria to classify data structures, Explain the criteria to c...

Explain the criteria to classify data structures used for language processors? The data structures utilized in language processing can be classified upon the basis of the subse

Explain assembly program execution, Q. Explain Assembly program execution? ...

Q. Explain Assembly program execution? An assembly program is written according to a strict set of rules. A word processor or editor is used for keying an assembly program in t

Explain about magnetic disk, Q. Explain about Magnetic Disk? A disk is ...

Q. Explain about Magnetic Disk? A disk is circular platter constructed of nonmagnetic material known as substrate, coated with a magnetisable material. This is used for storing

The new optimal solution, Electrocomp's management realizes that it forgot ...

Electrocomp's management realizes that it forgot to contain two critical constraints. In particular, management decides that to make sure an adequate supply of air conditioners for

What is the advantage of running the vuser as thread, VuGen gives the facil...

VuGen gives the facility to use multithreading. This enables more Vusers to be run pergenerator. If the Vuser is run as a process, the similar driver program is loaded into memory

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