Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
221 views
in Programming by (101k points)
closed by

The _____attribute of <TABLE> tag is used to control the distance between the data in a cell and the boundaries of the cell.


1. Colspan
2. Rowspan
3. Cellpadding
4. cellspacing

1 Answer

0 votes
by (108k points)
selected by
 
Best answer
Correct Answer - Option 3 : Cellpadding

Concept:

Tables in HTML are created with the help of <table tag> where rows are formed using <tr> tag and <td > tag is used to create the columns in the table.

Explanation:

There are some attributes of the table tag which are :

  • Align – it indicates how table will be aligned in the document
  • Bgcolor- set the background colour of the table.
  • Cellpadding – this is used to control the distance between the data in a cell and boundaries of the cell.
  • Cellspacing – it defines the space between two cells in pixels. This attribute can be applied both horizontally and vertically.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...