Computer Science, asked by ashok36, 1 year ago

explain image and anchor taHTML

Answers

Answered by kvnmurty
3
   In a HTML web page we can display static images using the image tag  "IMG". The image is a bitmap or in an acceptable file format. The attributes of the image tag is the source file (path) name, alignment, height, width, and an alternate text.

 Example: 
<IMG SRC= "myimage.jpg HEIGHT=100 WIDTH=200 ALIGN=CENTER  ALT="IMAGE NOT FOUND" >

   If the file myimage.jpg is not found in the current directory then "IMAGE NOT FOUND" is displayed instead of the image.  The image is aligned to the center of the page.

Anchor Tag:
   
   Web pages are hyperlink based multimedia documents. We can navigate from one document or page to another through these links. Also we can navigate back in the same order. To facilitate this the anchor tag is written in the document. That tag gives the URL to which navigation changes.

     <a HREF="http://brainly.com/" > Visit Our Site < /a >

  There are some other attributes of the anchor tag. But HREF is the most used. Instead of HREF we can also use the NAME tag to inform the URL.


kvnmurty: :-)
duragpalsingh: Nice Ans sir!
Similar questions