
HTML
前端开发黑子Kuroko
热爱前端开发,不常看消息,有事卫星联系:mnikay
展开
-
HTML清缓存设置
<!-- 清缓存处理 start--><meta http-equiv="Expires" content="0" /><meta http-equiv="Pragma" content="no-cache" /><meta http-equiv="Cache-Control" content="原创 2018-09-08 17:18:34 · 984 阅读 · 0 评论 -
HTML标签marquee实现滚动效果/跑马灯/弹幕等
页面的自动滚动效果,可由javascript来实现,但是今天无意中发现了一个html标签 - <marquee></marquee>可以实现多种滚动效果,无需js控制。使用marquee标记不仅可以移动文字,也可以移动图片,表格等.语法:<marquee>...</marquee>; 说明:在标记之间添加要进行滚动的内容。重要属性:1.滚...转载 2017-07-27 10:24:50 · 10844 阅读 · 0 评论 -
favicon.ico介绍,网页图标的制作&动态网页图标
1、直接上成功的代码,关键代码: <!DOCTYPE html><html><head> <title>网页图标</title> <link href="favicon.ico" rel="icon" type="image/x-icon"/>原创 2017-03-12 18:18:20 · 3642 阅读 · 0 评论 -
web页面跳转:当前窗口/新窗口
1、当前窗口打开: html中的<a href=>方法:<a href="https://www.baidu.com/" target="_parent">当前窗口打开</a>当然,不加target="_parent" 也可以,因为它默认就是当前窗口内打开该链接的。 js中:window.location.href = "ht原创 2016-03-23 15:16:21 · 23922 阅读 · 0 评论 -
src 和 href 的区别
src :source的缩写,源的意思。可理解为“引入”。href :HyperlinkReference,超链接引用。可理解为“引用”。 html中常见用到href的元素有:<link rel="stylesheet" type="text/css" href="login.css"/><a href="http://www.baidu.com">百度&a原创 2016-03-21 17:29:37 · 784 阅读 · 0 评论