Adding a Picture

Download Report

Transcript Adding a Picture

Adding a
Picture
Step 1:
Find a picture that you like
on google images and save
it (right click, “save as”,
choose an easy name to
remember) to your web
design club folder.
Step 2:
Go into your web design club
folder and see what type of
file your picture is.
• JPEG: use .jpg
• PNG: use .png
• GIF: use .gif
Step 3:
Type the following code inside of
the “body” of your webpage:
<img src=“INSERT THE NAME HERE”>
My example:
<img src=“snow.jpg”>
Step 4:
Adjust the size of your image by
setting a width and a height.
<img src=“INSERT THE NAME HERE”
width=“150” height=“150”>
My example:
<img src=“snow.jpg” width=“150”
height=“150”>