Snip
|
What with the web being all about links, you would think... know about the title attribute, but I rarely see it. For... know, all links can have a title, specified by the title... <a> tag. This is in addition to whatever link text you s...
|
---|
Categories |
|
---|
For Snip |
loading snip actions ... |
---|---|
For Page |
loading url actions ... |
What with the web being all about links, you would think more people would know about the title
attribute, but I rarely see it. For those who don't know, all links can have a title, specified by the title
attribute of the <a>
tag. This is in addition to whatever link text you specify. The title of a link generally shows up as a tooltip in visual browsers, but it can be presented in non-visual browsers as well.
Not all links should have titles. If the link text is the name of an article, don't add a title; the link text itself is descriptive enough. But if you read the link text by itself, out of context, and can't figure out what it points to, add a title.
HTML |
<p class="firstparagraph">What with the web being all about links, you would think more people would know about the <code>title</code> attribute, but I rarely see it. For those who don't know, all links can have a title, specified by the <code>title</code> attribute of the <code><a></code> tag. This is in addition to whatever link text you specify. The title of a link generally shows up as a tooltip in visual browsers, but it can be presented in non-visual browsers as well.</p> <p>Not all links should have titles. If the link text is the name of an article, don't add a title; the link text itself is descriptive enough. But if you read the link text by itself, out of context, and can't figure out what it points to, add a title.</p> |
---|