Quiz on CSS Float



1. What is the purpose of the float property in CSS?
2. Which values can the float property take?
3. How does floating an element affect its parent?
4. What is the function of the clear property?
5. Which CSS property is commonly used alongside float to achieve desired layout effects?

Advertisements