What is it in HTML?
When creating a web page using HTML, the image mark is used to insert a photo or graphics to a specific location on the page. There are many ways to be used on the website, from adding interest to use as a navigation tool or to provide information. There are also several different images that can be used. No matter how or what image is added to the website, the image mark is always required.
You want to add a picture, a picture mark is included where you want the image to appear on your page. For example, if a picture should be inserted after this paragraph, after this paragraph, an image mark or would be added to the HTML document. The
mark defines all images in HTML. It is referred to as an empty mark because it contains attributes and has no final brand. Attributes are options available for a particular HTML brand.
If only were added to the HTML document, nothing would be shown because the brand attributes were not included. The most important attribute for
is the "SRC" that means the source. The SRC attribute states where the image is actually located or is an address for the image file. Since the image is used on the website, the location of the image will be listed as a URL. In the HTML document, the image would look like:
. P>
Specifically, the URL points to where the image is stored. For example, if a computer image called computer.jpg is stored in the image folder at www.wisegeek.com, the URL would be replaced by: . When the browser opens the web page, a picture of the image mark is included.
image brand has a number of other different attributes. They allow the user to edit the image on the page. The following attributes are commonly used for this brand:Alt, border, size and alignment.
Attribute alt means alternative text and is shown if the browser is unable to display the image. Alternative text for users who are visually attacked and decide to display text via images is also read. For the above example, the alternative text can be mentioned as alt = "PC image".
Attribute border adds to the image boundary with thickness depending on the number of pixels. This can be particularly useful when the background of the image and the background of the website is similar and a clear resolution is required. For example, Border = "10" places a thick limit of 10 pixels around the picture.
Size Attributes are also important because width and height can be used to determine the exact image size. These attributes should be used very carefully, as their change can affect the proportions or the quality of the image displayed. Atridbutes size does not change the real file as itDisplays the browser.
Attribute Align determines how the image is aligned compared to the text on the page. There are several different options for this attribute, including the upper, lower, medium, left, right, absmiddle, absbottom, baseline and text. These brands also help to determine how the text on the page is to cope with the image.