scrimba
Basic HTML and HTML5
Add Images to Your Website
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Add Images to Your Website
AboutCommentsNotes
Add Images to Your Website
Expand for more info
index.html
run
preview
console
<img src="https://www.your-image-source.com/your-image.jpg" />

<h2>CatPhotoApp</h2>
<main>
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
<!--
Let's try to add an image to our website:
Insert an img tag, before the h2 element.

Now set the src attribute so that it points to this url:
https://bit.ly/fcc-relaxing-cat

Finally don't forget to give your image an alt text.
-->
Console
index.html
-1:28