Image and Line Tags References
|
||||||||||||
You can combine the <img> tag attributes but it does help identify what the image is in search engines perhaps.
Examples:
<img src="http://www.tufat.com/images/icons/osdate.jpg">
Would give you this -<img src="http://www.tufat.com/images/icons/osdate.jpg" width="300" border=2 alt="Example of img tag">
This example shows how you can resize and decorate image with border. If you disable showing of images in your browser, you will see string "Example of img tag" instead of picture.
| Horizontal line tags | |
| <hr> | Deals with making horizontal rules. No end tag is required |
| size | Determines the height of the rule. Default is 0. |
| width | It deals with the width and can be used either by % or pixels. |
| noshade | Gives the <hr> tag no shadows at all. |
| color | Determines a color of line. This attribute works in Internet Explorer only. |
Examples
<hr>
This is standard horizontal line.
<hr size="5" color="#ff0000" width="20%" noshade>
becomes what you see below: