HTML Intro – Embed Images

Images are added to HTML documents by pointing to them using the IMG SRC tag. You can point to images within the same directory as the HTML document, or even from an entirely different website.

Users will need permission to view the images that you reference in your HTML document.

When you constrain an image’s size in an HTML document it still has the same file size. To shrink not just the visible size, but also the file size you will need to edit the picture in an image editor

image.html

<img src="./picture.jpg" alt="pic name" height="586" width="916">


<img src="https://www.elithecomputerguy.com/wp-content/uploads/2020/02/HTML-Intro-Basic-Text-Format-Tags.jpg">

Be the first to comment

Leave a Reply