How To Add HTML Image With HTML Code

A nice simple code to help you add HTML image to your website or blog.

How To Add HTML Image By Code?

Copy and paste this code into a text box or area on your site to insert an image to your website:

<img src=”Enter Image URL Here” alt=”HTML5 Icon” style=”width:Enter Widthpx;height:Enter Heightpx;”>

Example:

<img src=”https://artificialgeek.com/Images/Newsletter.jpg” alt=”HTML5 Icon” style=”width:300px;height:128px;”>

Add Image by HTML Code With Link:

<a href=”Insert Link Here”><img src=”Insert Image URL Here”></a>

Example:

<a href=”www.artificialgeek.com“><img src=”www.artificialgeek.com/uploads/image.jpg“></a>

Liked this post? Subscribe

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top