UGC-NET | UGC NET CS 2018 Dec – II | Question 16

Which of the following HTML5 codes will affect the horizontal as well as vertical alignment of the table content ?
(A) < t d halign = " middle" valign = " center" > BASH < / td >
(B) < t d style = " text − a lign : center; vertical − a lign : middle; " > BASH < / td >
(C) < t d align = "middle" valign = " center" > B ASH < / td >
(D) < t d style = " horizontal − a lign : c enter; vertical − a lign : m iddle; " > B ASH < / td >


Answer: (B)

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.