In order to place an image on a webpage, you need to use the
<img> tag. Now, the
<img> tag requires an attribute to work, so you need to add
src and
alt to the
<img> tag. So, now that you have
<img src="" alt="">, you need to place the image file in the folder that contains the .html file, and place the image file name in
src. In
alt, you need to provide an alternative text name for the file. In place of the file name in
src, you can provide a link to to the file on an external server.
No comments:
Post a Comment