charlie and dave are correct: you should use elements semantically to
ensure your content runs on as many platforms/devices/configurations
as possible. with that being said, there is a simple answer to your
original question:
HTML:
Home
JS:
$("#fake_link").click(function() {
window.location =
> > Can make behave as ?
> Why would you not just use CSS to style an element
> to be bold and not underlined?
Definitely the way to go. That way the link works with the keyboard
and screen readers as well. Apps that require the mouse drive me crazy.
2 matches
Mail list logo