Just a note of different anchors as following:

  1. href=’#’ will function the same as scroll to the top. This just draw me another attention that DO NOT put # in you file name!
  2. href=’?’ will trigger the browser to refresh the same page. just a shorter coding if you don’t want to type the whole url.
  3. href=’javascript:void(0)’ will do nothing. the same meaning as href=’javascript: return false;’.
Tagged with:
 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>