About Lesson
The align Attribute in HTML is used to specify the alignment of the text content of The Element. this attribute is used in all elements.
Supported Tags:
<applet> |
<table> |
<caption> |
<tbody> |
<col> |
<td> |
<colgroup> |
<tfoot> |
<hr> |
<th> |
<iframe> |
<thead> |
<img> |
<tr> |
Attribute Values:
left: It sets the text left-align.
right: It sets the text right-align.
center: It sets the text center-align.
justify: It stretches the text of a paragraph to set the width of all lines equal.
Supported Browsers:
Google Chrome
Internet Explorer
Firefox
Apple Safari
Opera
Exercise Files
No Attachment Found
Join the conversation