Friday 14 September 2012

Link and Image basics in HTML


HTML Links

HTML links are defined with the <a> tag.

Example:
<a href="http://www.techoyo.blogspot.com">This is a link</a>

HTML Images

HTML images are defined with the <img> tag.

Example:
<img src="w3schools.jpg" width="104" height="142" />

Note: The filename and the size of the image are provided as attributes.
You give the path of the image in "quotes".



We'll learn more about these tags as we go deeper..sometime later. :)


No comments:

Post a Comment