Created
March 14, 2018 02:41
-
-
Save imzyf/55c419120e5c62395e596f00d382b03a to your computer and use it in GitHub Desktop.
HTML 汇总
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
禁用 a 标签 href | |
<a href='javascript:void(0)'></a> | |
onclick 事件绑定 return false | |
<a href="#" onclick="javascript:XXXX;return false;"></a> | |
图片不存在时显示一个默认的图片 | |
<img src="abc.JPG" onerror="this.src='default.JPG'"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment