HTML Images <img>
To be able to load an image we use the <img> tag with a closing </img> tag
<img src=”URL” alt=”some text” style="width:100px;height:100px;"> </img>
An example
<img src="https://www.planwallpaper.com/static/images/9-credit-1.jpg" alt="Tigar Animal" style="width:400px;height:350px;">

From the HTML Images lesson, we learned about an HTML Image and its elements and attributes.
<img> with an end tag </img>
attributes
alt=”alternate text”
src=”URL”
defines the image URL
Note:
The URL could be an image located on a 3rd party server or an image located within a local folder of the web page itself. If that's the case then the URL would be \folder\image.png for an instance
Comments
Post a Comment