Home > Software design >  what is the difference between 'action="#" and action="/" '
what is the difference between 'action="#" and action="/" '

Time:11-02

what is the difference between action="#" and action="/"

i have been asked to find the difference there but I can't

CodePudding user response:

  1. action="#" means it will redirect to the # after the main domain for e.g. www.domain.com/# which show no change on page.
  2. action="/" means it will redirect to main domain for e.g. www.domain.com/ which show the index page.
  • Related