<a>
<a href="page2.html">跳转到页面2</a>
<button onclick="window.location.href='page2.html'">跳转到页面2</button>
var webView = document.getElementById('webView'); webView.navigate('page2.html');
注意:页面跳转需要确保目标页面存在,并且路径正确。