HTML Lesson 3 : Adding Images

Adding an image to your website gives it colour and versatility.

Today I am going to be showing you how to put an image on your website. Below you will see an example of an image tag.

<img src="http://rollcode.com/wp-content/uploads/2014/02/calm_geek_geek_on_pau87x.jpg">

In another example we can specify the hieght and width of the image.

<img src="http://rollcode.com/wp-content/uploads/2014/02/calm_geek_geek_on_pau87x.jpg" height="42" width="42">

Now let’s add a image to our code from Lesson 2.

<!DOCTYPE html>
<html>
<head>
<title>
Techno Girl
</title>
</head>
<body>
<This is how you start a paragraph>
<p>
<a href=”http://www.google.com" target=”blank”>Click here for all life’s answers</a>
<<img src="http://rollcode.com/wp-content/uploads/2014/02/calm_geek_geek_on_pau87x.jpg">
</body>
</html>
Advertisements

One thought on “HTML Lesson 3 : Adding Images

Comments are closed.