i tried it but doesnot work with access key
<a href="http://www.yahoo.com" accesskey="y"> <strong>Y</strong>ahoo</a>
it works with click
is there any way access key can be used with a href
| SitePoint Sponsor |




i tried it but doesnot work with access key
<a href="http://www.yahoo.com" accesskey="y"> <strong>Y</strong>ahoo</a>
it works with click
is there any way access key can be used with a href



The key combination that activates the link to which the accesskey is applied varies depending on the platform and browser combination. For IE/Windows, users press Alt + accesskey, while Firefox/Windows users press Alt + Shift + accesskey; users of most Mac browsers press Ctrl + accesskey; in Opera, pressing Shift + Esc displays a list of links for which accesskey attributes are defined, allowing users to choose the key they want to use.
Basically the tages only are, <a href (here you can insert your desired link)><a/>

You might want to consider reading the following article on the benefit's, pitfalls and implementations of accesskeys in HTML...
http://www.webaim.org/techniques/keyboard/accesskey.php




i have <a href="index.aspx">index</a>
i need to make the alphabet i italic
when i do it i get everything italic

Do you want just the i in index italic or do you want the word index italic? If you want the single character italic then you will need to use the :first-letter pseudo class and apply the style to the I, otherwise just use font-style: italic; to give the whole word the italic treatment.![]()

Probably, but apart from that your going to need a span element wrapped around a single letter... which is close to abusing semantics in my view![]()
Bookmarks