在原窗口跳轉
<button οnclick="window.location.href='http://www.baidu.com'">百度</button>
打開新窗口跳轉
<button οnclick="window.open('http://www.baidu.com')">百度</button>
在原窗口跳轉
<button οnclick="window.location.href='http://www.baidu.com'">百度</button>
打開新窗口跳轉
<button οnclick="window.open('http://www.baidu.com')">百度</button>
<style type=text/css>td { font-size: 12px; color: #000000; line-heig
二級導航實例 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <ti