HOME | LINKS | PLAY | READ | LOOK | HEAR | REMEMBER | CREATE

WEBSITE CONSTRUCTION 101 - IMAGES

No account required. No subscription. No permission.
Make It Exist | Make It Connected | Make It Interesting | Make It Look Yummy | Make It Move | Make It Live
This is your editor.


You can do pictures! Just look at that fuzzy guy. What would the web be without cat pictures? Nothing! That's what! 

You can put an image in your page using the image ( <img> ) tag. The image tag is another standalone tag that does 
not have a closing tag. 

An image tag is also built from a few simple pieces:

Open the tag:
<img

Give it a source: (src means "source". As before... Just accept it for now. )
src='

Point at something: ( Yup! It is a URL! )
some.place.on/the/web.jpg'

Close the opening tag: 
>

That's it! You have now embedded an image in your site. 
For example:
<img src = 'https://cosmicumbrella.com/build/hippo.jpg' >
Or because it is in the same folder on the same website as we are:
<img src = 'hippo.jpg' >

You can even specify how you want it to look a little bit. (We'll get to the really interesting transforms later).
<img src = 'hippo.jpg' width = '512' height = '256' >

Holy Crap! Remember about anchors and links, and how you put the text you want to click between the opening and closing tags? I wonder... <a href = 'https://cosmicumbrella.com/build/images.php' > <img src = 'https://cosmicumbrella.com/build/hippo.jpg' > </a> Well, what do you know! Here are some URLs for images you can play with: https://cosmicumbrella.com/build/hippo.jpg https://cosmicumbrella.com/build/dragon.jpg https://cosmicumbrella.com/build/snake.jpg https://cosmicumbrella.com/build/whale.jpg https://cosmicumbrella.com/build/hugs.jpg
+ HINT <img src = 'https://cosmicumbrella.com/build/hippo.jpg' > <img src = 'https://cosmicumbrella.com/build/dragon.jpg' > <img src = 'https://cosmicumbrella.com/build/snake.jpg' > <img src = 'https://cosmicumbrella.com/build/whale.jpg' > <img src = 'https://cosmicumbrella.com/build/hugs.jpg' >
Oh.. (Make sure you know where your Back button is for this!) Wait.. A URL is a URL is a URL right? So... can we... just ... <a href="snake.jpg"> <img src="dragon.jpg"> </a> Heck yeah, we can!
<= BACK | NEXT=>