1.

Which CSS property is Equivalent for the align attribute?(a) float(b) text-align(c) centre(d) float & text-alignI got this question in an interview for job.This key question is from CSS Versions topic in section CSS Fundamentals, Colors and Styling of CSS

Answer» CORRECT answer is (a) FLOAT

The explanation is: In the case of some elements such as , the CSS float PROPERTY is more APPROPRIATE than text-ALIGN. text-align. Center attribute can only align text to center. Now-a-days it is not supported.


Discussion

No Comment Found

Related InterviewSolutions