Go Back   Wiki NewForum | Latest Entertainment News > Career Forum & Tips > Tech Forum & Tutorial > HTML Forum & Tutorial


HTML Images


Reply
Views: 4534  
Thread Tools Rate Thread
  #6  
Old 05-03-2009, 11:51 AM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,566




align ="left" width="48" height="48">
A paragraph with an image. The align attribute of the image is set to "left". The image will float to the left of this text.




align ="right" width="48" height="48">
A paragraph with an image. The align attribute of the image is set to "right". The image will float to the right of this text.




Reply With Quote
  #7  
Old 05-03-2009, 11:51 AM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,566




width="20" height="20">




width="45" height="45">




width="70" height="70">




You can make a picture larger or smaller changing the values in the "height" and "width" attributes of the
img tag.




Reply With Quote
  #8  
Old 05-03-2009, 11:51 AM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,566



Go Left


Text-only browsers cannot display images and will only display the text that is specified in the "alt" attribute for the image. Here, the "alt"-text is "Go Left".



Note that if you hold the mouse pointer over the image, most browsers will display the "alt"-text.






---------

Text-only browsers cannot display images and will only display the text that is specified in the "alt" attribute for the image. Here, the "alt"-text is "Go Left".
Note that if you hold the mouse pointer over the image, most browsers will display the "alt"-text.
Reply With Quote
  #9  
Old 05-03-2009, 11:52 AM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,566



You can also use an image as a link:










------


You can also use an image as a link: [IMG]http://www.w3schools.com/html/****onnext.gif[/IMG]
Reply With Quote
  #10  
Old 05-03-2009, 11:52 AM
welcomewiki welcomewiki is offline
Member
 
Join Date: Dec 2008
Location: India
Posts: 80,566




Click on one of the planets to watch it closer:



width="145" height="126"
usemap="#planetmap">



coords="0,0,82,126"
alt="Sun"
href="sun.htm">

coords="90,58,3"
alt="Mercury"
href="mercur.htm">

coords="124,58,8"
alt="Venus"
href="venus.htm">



Note: The "usemap" attribute in the img element refers to the "id" or "name" (browser dependant) attribute in
the map element, therefore we have added both the "id" and "name" attributes to the map element.




Reply With Quote
Reply

New topics in HTML Forum & Tutorial





Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
WikiNewForum)