Image

Images is as crucical as your text. People are more attracted the visuals than text.

Published on

Monday, Apr 13, 2020

In this lecture, Down on the road there will be point where you want to add an image to the website. Luckily, HTML got you covered. We have a dedicated tag for images called < img>.

< img > is a self closing tag means you do not need to close it.

< img > is also an inline element

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HTML COURSE</title>
  </head>
  <body>
    <img src="https://orangedigitals.com/assets/img/hero.png">
  </body>
</html>

I hope you will like it. If you face any issue or have any doubt please connect with me via facebook messenger chat floating on the right side of the screen :)

happy learning :)

Follow me on Instagram