Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how to add image in html

<img src="[image link here]" alt="[alt text here]">

<!-- the src attribute defines an image link-->
<!-- the alt attribute shows text when the browser cannot show the image-->
<!-- When using semantics, the <img> should be surrounded by <figure> elements.-->

<figure>
  <img src="link.jpg" alt="an image">
</figure>
 
PREVIOUS NEXT
Tagged: #add #image #html
ADD COMMENT
Topic
Name
7+1 =