float-
This property is used to specify that an element should be placed along the left or right side of its container, where text and inline elements will wrap around it. We can set this property to left, right, none (default).
Ex: –
img { float: left;}
clear-
This property is used to specify whether an element can be next to floating elements that precede it or must be moved down (cleared) below them. We can set this property to left, right, both, none (default).
Ex:-
p { clear: left;}
Latest posts by rajeshkumar (see all)
- AWS Error: Access denied by EC2 Instance Connect - December 4, 2023
- How to get Blackduck Trial version? - December 3, 2023
- PHP ionCube Error: cannot be decoded by this version of the ionCube Loader - December 2, 2023