Back to lesson
1. How do we display an Image with HTML?
By using an image tag <img src="image.png">
By using a link
By dragging an image into our C9 development environment
2. How do we change the display size of an image with HTML?
You can't change an image's display size with HTML
By resizing the image in Photoshop
By using a height and width attribute of the image tag.
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