Problem Statement
What is the main purpose of the float property in CSS?
Explanation
The float property moves an element to the left or right, allowing inline content like text or images to wrap around it. It was commonly used for layouts before Flexbox and Grid.
Code Solution
SolutionRead Only
img { float: right; margin: 10px; }