html link path

  • Relative path and absolute path of html link

  • absolute path

    • relative path
      • The first character is a slash /,    redirect('/hello')   
        • Example: "/hello", this will automatically add your protocol name + domain name + port, assuming your previous section is http://www.baidu.com:8000 /aa , the system will automatically match " http://www.baidu.com:8000 /hello "
        • In our actual situation, we generally use this
 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325753729&siteId=291194637