Css:- float



<!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.


Css:- float Css:- float Reviewed by Network security on May 12, 2019 Rating: 5

No comments:

Useful Information

Powered by Blogger.