AllInWorld99 provides a reference manual covering many aspects of web programming, including technologies such as HTML, XHTML, CSS, XML, JavaScript, PHP, ASP, SQL,FLASH, jQuery, java, for loop, switch case, if, if else, for...of, for...in, for...each,while loop, blogger tips, blogger meta tag generator, blogger tricks, blogger pagination, client side script, html code editor, javascript editor with instant output, css editor, online html editor, materialize css tutorial, materialize css dropdown list,break, continue statement, label,array, json, get day and month dropdown list using c# code, CSS button,protect cd or pendrive from virus, cordova, android example, html and css to make android app, html code play,telerik show hide column, Transparent image convertor, copy to clipboard using javascript without using any swf file, simple animation using css, SQL etc. AllInWorld99 presents thousands of code examples (accompanied with source code) which can be copied/downloaded independantly. By using the online editor provided,readers can edit the examples and execute the code experimentally.


    HTML image tag is used to import the images to webpages, tag is defined as <img ...> and no need to put end tag </img>. This image tag having more attributes.

Syntax :-
<img src="path of the image" attributes...>


Attributes:-
src - Specify the Source of the image path
<img src="sampleimage.jpg"  >
width - set the width of the image
<img src="sampleimage.jpg" width="50px">
height - set the height of the image
<img src="sampleimage.jpg" width="50px" height="50px">
alt - Give some alternative text of the image (Before load the image this text will display)
<img src="sampleimage.jpg" width="50px" height="50px" alt="Will Display sample image">
Title - Title is also specify the image title, and it will display when you drag the mouse over the
           image this text will display in the yellow tool tips
<img src="sampleimage.jpg" width="50px" height="50px" alt="Will Display sample image" Title="This is the sample Image">
style - This attribute is used to give some css style to image tag.
<img src="sampleimage.jpg" style="border : red 5px solid;">
usemap - This attribute is used to assign some area for particular html file.
 <img src="sampleimage.jpg" usemap="#mapname">
<map name="mapname">
<area shape="rect" coords="0,10,30,60" alt="This is the Marked place" href="file.html">
</map>




0 comments:

Post a Comment

Total Pageviews