Saturday, March 28, 2015

HTML Lesson 4 : Images and Links

Image:
In HTML, images are defined with the <img> tag.
The <img> tag is empty, which means that it contains attributes only and it has no closing tag.
To display an image on the page, you need to use the src attribute. Src stands for “source”. The value of the src attribute is the URL (Uniform Resource Location) of the image you can display on your page.
Links:
HTML uses the <a> (anchor) tag to create a link to another document.
An anchor can point to any resource on the web: an HTML page, an Image, a sound file, a movie etc.

 Request for HTML Lesson 4
Thank you for your interest reading my lesson.

No comments:

Post a Comment