Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

How we define Src Attribute and Alt Attribute in HTML?
 We use Src Attribute and Alt Attribute with the image tag(<img>).Image tag is an empty tag.So, their is no need to close img tag. we use src(stands for source)for load the image on the HTML page.Syntax:<img src="write here the address or location of image"> We use Alt Attribute to define the image which you loaded with src Attribute.Syntax:<img src="image.gif" alt="Description of image">Example:<img src="logo.gif" alt="R4R logo">
 Some image tags are given below:
<map> It is used to define image map.
<img> It is used to define an image.
<area>Using this we can create the area.Those area we want show as clickable.