Back to lesson
1. How do we display an Image with HTML?
By dragging an image into our C9 development environment
By using a link
By using an image tag <img src="image.png">
2. How do we change the display size of an image with HTML?
By using a height and width attribute of the image tag.
You can't change an image's display size with HTML
By resizing the image in Photoshop
3. When re-sizing an image with HTML, do we need to use both height and width attributes?
No. If we use just one, the web browser will determine the other based on aspect ratio.
Back to the top
© 2017 GoSkills Ltd.
Skills for career advancement