HTML | <col> align Attribute Last Updated : 18 Feb, 2022 Comments Improve Suggest changes Like Article Like Report The HTML <col> align Attribute is used to set the horizontal alignment of text content inside the col element. It is not supported by HTML 5. Syntax: <col align="left | right | center | justify | char"> 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 paragraph to set the width of all lines equal. char: It sets the text-align to a specific character. Example: html <!DOCTYPE html> <html> <head> <title> HTML col align Attribute </title> </head> <body> <h1>GeeksforGeeks</h1> <h2> HTML col align Attribute </h2> <table width="500" border="1"> <col align="center"> <tr> <th>Name</th> <th>Expenses</th> </tr> <tr> <td>BITTU</td> <td>2500.00</td> </tr> <tr> <td>RAKESH</td> <td>1400.00</td> </tr> </table> </body> </html> Output: Supported Browsers: The browser supported by HTML <col> align attribute are listed below: Google Chrome: Not Supported Internet Explorer: Not Supported Firefox: Not Supported Safari: Not Supported Opera: Not Supported Comment More infoAdvertise with us Next Article HTML | <col> align Attribute J jit_t Follow Improve Article Tags : Web Technologies HTML HTML-Attributes Similar Reads HTML | <colgroup> align Attribute The HTML <colgroup> align attribute is used to set the horizontal alignment of the text or content in the group of column. Syntax: <colgroup align="left|right|center|justify|char> Attribute Values: left: It sets the content to the left-align.right: It sets the content to the right-align. 1 min read HTML | <caption> align Attribute The HTML <caption> align Attribute is used to specify the alignment of the <caption> Element. It is used to align the caption to the left, right, top and Bottom of a table. This attribute is not supported in HTML5. Note: By default , the table caption is aligned to center. Syntax: <ca 2 min read HTML <div> align Attribute The HTML <div> align attribute was used to specify the horizontal alignment of content within a <div> element. However, this attribute is no longer supported in HTML5. Today, we use CSS for alignment purposes.Note: This attribute is not supported by HTML5.Syntax<div align="left | righ 3 min read HTML <p> align Attribute The align attribute in the HTML <p> tag is used to control the alignment of paragraph text. It allows you to align text to the left, center, or right of its container. This attribute helps in adjusting the text layout for better presentation and readability. Syntax:<p align="left | right | 4 min read HTML <td> align Attribute In HTML, the <td> (table data) element is used to define an individual cell within a table row (<tr>). It plays a crucial role in organizing and presenting structured data clearly. Whether displaying numerical values, text, or percentagesâsuch as 85% for progress or success ratesâthe 2 min read Like