1.

Which property is used to add space inside the text field?(a) padding(b) margin(c) number(d) passwordThis question was addressed to me in an interview for internship.My question comes from Appearance of Form Elements topic in chapter Lists, Tables and Forms of CSS

Answer»

Right option is (a) padding

The explanation is: Padding property is USED to add space inside the TEXT field, when we have MANY INPUTS after each other we can ALSO add some margin to add more space outside,



Discussion

No Comment Found

Related InterviewSolutions