(Solved):What is border collapse in HTML?

 

Question

What is border collapse in HTML?

 

EXPERT ANSWER

In HTML, the border-collapse is an attribute of the table tag specifying if table borders are collapsed and form a single border or display elements in different columns separated by borders.

Example:

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style>
  5. table, td, th {
  6.   border:
Scroll to top