Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

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

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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

My Personal Notes arrow_drop_up
Last Updated : 02 Nov, 2021
Like Article
Save Article
Similar Reads