English

Explain the purpose of the colspan attribute in an HTML table.

Advertisements

Question

Explain the purpose of the colspan attribute in an HTML table.

Explain
Advertisements

Solution

The colspan attribute in HTML is used in a table to allow a cell to span across multiple columns.

shaalaa.com
  Is there an error in this question or solution?
2025-2026 (March) Board Sample Paper
Advertisements
Share
Notifications



      Forgot password?
Use app×