![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HTML
我有一个魔盒
这个作者很懒,什么都没留下…
展开
-
html iframe使用问题,宽高问题
当一个iframe被隐藏时,它的宽高为0。原创 2023-04-06 17:00:07 · 542 阅读 · 0 评论 -
form 表单内按钮点击刷新页面
原因:在form表单里的button 不给button添加type属性 button的类型会默认为submit 提交表单并刷新。解决:给button添加。原创 2023-01-29 16:44:38 · 706 阅读 · 0 评论 -
html各种符号实体
相关连接:各种图标等符号:HTML ASCII 参考手册HTML 4.01 符号实体HTML ISO-8859-1 参考手册 (例: )HTML特殊字符符号大全原创 2021-03-04 16:49:36 · 154 阅读 · 1 评论 -
html a标签下载
<a download="文件下载后的名称" href="下载路径">任意文本信息</a>原创 2020-11-26 15:49:58 · 649 阅读 · 0 评论 -
固定悬浮块
<style> .fixbox{ background-color: #ff4136; width: 50px; height: 50px; position: fixed; top: 30%; right: 0px; z-index: 9999; border-radius: 20px; text-align: center;原创 2020-10-13 09:02:11 · 81 阅读 · 0 评论 -
禁止a标签执行href
方式一:设置href<a href="javascript:void(0);"></a>方式二:设置onclick<a href="/" onclick="test();return false;"></a>或<a href="/" onclick="test();event.returnValue=false;"></a>原创 2020-05-11 18:40:18 · 2116 阅读 · 0 评论 -
HTML表格内容单行显示,不自动换行
加入样式style="white-space: nowrap;"原创 2020-05-11 18:14:43 · 1031 阅读 · 0 评论