How do i apply pictures to my html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do i apply pictures to my html?

31st Jul 2019, 3:59 PM
Osei David
3 Answers
+ 2
With the <img> tag, you can insert images. For a HERO you would use the background property. The img tag does not need an end tag. The required attribute is called src (source). E.G. <img src="url-of-image" (optional) alt="text if img can't be loaded">
31st Jul 2019, 4:13 PM
TheTJO
TheTJO - avatar
31st Jul 2019, 4:32 PM
dozule
dozule - avatar
0
Give me 1 example make i try.
31st Jul 2019, 4:20 PM
Osei David