指向同一网站中其中的页面的链接
当连接指向同一网站中的其他页面时,就没必要在URL中指定域名这时我们可以采用简短的相对URL.
<!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <title>TODO supply a title</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <div>TODO write content</div> <p> <ul> <li><a href="index.html">home</a></li> <li><a href="about-us.html">About</a></li> <li><a href="movies.html">Movies</a></li> <li><a href="contact.html">Contact</a></li> </ul> </p> </body> </html>