CS43

From Coder Merlin
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

HTML Basics - Continued[edit]

Do you remember what we did last class? Yes! We learned about how HTML works.

HTML is a tool used to create websites. You can use it to make any type of website that you want. Writing in HTML is like writing words, except that with HTML, you use tags instead of words.

To tell a computer you want something in your website, you use tags. Different tags tell the computer to put different items.

For example, the

    <img>

tag tells the computer to place an image. The paragraph tag tells the computer to place words.

Today, we are going to learn about the <img> tag and start creating our websites!

The <img> tag places a picture on your website. The <img> tag requires two things: the tag, and the picture. You need to tell the computer to tell what picture to put, and where.

For example:

   <img src = "somewhere">

Tells the computer to place in your page a picture, and that picture to use is in the folder with the "somewhere" name.

Today, you can take a picture of yourself, place it somewhere on your computer.

Then, you can try to place that image on a website by using the image tag. Remember to include where the image is so the computer knows where the picture is.

Be creative! You can add any picture you want, not just yourself. Try adding words by using the paragraph tag. If you need help, don't be afraid to ask!