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
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape,
GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out -
check it out now!