Posts

Showing posts from January, 2022

Images, Links, Table and forms in HTML

Image
  Chapter 4 Images, Links, Table and Forms in HTML Image Tag- You can insert image in your web page by using <img> tag. The browser support various format image formats like .gif(graphic Interchange Format), .jpg(joint photographic experts group), bmp(bit map picture). etc. <img> tag is an empty tag. Syntax- <img src=”image file name”> Attributes in <img> tag : src=”source” alt=”alternate text” height=”value in pixel or percentage” width=”value in pixel or percentage” align=”left/right/middle/top/bottom” border=”value in pixel” title=”tooltip text” Linking in HTML A link in HTML is a connection from one web resource to another. A link or hyperlink points to a documents or to a specific element within a document. To create hyperlink, we use <a> tag where a means anchor. The hyperlink tag starts with <a> and include the attribute 'href'=”URL” followed by some text and then it has a corresponding closing tag </a> . Th...