Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

HTML%20Interview%20Questions%20and%20Answers

Question: How do I center a table?
Answer: In your HTML, use

<div class="center">
<table>...</table>
</div>

In your CSS, use

div.center {
text-align: center;
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook