write a statement to add a border in the table with size 5 and display only left and right side border
Share
write a statement to add a border in the table with size 5 and display only left and right side border
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Verified answer
Answer:The <table> element has a "border" attribute, which is not used in HTML5. So, we recommend using the CSS border property for adding a border to your tables. To add a border to your table, you need to define the <style> of your table. Remember to add borders also for <th> and <td> tags to have a complete table.
Explanation: