Translate

Sunday, May 4, 2014

9-How to put images on the Page

To take image displayed on the page, we use a tag called <img /> Here is a form of tag <img />.
common forms:

<img src="http://komsan-kh.blogspot.com/path/image_name.extension" />

example

<html>
<head><title>Image tag</title></head>
<body>
<img src="http://komsan-kh.blogspot.com/image/temple.png" title="Temple" border="0" witdth="490" height="310"  />
</body>

</html>

Note : - Src: Used to set the address or location of the image that we want to show - Alt: alternative text for images , and it will show when the picture did not show any problems . - Border: to determine the thickness of the image - Title: Attribute used for the title to the picture , and when we Da lton Mouse image will then our title . - Width: Attribute used to set the width of the image - Height: Attribute used to set the height of the image


0 comments:

Post a Comment