首页 » HTML » 用自定义按钮制作一个(提示/警告)弹窗

最后更新于 2018年04月11日

标签:buttion
属性值:onclick="alert('提示或者警告的内容')"
解释:

  • oncilck: 鼠标点击
  • alert: 警告提示

详细代码:

<bottion type="buttion"  onclick="alert('错误')">点我</buttion>
  • weixiao kaixin tushetou jingkong deyi fanu liezui liuhan daku ganga bishi nanguo lihai qian yiwen numu tu yi haixiu se fadai minyan hehe henkaixin huaji biyiyan kuanghan maimeng shui xiaku penqi zhangzui pen aini ye niu laji ok chigua renshi kongbu shuai xiaoxiese touxiao huaixiao jingnu chihuai kaisang xiaoku koubi zhuangbi lianhong kanbujian shafa zhijing xiangjiao dabian yaowan redjing lazhu rizhi duocang chixigua hejiu xixi xiaopen goukun xiaobuchu shenme wusuowei guancha lajing chouyan xiaochi bie zhadanzui zhadanxiao