In an html file, by using the following style the table has a double border. table, th, td { border: 2px solid black; } Which of the following style property will you use so that the table border is single?

Back to Questions
A)

table, td, th { border: 1px solid black;}

B)

table, th, td { border: 1px solid black; border:collapse;}

C)

table, td, th { border: 1px single black; }

D)

table, th, td { border: 1px solid black; border-style: single;}

E)

table, th, td { border: 1px solid black; border-collapse:collapse;}

 

Author Explanation :

The border-collapse property sets whether the table borders should be collapsed into a single border.

Answers Posted

PostedBy By: Ch Sai Praneeth, at 05:45 AM on 04-July-2019

Answer Posted: B E

Explanation: table, th, td { border: 1px solid black; border:collapse;}

Result: Wrong Answer

PostedBy By: Ch Sai Praneeth, at 05:45 AM on 04-July-2019

Answer Posted: B

Explanation: table, th, td { border: 1px solid black; border:collapse;}

Result: Wrong Answer

PostedBy By: Sana Dhanani, at 04:03 AM on 26-June-2019

Answer Posted:

Explanation: d

Result: Wrong Answer

Back to Questions

© Copyright 1997 - 2019 | www.bestdotnettraining.com | www.deccansoft.com | All Rights Reserved.
 
Bestdotnet google plus
Enquiry Now