随笔分类 - HTML.JS.CSS
摘要:首先在head中加入这个 <meta name="viewport" content="width=device-width"> 然后,可以像pc中定义大小一样: 使用size 例如: <font size=4></font>
阅读全文
摘要:【使用新浪ip接口】 多地域测试方法:http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js&ip=111.202.103.204 引用新浪ip接口: <script src="http://int.dpool.sina.com.cn
阅读全文
摘要:内嵌:background:url(背景图片路径) no-repeat;/*不重复默认在左上方*/background:url(背景图片路径) no-repeat center;/*不重复背景图片中间显示*/background:url(背景图片路径) no-repeat bottom center;/*不重复背景图片底部中间显示*/background:url(背景图片路径) no-repeat right top;/*不重复背景图片右上方显示*/background:url(背景图片路径) no-repeat right bottom;/*不重复背景图片右下方显示*/background:
阅读全文
摘要:头部<!DOCTYPE> 标签有以下几种:<!DOCTYPE htmlPUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!DOCTYP
阅读全文
摘要:@CHARSET "UTF-8";html字符实体: © > < HTML 3C搜索 字符实体 查看更多资料ADMIN邮箱ul ol无序 有序列表,设置type 设置序列样式 跑马灯:css 滤镜效果 实现全站图片黑白色a:link a:hover* 通配符选择器 margin:10px 20px 10px 20px;(顺时针旋转上 右 下 左) 同理padding:父子选择器:#id span span .s1 #id2 spanid选择器 与 class选择器可以共存。栏目1可以有多个类选择器class。栏目三 但是id选择
阅读全文