CSS - Float in CSS

In this video,I explained the Float in CSS. Feel free to comment. For more, please subscribe and press the BELL icon. Please visit my CSS Playlist. Please link, comment, share and subscribe. The code is as follows -

HTML File - 
<html>
  <head> <title> CSS Float </title>
    <link rel="stylesheet" href="float.css">
  </head>
 
  <body>
    <h3> this is heading using h3 tag </h3>
    <img src="banner.png" alt="A Image">

  </body>

</html>

CSS File - 
img {
height: 350px;
width: 350px;
float: right;
border: 20px solid green;
margin: 10px;
padding: 15px;
}

h3 {
float:right;
}


Comments

Popular posts from this blog

Alert Dialog Box in JS || JavaScript Dialog Box

HTML - Frameset Tag in html

Indian Flag || Indian Flag using HTML CSS