how to link two html pages by using html code example Example: how do i link two pages in html <button onclick="location.href='filename.html'"> </button>