0
How do I insert an image in HTML?
Insert an image
3 odpowiedzi
+ 1
It's pretty simple.
<img src="image_source" alt="alternate_text">
Put your image source in the 'image_source' and an alternate text in 'alternate_text'. And you will successfully insert an image.
You can edit the height & width using the current line:
<img src="image_source" alt="alternate_text" width="width_here" height="height_here">
Example:
<img src="tree.jpg" alt="A picture of a tree" width="250" height="400">
0
Complete the html course 😉