Saturday, October 12, 2013

Time for Graphics

Through with formatting, let's add a little graphics to your page, shall we?

Let's begin with images

Just a little vanity there >_<
Moving on...


HTML Image

The <img> Tag and the Src Attribute

 images are defined with the <img> tag
 <img> tag is empty, which means that it 
contains attributes only, and has no closing 
tag
 Src stands for "source“ which contains the 
URL of the image you want to display
 <img src="url" alt="some_text">

Examples:
 <img src="boat.gif" alt="Big Boat">
 <img src=“mountain.jpg" alt="Pulpit rock" 
width="304" height="228">

No comments:

Post a Comment