Changing Image Size

Topic

Changing Image Size

Topic Progress:

Images can be changed to be any width and height.

This is done by adding in a width attribute and a height attribute inside the <img> tag. The amounts that you enter in after these attributes must be included in speech marks.

<img src='sheep.jpg' alt='Cute Sheep Image' 
width=’50’ height=’80’>

Extra Info: The unit used for the sizing on websites is pixels (but you do not need to include a unit after your amount).

Add in the size for the image below. Play around with different sizes to see what looks best on the website!

@

Not recently active