html insert photo code example

Example 1: how do you code an image in html

<!DOCTYPE html>
<html>
   <head>
      <title>HTML img Tag</title>
   </head>

   <body>
      <img src="/html/images/test.png" alt="Simply Easy Learning" width="200"
         height="80">
   </body>
</html>

Example 2: html insert image

<img src='/images/my_cool_image.jpg' alt='LOCAL IMAGE: My Cool Image!'>

<img src='https://learn.coderslang.com/js-test-3.png' alt='REMOTE IMAGE: JavaScript Interview Question #3'>

Example 3: how to add image in html

<img src="logo.png" />

Tags:

Css Example