HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to Align HTML Table

56,844 views October 28, 2013 1:13

Watch on YouTube
ChannelInternet Services and Social Networks Tutorials from HowTech

Description from the creator

Follow this tutorial to learn how to align an HTML Table on a webpage in multiple ways.

Don't forget to check out our site howtech.tv/ for more free how-to videos!
youtube.com/ithowtovids - our feed
facebook.com/howtechtv - join us on facebook
plus.google.com/103440382717658277879 - our group in Google+

In this tutorial on "how to align HTML table", we will teach you to align a table in HTML to the right, left and center of the page. A table in HTML can be aligned using the align attribute inside a table tag. The align attribute is deprecated in HTML 4.0 and is not supported by HTML 5. Tables can be aligned to right, left and center using the align-right, align-left and align-center table's property respectively. Text in the tables aligns top in HTML and can also be aligned to left, right and bottom.

Step 1: Align HTML Table to right

A table in HTML can be aligned to the right side of the web page using the table's property align-right. In order to align HTML table, add the align-right property in the table tag. This will align the table to the right side of the web page. By default table aligns top in HTML.

Step 2: Align HTML Table to left

A table in HTML can be aligned to the left side of the web page using the table's property align-left. In order to align the table, add the align-left property in the table tag. This will align the table to the left side of the web page.

Step 3: Align HTML Table to center

A table in HTML can be aligned to the center side of the web page using the table's property align- center. In order to align the table, add the align- center property in the table tag. This will align the table to the center side of the web page.

About this tutorial

Internet Services and Social Networks Tutorials from HowTech published this 1:13 video tutorial on October 28, 2013. It has been watched 56,844 times on YouTube.

Duration
1:13
Published
October 28, 2013
Views
56,844
Likes
202

Share

This tutorial in other languages