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

Virtual manufacturing system, Virtual Manufacturing System Virtual manu...

Virtual Manufacturing System Virtual manufacturing system or VMS is a synthetic, integrated manufacturing environment, developed by using information technology tools, exercise

Define processor clock, Define processor clock. Processor clock is expl...

Define processor clock. Processor clock is explained as the time periods in which all operations and data transfer within the processor take place.

What is a shell, What is a shell? A shell is an interactive user interf...

What is a shell? A shell is an interactive user interface to an operating system services that permits an user to enter commands as character strings or by a graphical user int

Communication of request/response - procedural interaction, Explain the Com...

Explain the Communications of Request/Response Communications requirements for message or procedural- based interaction are very similar. Application interaction (client-server

What are the main advantages of sound, Problem: (a) What are the two m...

Problem: (a) What are the two main advantages of sound? (b) UTMDigitlab ltd, specialized in digitizing sound, converts an audio stream of the latest album of Britney Spea

Diffrentiate between non-relocatable & relocatable programs, How non-reloca...

How non-relocatable programs are different from relocatable programs? Non relocatable program: It is one that cannot be made to execute in any type of area of storage other t

Determine the statement for array, Q. Determine the statement for array? ...

Q. Determine the statement for array? Determine the statement ALIGN A[i] WITH B[i] This statement aligns every A[i] with B[i] as displayed in Figure below. Figure

Is the data bus is bi-directional, The data bus is Bi-directional because t...

The data bus is Bi-directional because the similar bus is used for transfer of data among Micro Processor and memory or input / output devices in both the direction.

What is a metadata, What is a Metadata?  Metadata is information about ...

What is a Metadata?  Metadata is information about a PE. In COM, metadata is communicated by non-standardized type libraries. In .NET, this data is contained in the header port

Show the dynamic range and colour depth, Q. Show the Dynamic Range and Colo...

Q. Show the Dynamic Range and Colour Depth? Dynamic Range is the number of colours a colour scan or number of grays a monochrome scanner can distinguish. The dynamic range is t

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