

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to create a table with a caption?
To create a table with caption in HTML, use the <caption> tag. Caption gets added inside the table, immediately after the <table> tag.
Example
You can try to run the following code to create a table with caption in HTML
<!DOCTYPE html> <html> <head> <style> table, td, th { border: 1px solid black; } </style> </head> <body> <table> <caption>Our Technologies</caption> <tr> <th>IDE</th> <th>Database</th> </tr> <tr> <td>NetBeans IDE</td> <td>MySQL</td> </tr> </table> </body> </html>
Output
- Related Questions & Answers
- How to create a table caption with JavaScript DOM?
- Create caption for a table in HTML?
- How do we include a table caption in HTML?
- How to create a MySQL table with InnoDB engine table?
- How to create a MySQL table with MyISAM engine table?
- How to create a table with date column?
- How to create a MySQL table with indexes?
- How to create a filter table with JavaScript?
- How to create a responsive table with CSS?
- How to create a comparison table with CSS?
- HTML DOM Table caption Property
- How to create a zebra striped table with CSS?
- How to create a responsive pricing table with CSS?
- Control the placement of the table caption with CSS
- Create a temporary table similar to a regular table with MySQL LIKE
Advertisements