Will the display property of an inline element change once a float property is applied? e.g. What will be the the display property of an anchor tag with float:left?
Also, what will happen with its parent display property, will it also change?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
displayproperty will be unchanged. If by ‘anchor tag’ you mean ‘Aelement’, then thedisplayproperty would still be set toinline(by default).The
displayproperty of the parent element will remain the same as well.