The Sub Feature Is Only For Visuals

In HTML elements that use visual, the sub feature is used to show alternative text. There are two reasons for using alternative text. If you can not open the page on the page that you are calling the visual (you may have enabled the ability to block images using the browser feature, the browser may not support the visuals, the visual link may be corrupted, the visual link may be incorrect, etc.) users) to understand what is visual.

In the HTML 4.01 Strict version alt only the following elements apply:
* img
* area
* input

The input elements (visual submit buttons) alt are suitable for use.

img Iis area desirable to use this property in input elements (visually submit buttons) while the sub property is needed for elements.

From time alt to time I see people using the property in other elements, like links. I think those who use it in this way are the property title feature they want to use. This feature is used to give more information about an element, which is what they want to do. They can look up alt and title get more information on this topic.

Original article: written by Roger Johansson for publication at 456bereastreet.com with the title alt attribute is for images only .

This entry was posted by admin on February 21, 2009 under the Web Standards section .
1 Comment written to “Sub feature for visuals only”
Readability: Make Your Web Content More Readable | Internet and Search Engine Optimization (SEO) Experiences – Google first page Says:
September 4th, 2009 at 11:54 pm
[…] is to use Readability bookmarklet. With this method, we disable all non-content elements (images, etc.) and make the text part readable. […]
I look forward to your ideas about the article. Please help everyone by participating. Thanks in advance

Leave a Reply

Your email address will not be published. Required fields are marked *