<img>

Sunday, 11.12.2016, 05:12
Welcome Guest
 
All Html Tags
<html>
<head>
<body>
<div>
<span>
<DOCTYPE>
<title>
<link>
<meta>
<style>
<p>
<h1-h6>
<strong>
<em>
<abbr>
<acronym>
<address>
<bdo>
<blockquote>
<cite>
<q>
<code>
<ins>
<del>
<dfn>
<kbd>
<pre>
<samp>
<var>
<br>
<img>
<area>
<map>
<object>
<param>
<form>
<input>
<textarea>
<select>
<option>
<optgroup>
<button>
<label>
<fieldset>
<legend>
<table>
<tr>
<td>
<th>
<tbody>
<thead>
<tfoot>
<col>
<colgroup>
<caption>
<ul>
<ol>
<li>
<dl>
<dt>
<dd>
<script>
<noscript>

Articles for Webmaster
:: Proffesional Website Builders
:: Div Tag in Html Examples
:: Notepad As a Free Html Editor
Authorization

img Tag in Html

Image. When an image is used as a link, many browsers will show a border around the image. To get rid of this you should use CSS (border: 0). Notice that images are not technically inserted into an HTML page, images are linked to HTML pages. The <img> tag creates a holding space for the referenced image.

img Tag Attributes

src - is used to specify the location of the image file.
alt - is used to specify the alternative text of the image, which should be a short description.
longdesc - can be used to specify the location (in the form of a URI) of a description of the image.
height - can be used to define the height of the image (in pixels). This can also be done with CSS.
width - can be used to define the width of the image (in pixels). This can also be done with CSS.

Browser Support

    

Example

<img src="angry.gif" alt="Angry face" />
Search

Advertisement
Friends
superbwebsitebuilders.com
HtmlCodeExamples.Com © 2016