My friend and I are creating an office suite. He is busy working on the home page and he made a top navigation bar. The bar has links but we don't know how to make it open a new.html file. We used this navigation bar: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_topnav Can you please tell us how to make it open a new HTML file.
Thanks, Matthys Zondagh
Simply change the href value to the link you want. If it's local, you only have to do the name of the file/directory.
<a href="home.html">Home</a> <a href="about.html">About</a>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.