Define the VALIGN attribute in HTML.

Q10. Define the VALIGN attribute in HTML with an example.

Ans. The VALIGN attribute, when used with the <TD> tag, helps align data in a single cell. For example, the data of cells that have a span of more than one row can be verticallyaligned using the VALIGN attribute. The various values of the VALIGN attribute are top, bottom, and middle.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: