📜 ⬆️ ⬇️

Do not put essential information in the title attribute

The title attribute can be used to specify additional information about an HTML element — about a hyperlink, for example. And when this information doesn’t just repeat the hyperlink text, the title text can be useful.

What should be avoided is placing in the title attribute important information that is not found anywhere else. The reason is that some users will not know about the text title:So use the title attribute when appropriate, but do not use it simply to repeat the text of the hyperlink, and do not put critical information in it.

This blog post is one of the Quick Tips. Details of the background are set out in “ Quick Tips for Web Developers and Web Designers .”

')

Source: https://habr.com/ru/post/67508/


All Articles