added step by step instruction on adding an image to a website

This commit is contained in:
Claudio Restifo
2017-02-10 13:58:04 +07:00
parent c80d7de646
commit 9ba3226cd2

View File

@ -570,8 +570,11 @@
"<code>&#60img src=\"https://www.your-image-source.com/your-image.jpg\" alt=\"Author standing on a beach with two thumbs up.\"&#62</code>", "<code>&#60img src=\"https://www.your-image-source.com/your-image.jpg\" alt=\"Author standing on a beach with two thumbs up.\"&#62</code>",
"Note that in most cases, <code>img</code> elements are self-closing.", "Note that in most cases, <code>img</code> elements are self-closing.",
"<hr>", "<hr>",
"Try it with this image:", "Let's try to add an image to our website:",
"<code>https://bit.ly/fcc-relaxing-cat</code>" "Insert an <code>img</code> tag, before the <code>h2</code> element.",
"Now set the <code>src</code> attribute so that it points to this url:",
"<code>https://bit.ly/fcc-relaxing-cat</code>",
"Finally don't forget to give your image an <code>alt</code> text."
], ],
"challengeSeed": [ "challengeSeed": [
"<h2>CatPhotoApp</h2>", "<h2>CatPhotoApp</h2>",