How do I align a table to the right (or left)?



How do I align a table to the right (or left)?..

Answer / Rohit Porwal

To align a table to the right, use the CSS property `text-align: right;` on table cells. To align it to the left, use `text-align: left;`. You can apply these properties using inline styles or by defining them in an external CSS file.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More HTML DHTML Interview Questions

How do I get a so-and-so character in my HTML?

1 Answers  


How do you keep list elements straight in an HTML file?

1 Answers  


Differentiate between localStorage and sessionStorage objects.

1 Answers  


How to insert a copyright symbol on a browser page?

1 Answers  


How to insert a comment in an html page?

1 Answers  


What is the role of w3c?

1 Answers  


How do you make a picture into a background image of a web page?

1 Answers  


What is space in html?

1 Answers  


Explain image map?

1 Answers  


What is html and how is it used?

1 Answers  


What is semantic elements?

1 Answers  


What is the use of figcaption tag in html 5?

1 Answers  


Categories