<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.fleft {
float: left;
}
.fright {
float: right;
}
</style>
</head>
<body>
<div class="fleft">
Float Left
</div>
<div class="fright">
Float Right
</div </body>
</html>
Used of:-
Float
The float property can be used to wrap text around images.
It can be defined by left or right.
It can be defined by left or right.
Css:- float
Reviewed by Network security
on
May 12, 2019
Rating:
No comments: