0

How do I insert an image in HTML?

Insert an image

17th Mar 2021, 11:04 PM
Lester Rivera
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">
17th Mar 2021, 11:47 PM
Carbon
Carbon - avatar
0
Complete the html course 😉
18th Mar 2021, 2:07 AM
PHILOMATH PRATIK
PHILOMATH PRATIK - avatar