alt text on hovering on a link
I'd like to show a descriptive text when the mouse hovers on a link:
<ul>
<li><a class="navbar" alt="culture" href="../cultura/index.html">Cultura</a></li>
</ul>
html5
New contributor
add a comment |
I'd like to show a descriptive text when the mouse hovers on a link:
<ul>
<li><a class="navbar" alt="culture" href="../cultura/index.html">Cultura</a></li>
</ul>
html5
New contributor
add a comment |
I'd like to show a descriptive text when the mouse hovers on a link:
<ul>
<li><a class="navbar" alt="culture" href="../cultura/index.html">Cultura</a></li>
</ul>
html5
New contributor
I'd like to show a descriptive text when the mouse hovers on a link:
<ul>
<li><a class="navbar" alt="culture" href="../cultura/index.html">Cultura</a></li>
</ul>
html5
html5
New contributor
New contributor
New contributor
asked 2 hours ago
matt fickmatt fick
61
61
New contributor
New contributor
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Go ahead and use the title attribute my friend!
<a href="#" alt="hello world!" title="hello universe!">Hello Everyone!</a>
Thanks, Jason.
New contributor
add a comment |
What purpose do alt tags serve?
Search engines and other robots cannot interpret images, but images can play a crucial part in how people interpret a particular web page. Alt tags solve for this by providing text which is read by the search engines. When Googlebot or other search engine crawlers inspect a page, images with properly formatted alt text contribute to how the page is indexed and where it ranks.
Alt tags are also useful for users viewing a webpage on screen readers or browsers that can't process images.
But in your case you would like to use a href only for hyper link so use title tag only not alt tag.
<ul>
<li><a class="navbar" title="culture" href="../cultura/index.html">Cultura</a></li>
</ul>
If you're going to use img src then use alt tag it'll be more helpful.
Alt text is contained within the image tag example:
<img src="/demo/nike_air_zoom.png" alt="nike air zoom" title="nike air zoom" />
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "45"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
matt fick is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fwebmasters.stackexchange.com%2fquestions%2f120387%2falt-text-on-hovering-on-a-link%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Go ahead and use the title attribute my friend!
<a href="#" alt="hello world!" title="hello universe!">Hello Everyone!</a>
Thanks, Jason.
New contributor
add a comment |
Go ahead and use the title attribute my friend!
<a href="#" alt="hello world!" title="hello universe!">Hello Everyone!</a>
Thanks, Jason.
New contributor
add a comment |
Go ahead and use the title attribute my friend!
<a href="#" alt="hello world!" title="hello universe!">Hello Everyone!</a>
Thanks, Jason.
New contributor
Go ahead and use the title attribute my friend!
<a href="#" alt="hello world!" title="hello universe!">Hello Everyone!</a>
Thanks, Jason.
New contributor
New contributor
answered 2 hours ago
Jason Is My NameJason Is My Name
163
163
New contributor
New contributor
add a comment |
add a comment |
What purpose do alt tags serve?
Search engines and other robots cannot interpret images, but images can play a crucial part in how people interpret a particular web page. Alt tags solve for this by providing text which is read by the search engines. When Googlebot or other search engine crawlers inspect a page, images with properly formatted alt text contribute to how the page is indexed and where it ranks.
Alt tags are also useful for users viewing a webpage on screen readers or browsers that can't process images.
But in your case you would like to use a href only for hyper link so use title tag only not alt tag.
<ul>
<li><a class="navbar" title="culture" href="../cultura/index.html">Cultura</a></li>
</ul>
If you're going to use img src then use alt tag it'll be more helpful.
Alt text is contained within the image tag example:
<img src="/demo/nike_air_zoom.png" alt="nike air zoom" title="nike air zoom" />
New contributor
add a comment |
What purpose do alt tags serve?
Search engines and other robots cannot interpret images, but images can play a crucial part in how people interpret a particular web page. Alt tags solve for this by providing text which is read by the search engines. When Googlebot or other search engine crawlers inspect a page, images with properly formatted alt text contribute to how the page is indexed and where it ranks.
Alt tags are also useful for users viewing a webpage on screen readers or browsers that can't process images.
But in your case you would like to use a href only for hyper link so use title tag only not alt tag.
<ul>
<li><a class="navbar" title="culture" href="../cultura/index.html">Cultura</a></li>
</ul>
If you're going to use img src then use alt tag it'll be more helpful.
Alt text is contained within the image tag example:
<img src="/demo/nike_air_zoom.png" alt="nike air zoom" title="nike air zoom" />
New contributor
add a comment |
What purpose do alt tags serve?
Search engines and other robots cannot interpret images, but images can play a crucial part in how people interpret a particular web page. Alt tags solve for this by providing text which is read by the search engines. When Googlebot or other search engine crawlers inspect a page, images with properly formatted alt text contribute to how the page is indexed and where it ranks.
Alt tags are also useful for users viewing a webpage on screen readers or browsers that can't process images.
But in your case you would like to use a href only for hyper link so use title tag only not alt tag.
<ul>
<li><a class="navbar" title="culture" href="../cultura/index.html">Cultura</a></li>
</ul>
If you're going to use img src then use alt tag it'll be more helpful.
Alt text is contained within the image tag example:
<img src="/demo/nike_air_zoom.png" alt="nike air zoom" title="nike air zoom" />
New contributor
What purpose do alt tags serve?
Search engines and other robots cannot interpret images, but images can play a crucial part in how people interpret a particular web page. Alt tags solve for this by providing text which is read by the search engines. When Googlebot or other search engine crawlers inspect a page, images with properly formatted alt text contribute to how the page is indexed and where it ranks.
Alt tags are also useful for users viewing a webpage on screen readers or browsers that can't process images.
But in your case you would like to use a href only for hyper link so use title tag only not alt tag.
<ul>
<li><a class="navbar" title="culture" href="../cultura/index.html">Cultura</a></li>
</ul>
If you're going to use img src then use alt tag it'll be more helpful.
Alt text is contained within the image tag example:
<img src="/demo/nike_air_zoom.png" alt="nike air zoom" title="nike air zoom" />
New contributor
New contributor
answered 1 hour ago
Group Of OceninfoGroup Of Oceninfo
112
112
New contributor
New contributor
add a comment |
add a comment |
matt fick is a new contributor. Be nice, and check out our Code of Conduct.
matt fick is a new contributor. Be nice, and check out our Code of Conduct.
matt fick is a new contributor. Be nice, and check out our Code of Conduct.
matt fick is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Webmasters Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fwebmasters.stackexchange.com%2fquestions%2f120387%2falt-text-on-hovering-on-a-link%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown