久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      html怎么點擊按鈕跳轉(zhuǎn)頁面

      html點擊按鈕跳轉(zhuǎn)頁面的方法:1、在button標(biāo)簽外嵌套一個a標(biāo)簽,利用超鏈接進(jìn)行跳轉(zhuǎn);2、在button標(biāo)簽中添加“onclick="window.location.href='頁面url'"”代碼,使用onclick事件進(jìn)行跳轉(zhuǎn)。

      html怎么點擊按鈕跳轉(zhuǎn)頁面

      本教程操作環(huán)境:windows7系統(tǒng)、HTML5版、Dell G3電腦。

      方法1:在button標(biāo)簽外套一個a標(biāo)簽

      <a href="https://www.php.cn/"> 	<button>進(jìn)入PHP中文網(wǎng)</button> </a>

      效果圖:

      html怎么點擊按鈕跳轉(zhuǎn)頁面

      方法2:使用onclick事件

      <button onclick="window.location.href = 'https://www.php.cn/'">進(jìn)入PHP中文網(wǎng)</button>

      效果圖:

      html怎么點擊按鈕跳轉(zhuǎn)頁面

      推薦教程:《html視頻教程》

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號