code_junkie

HTML attribute accesskey not working as it should

Nov 14th, 2011
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us">
  3. <head>
  4. <title>Title</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <style type="text/css">
  7. a:focus{
  8. color:red
  9. }
  10. </style>
  11. </head>
  12. <body>
  13. <a accesskey="x" target="new" href="#">Hello</a>
  14. </body>
  15. </html>
Add Comment
Please, Sign In to add comment