Computer Science, asked by ALEENAREHMAN, 4 months ago

Q8. In order to add space of 20px between cell content and its border of a table in html, which one of the following option is appropriate? 

1 point

I) th,td{ padding: 20px;}

II) table{ margin:20px; }

III) table{ border : 20px;}

IV) table{ padding: 20px; }

Answers

Answered by Anonymous
6

Answer:

th,td{ padding: 20px;}

Explanation:

plz mark as brainliest

Answered by edupilot004
1

Answer:

The correct answer is padding.

Explanation:

In HyperText Markup Language (HTML) we use a feature known as padding. It helps the user while creating a website to add a default space and border in a written text such as headings and paragraph.It is used to getting good alignment of text.

The padding property is of four types:

1.Padding-top:

It aligns the text to the top.

2. padding- right:

It aligns the text to the right.

3.padding-bottom:

It aligns the text to the bottom.

4. padding- left:

It aligns the text to the left.

The padding syntax is:

th,td{ padding: 20px;}

Here, TH is known as table header.

TD is known as Table Data cell element.

Pixel is 20.

#SPJ3

Similar questions