web_html-day1
概述
HTML是英文Hyper Text Mark-up Language(超文本标记语言)的缩写,他是一种制作万维网页面标准语言(标记)。相当于定义统一的一套规则,大家都来遵守他,这样就可以让浏览器根据标记语言的规则去解释它。
浏览器负责将标签翻译成用户“看得懂”的格式,呈现给用户!(例:djangomoan模版引擎)

Doctype
Doctype告诉浏览器使用什么样的html或xhtml规范来解析html文档
有和无的区别
- BackCompat:标准兼容模式未开启(或叫怪异模式[Quirks mode]、混杂模式)
- CSS1Compat:标准兼容模式已开启(或叫严格模式[Standards mode/Strict mode])
这个属性会被浏览器识别并使用,但是如果你的页面没有DOCTYPE的声明,那么compatMode默认就是BackCompat,这也就是恶魔的开始 -- 浏览器按照自己的方式解析渲染页面,那么,在不同的浏览器就会显示不同的样式。如果你的页面添加了那么,那么就等同于开启了标准模式,那么浏览器就得老老实实的按照W3C的标准解析渲染页面,这样一来,你的页面在所有的浏览器里显示的就都是一个样子了。
有,用什么?
Doctype告诉浏览器使用什么样的html或xhtml规范来解析html文档, dtd文件则包含了标记、attributes 、properties、约束规则。
Meta(metadata information)
提供有关页面的元信息,例:页面编码、刷新、跳转、针对搜索引擎和更新频度的描述和关键词
页面编码(告诉浏览器是什么编码)
< meta http-equiv=“content-type” content=“text/html;charset=utf-8”>
刷新和跳转
< meta http-equiv=“Refresh” Content=“30″>
< meta http-equiv=”Refresh“ Content=”5; Url=http://www.autohome.com.cn“ />
关键词
< meta name="keywords" content="星际2,星际老男孩,专访,F91,小色,JOY" >
描述
例如:cnblogs
X-UA-Compatible
微软的IE6是通过XP、Win2003等操作系统发布出来,作为占统治地位的桌面操作系统,也使得IE占据了通知地位,许多的网站开发的时候,就按照IE6的标准去开发,而IE6自身的标准也是微软公司内部定义的。到了IE7出来的时候,采用了微软公司内部标准以及部分W3C的标准,这个时候许多网站升级到IE7的时候,就比较痛苦,很多代码必须调整后,才能够正常的运行。而到了微软的IE8这个版本,基本上把微软内部自己定义的标准抛弃了,而全面的支持W3C的标准,由于基于对标准彻底的变化了,使得原先在早期IE8版本上能够访问的网站,在IE8中无法正常的访问,会出现一些排版错乱、文字重叠,显示不全等各种兼容性错误。
与任何早期浏览器版本相比,Internet Explorer 8 对行业标准提供了更加紧密的支持。 因此,针对旧版本的浏览器设计的站点可能不会按预期显示。 为了帮助减轻任何问题,Internet Explorer 8 引入了文档兼容性的概念,从而允许您指定站点所支持的 Internet Explorer 版本。 文档兼容性在 Internet Explorer 8 中添加了新的模式;这些模式将告诉浏览器如何解释和呈现网站。 如果您的站点在 Internet Explorer 8 中无法正确显示,则可以更新该站点以支持最新的 Web 标准(首选方式),也可以强制 Internet Explorer 8 按照在旧版本的浏览器中查看站点的方式来显示内容。 通过使用 meta 元素将 X-UA-Compatible 标头添加到网页中,可以实现这一点。
当 Internet Explorer 8 遇到未包含 X-UA-Compatible 标头的网页时,它将使用 指令来确定如何显示该网页。 如果该指令丢失或未指定基于标准的文档类型,则 Internet Explorer 8 将以 IE5 模式(Quirks 模式)显示该网页。
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Title
网页头部信息
Link
css
< link rel="stylesheet" type="text/css" href="css/common.css" >
icon
< link rel="shortcut icon" href="image/favicon.ico">
Style
在页面中写样式
例如:
< style type="text/css" >
.bb{
background-color: red;
}
< /style>
Script
引进文件
< script type="text/javascript" src="http://www.googletagservices.com/tag/js/gpt.js"> </script >
写js代码
< script type="text/javascript" > ... </script >
常用标签
标签一般分为两种:块级标签 和 行内标签
- a、span、select 等
- div、h1、p 等
各种符号
http://www.cnblogs.com/web-d/archive/2010/04/16/1713298.html
p 和 br
p表示段落,默认段落之间是有间隔的!
br 是换行
a标签
< a href="http://www.autohome.com.cn"> </a>
1、target属性,_black表示在新的页面打开
2、锚
H 标签
H1
H2
H3
H4
H5
H6
select 标签

Checkbox

redio

password

button

file

提交文件时: enctype='multipart/form-data' method='POST'
textarea

label

ul ol dl
ul
- ul.li
- ul.li
- ul.li
ol
- ol.li
- ol.li
- ol.li
dl
- 河北省
- 邯郸
- 石家庄
- 山西省
- 太原
- 平遥
table


fieldset

form 表单

文件:enctype='multipart/form-data' method='POST'
标签选择器:
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
/* 样式 :
id 选择器:
#i1{
background-color: #2459a2;
height: 48px;
}
class选择器: 用的最多
.c1 {
-----
}
标签选择器:
div{
-----
}
层级选择器:
.c1 .c2 div{
-----
}
组合选择器(逗号):
#.c1,.c2,.c3{
-------
}
属性选择器: 对选择到的标签再通过属性再进行一次筛选
.c1[class='liudong']{ width:100px; height:200px; } css样式也可以现在一个单独文件里,进行引用,饮用方法如下:
<link rel="stylesheet" href="文件名.css" /> */
</style>
</head>
background

border

margin

padding

display
display:none
display:block

display:inline

cursor

- css提供的cursor值
pointer || help || wait || move || crosshair
- 伪造超链接
pointer
- 自定义(一般不用)
mine
浮动

position
http://www.cnblogs.com/canuseethat/archive/2010/09/16/1827804.html
透明度


静态网页代码:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>首页</title>
<style>
.c1{
height: 38px;
background:lavender;
line-height: 38px;
cursor: pointer;
}
.c2{
cursor: pointer;
}
</style>
</head>
<body style="margin: 0;padding: 5px 15px">
<div class="c1" >
<div style="width: 1500px;margin: 0 auto">
<div style="font-family: 幼圆;color:dimgray;float: left;">*收藏网站</div>
<div style="float: right;">
<a href="登陆.html" style="font-family: 幼圆;color:dimgray">登陆 </a>
<a href="注册.html" style="font-family: 幼圆;color:dimgray">注册 </a>
<a style="font-family: 幼圆;color:dimgray">我的订单 </a>
<a style="font-family: 幼圆;color:dimgray">我的收藏 </a>
<a style="font-family: 幼圆;color:dimgray">VIP会员俱乐部 </a>
<a style="font-family: 幼圆;color:dimgray">客服服务 </a>
<a style="font-family: 幼圆;color:dimgray">关注 </a>
<a style="font-family: 幼圆;color:dimgray">手机版 </a>
</div>
<div style="clear: both"></div>
</div>
</div>
<div>
<div style="width: 800px;margin: 0 auto;">
<div style="float: left;">
<img src="图片/t.png" title="要知感恩" alt="要感恩">
</div>
<div style="float: right">
<div style="height: 50px;width: 500px; overflow:hidden;zoom: 1;margin-top: 10px;"> <!--把浮动撑起来 -->
<input type="text" name="aa" value="请搜索" style="width: 240px;height: 27px;padding: 0;margin:0;float: left;font-family: 华文仿宋"/>
<input type="submit" name="bb" value="" style="width: 61px;height: 31px;padding: 0;margin: 0;float: left; background: #dddddd url(图片/x.png)"/>
<span type="text"class="c2" style="color:dimgray;width: 140px;height: 35px;margin: 0;float: right">
<a style="font-family: 幼圆;line-height: 30px;padding: 2px;">购物车<a style="color:red">2</a>件</a>
</span>
<br />
<p style="color: #BEBEBE;">热门搜索:火龙果 瓜子</p>
</div>
</div>
<div style="clear:both"></div>
</div>
</div>
<div class="c1"style="background-color: crimson;padding: 5px 15px;">
<div style="width: 1500px;height:40px;line-height:40px;margin: 0 auto;">
<div style="float: left">
<a style="color:#fff;font-weight: bold;width: 220px;height: 40px;display: inline-block" onmouseover="this.style.color='black'" onmouseout="this.style.color='#fff'">全部商品分类 </a>
<a href="http://jd.com" style="color:#fff;font-weight: bold" onmouseover="this.style.color='black'" onmouseout="this.style.color='#fff'">首页 </a>
<a style="color:#fff;font-weight: bold;" onmouseover="this.style.color='black'" onmouseout="this.style.color='#fff'">网上超市 </a>
<a style="color: #fff;font-weight: bold" onmouseover="this.style.color='black'" onmouseout="this.style.color='#fff'">水果超市 </a>
<a style="color: #fff;font-weight: bold" onmouseover="this.style.color='black'" onmouseout="this.style.color='#fff'">超级餐厅 </a>
<a style="color: #fff;font-weight: bold" onmouseover="this.style.color='black'" onmouseout="this.style.color='#fff'">生活娱乐 </a>
<a style="color: #fff;font-weight: bold" onmouseover="this.style.color='black'" onmouseout="this.style.color='#fff'">研究院 </a>
</div>
<div style="float: right">
<a style="color: #fff;font-weight: bold" onmouseover="this.style.color='black'" onmouseout="this.style.color='#fff'">研究院 </a>
<a style="color: #fff;font-weight: bold" onmouseover="this.style.color='black'" onmouseout="this.style.color='#fff'">研究所 </a>
<a style="color: #fff;font-weight: bold" onmouseover="this.style.color='black'" onmouseout="this.style.color='#fff'">论坛 </a>
</div>
<div style="clear:both"></div>
</div>
</div>
<div style="width: 1500px;height: auto;margin:0 auto;">
<div style="width: 220px;float: left;">
<div style="width: 220px;height: 60px;border: 1px solid gainsboro;">
<span style="color: black;line-height:25px;padding: 15px;font-weight: bold"class="c2" onmouseover="this.style.color='red'" onmouseout="this.style.color='black'">南方水果</span>
<br />
<span style="font-family: 幼圆;line-height: 25px;padding: 15px;color: #BEBEBE">荔枝 火龙果 ....</span>
</div>
<div style="width: 220px;height: 60px;border: 1px solid gainsboro;">
<span style="color: black;line-height:25px;padding: 15px;font-weight: bold"class="c2" onmouseover="this.style.color='red'" onmouseout="this.style.color='black'">北方水果</span>
<br />
<span style="font-family: 幼圆;line-height: 25px;padding: 15px;color: #BEBEBE">樱桃 猕猴桃 ...</span>
</div>
<div style="width: 220px;height: 60px;border: 1px solid gainsboro;">
<span style="color: black;line-height:25px;padding: 15px;font-weight: bold"class="c2" onmouseover="this.style.color='red'" onmouseout="this.style.color='black'">西方水果</span>
<br />
<span style="font-family: 幼圆;line-height: 25px;padding: 15px;color: #BEBEBE">酸梅 桃、杏 ...</span>
</div>
<div style="width: 220px;height: 60px;border: 1px solid gainsboro;">
<span style="color: black;line-height:25px;padding: 15px;font-weight: bold"class="c2" onmouseover="this.style.color='red'" onmouseout="this.style.color='black'">东方水果</span>
<br />
<span style="font-family: 幼圆;line-height: 25px;padding: 15px;color: #BEBEBE">沙拉 芒果 ...</span>
</div>
<div style="width: 220px;height: 60px;border: 1px solid gainsboro;">
<span style="color: black;line-height:25px;padding: 15px;font-weight: bold"class="c2" onmouseover="this.style.color='red'" onmouseout="this.style.color='black'">东方水果</span>
<br />
<span style="font-family: 幼圆;line-height: 25px;padding: 15px;color: #BEBEBE">沙拉 芒果 ...</span>
</div>
<div style="width: 220px;height: 60px;border: 1px solid gainsboro;">
<span style="color: black;line-height:25px;padding: 15px;font-weight: bold"class="c2" onmouseover="this.style.color='red'" onmouseout="this.style.color='black'">东方水果</span>
<br />
<span style="font-family: 幼圆;line-height: 25px;padding: 15px;color: #BEBEBE">沙拉 芒果 ...</span>
</div>
<br />
<div style="width: 220px;height: 30px;background-color:beige; border: 1px solid gainsboro;"class="c2">
<span style="color:mediumslateblue;line-height: 30px;padding: 15px;font-weight: bold"class="c2">热销排行榜</span> <!-- font-weight: bold 加粗-->
</div>
<div style="width: 220px;height: 20px; border: 1px solid gainsboro;">
<span >content</span>
</div>
</div> <div style="width: 1270px;float: right"><br /><br />
<div style="font-family: 幼圆;width: 220px;height: 20px;">福特>蒙迪欧>2.0T</div><br />
<div style="font-family: 幼圆;border:1px solid gainsboro;width: 1000px;height: 40px;line-height: 35px;border-top: 2px solid red;border-bottom: 0"><!-- border-bottom: 0 下边框为0-->
<b>您的选择:</b> 猕猴桃
</div>
<div style="font-family: 幼圆;border:1px solid gainsboro;width: 1000px;height: 40px;line-height: 35px;border-bottom: 0;border-top: 1px dotted gainsboro"><!-- border-top: 1px dotted gainsboro上边线给虚线 -->
<b> 材质:</b> 猕猴桃 猕猴桃 猕猴桃
</div>
<div style="font-family: 幼圆;border:1px solid gainsboro;width: 1000px;height: 40px;line-height: 35px;border-bottom: 0;border-top: 1px dotted gainsboro">
<b> 产地:</b> 北方 北方 北方
</div>
<div style="font-family: 幼圆;border:1px solid gainsboro;width: 1000px;height: 40px;line-height: 35px;border-top: 1px dotted gainsboro">
<b> 口感:</b> 爽口 倍甜 上瘾
</div>
<p style="font-family: 幼圆;width: 1000px;height:5px;text-align: center;line-height: 5px"class="c2">更多选项 !</p>
<div style="background-color:lavender;border:1px solid gainsboro;width:1000px;height: 25px;line-height:25px;">
<div style="float: left">
排序:
<span style="color: blue;font-family: 幼圆"class="c2">价格</span>
<span style="color: blue;font-family: 幼圆"class="c2">销量</span>
<span style="color: blue;font-family: 幼圆"class="c2">最新</span>
</div>
<div style="width:250px;height: 25px;line-height: 25px;float: right">
<div style="border-right:1px solid gainsboro;float: left">
<span style="color: red;"class="c2">
<b style="font-family: 幼圆">共xx件商品</b>
</span>
</div>
<div style="float: left">
<span style="color: blue">
<b>1/998</b>
</span>
</div>
<div style="float: right;margin-right: 30px;margin-top: 2px"><!-- margin-top: 2px 给上边距两个像素-->
<img src="图片/zy.png" />
</div>
<div style="clear:both"></div>
</div>
</div>
<div style="margin:0;padding:0;width:980px;padding:10px;">
<ul style="margin:0;padding:0">
<li style="margin:0;padding:0;height:300px;width:235px;float:left;border:1px solid red;text-align: center;"> <!-- text-align: center;根据行内元素设定居中-->
<img src="水果/水果10.png" style="width:225px;height:230px;">
<span style="font-family: 幼圆;display:inline-block;width:235px;height:20px;color:black;padding: 5px;">欧凯隆 景德镇骨瓷欧凯隆</span>
<span style="display:inline-block;width: 30%;height:25px;margin: 0;font-weight: bold;color: red">¥980</span>
<div style="display:inline-block;width: 45%;margin: 0">
<span style="display:inline-block;height: 10px;font-weight: bold" class="c2">-</span>
<span style="display:inline-block;height: 10px;font-weight: bold" >1</span>
<span style="display:inline-block;height: 10px;font-weight: bold"class="c2">+</span>
<span style="display: inline-block;height: 10px;background-color:crimson;padding-left: 10px;padding-right: 10px;padding-bottom: 10px;padding-top: 5px"class="c2">买</span>
</div>
</li>
<li style="margin:0;padding:0;height:300px;width:235px;float:left;margin-left:10px;border:1px solid red;text-align: center;">
<img src="水果/水果.png" style="width:225px;height:230px;">
<span style="font-family: 幼圆;display:inline-block;width:235px;height:30px;">欧凯隆 景德镇骨瓷欧凯隆</span>
<span style="display:inline-block;width: 30%;height:25px;margin: 0;font-weight: bold;color: red">¥980</span>
<div style="display:inline-block;width: 45%;margin: 0">
<span style="display:inline-block;height: 10px;font-weight: bold" class="c2">-</span>
<span style="display:inline-block;height: 10px;font-weight: bold" >1</span>
<span style="display:inline-block;height: 10px;font-weight: bold"class="c2">+</span>
<span style="display: inline-block;height: 10px;background-color:crimson;padding-left: 10px;padding-right: 10px;padding-bottom: 10px;padding-top: 5px"class="c2">买</span>
</div>
</li>
<li style="margin:0;padding:0;height:300px;width:235px;float:left;margin-left:10px;border:1px solid red;text-align: center;">
<img src="水果/水果2.png" style="width:225px;height:230px;">
<span style="font-family: 幼圆;display:inline-block;width:235px;height:30px;">欧凯隆 景德镇骨瓷欧凯隆</span>
<span style="display:inline-block;width: 30%;height:25px;margin: 0;font-weight: bold;color: red">¥980</span>
<div style="display:inline-block;width: 45%;margin: 0">
<span style="display:inline-block;height: 10px;font-weight: bold" class="c2">-</span>
<span style="display:inline-block;height: 10px;font-weight: bold" >1</span>
<span style="display:inline-block;height: 10px;font-weight: bold"class="c2">+</span>
<span style="display: inline-block;height: 10px;background-color:crimson;padding-left: 10px;padding-right: 10px;padding-bottom: 10px;padding-top: 5px"class="c2">买</span>
</div>
</li>
<li style="margin:0;padding:0;height:300px;width:235px;float:left;margin-left:10px;border:1px solid red;text-align: center;">
<img src="水果/水果3.png" style="width:225px;height:230px;">
<span style="font-family: 幼圆;display:inline-block;width:235px;height:30px;">欧凯隆 景德镇骨瓷欧凯隆</span>
<span style="display:inline-block;width: 30%;height:25px;margin: 0;font-weight: bold;color: red">¥980</span>
<div style="display:inline-block;width: 45%;margin: 0">
<span style="display:inline-block;height: 10px;font-weight: bold"class="c2" >-</span>
<span style="display:inline-block;height: 10px;font-weight: bold" >1</span>
<span style="display:inline-block;height: 10px;font-weight: bold"class="c2">+</span>
<span style="display: inline-block;height: 10px;background-color:crimson;padding-left: 10px;padding-right: 10px;padding-bottom: 10px;padding-top: 5px"class="c2">买</span>
</div>
</li>
<li style="width:100%;height:10px;float:left;"></li>
<li style="margin:0;padding:0;height:300px;width:235px;float:left;border:1px solid red;text-align: center;">
<img src="水果/水果4.png" style="width:225px;height:230px;">
<span style="font-family: 幼圆;display:inline-block;width:235px;height:30px;">欧凯隆 景德镇骨瓷欧凯隆</span>
<span style="display:inline-block;width: 30%;height:25px;margin: 0;font-weight: bold;color: red">¥980</span>
<div style="display:inline-block;width: 45%;margin: 0">
<span style="display:inline-block;height: 10px;font-weight: bold" class="c2">-</span>
<span style="display:inline-block;height: 10px;font-weight: bold" >1</span>
<span style="display:inline-block;height: 10px;font-weight: bold" class="c2">+</span>
<span style="display: inline-block;height: 10px;background-color:crimson;padding-left: 10px;padding-right: 10px;padding-bottom: 10px;padding-top: 5px"class="c2">买</span>
</div>
</li>
<li style="margin:0;padding:0;height:300px;width:235px;float:left;margin-left:10px;border:1px solid red;text-align: center;">
<img src="水果/水果5.png" style="width:225px;height:230px;">
<span style="font-family: 幼圆;display:inline-block;width:235px;height:30px;">欧凯隆 景德镇骨瓷欧凯隆</span>
<span style="display:inline-block;width: 30%;height:25px;margin: 0;font-weight: bold;color: red">¥980</span>
<div style="display:inline-block;width: 45%;margin: 0">
<span style="display:inline-block;height: 10px;font-weight: bold" class="c2">-</span>
<span style="display:inline-block;height: 10px;font-weight: bold" >1</span>
<span style="display:inline-block;height: 10px;font-weight: bold" class="c2">+</span>
<span style="display: inline-block;height: 10px;background-color:crimson;padding-left: 10px;padding-right: 10px;padding-bottom: 10px;padding-top: 5px"class="c2">买</span>
</div>
</li>
<li style="margin:0;padding:0;height:300px;width:235px;float:left;margin-left:10px;border:1px solid red;text-align: center;">
<img src="水果/水果6.png" style="width:225px;height:230px;">
<span style="font-family: 幼圆;display:inline-block;width:235px;height:30px;">欧凯隆 景德镇骨瓷欧凯隆</span>
<span style="display:inline-block;width: 30%;height:25px;margin: 0;font-weight: bold;color: red">¥980</span>
<div style="display:inline-block;width: 45%;margin: 0">
<span style="display:inline-block;height: 10px;font-weight: bold" class="c2">-</span>
<span style="display:inline-block;height: 10px;font-weight: bold" >1</span>
<span style="display:inline-block;height: 10px;font-weight: bold" class="c2">+</span>
<span style="display: inline-block;height: 10px;background-color:crimson;padding-left: 10px;padding-right: 10px;padding-bottom: 10px;padding-top: 5px"class="c2">买</span>
</div>
</li>
<li style="margin:0;padding:0;height:300px;width:235px;float:left;margin-left:10px;border:1px solid red;text-align: center;">
<img src="水果/水果7.png" style="width:225px;height:230px;">
<span style="font-family: 幼圆;display:inline-block;width:235px;height:30px;">欧凯隆 景德镇骨瓷欧凯隆</span>
<span style="display:inline-block;width: 30%;height:25px;margin: 0;font-weight: bold;color: red">¥980</span>
<div style="display:inline-block;width: 45%;margin: 0">
<span style="display:inline-block;height: 10px;font-weight: bold" class="c2">-</span>
<span style="display:inline-block;height: 10px;font-weight: bold" >1</span>
<span style="display:inline-block;height: 10px;font-weight: bold" class="c2">+</span>
<span style="display: inline-block;height: 10px;background-color:crimson;padding-left: 10px;padding-right: 10px;padding-bottom: 10px;padding-top: 5px"class="c2">买</span>
</div>
</li>
<li style="width:100%;height:10px;float:left;"></li>
<li style="margin:0;padding:0;height:300px;width:235px;float:left;border:1px solid red;text-align: center;">
<img src="水果/水果8.png" style="width:225px;height:230px;">
<span style="font-family: 幼圆;display:inline-block;width:235px;height:30px;">欧凯隆 景德镇骨瓷欧凯隆</span>
<span style="display:inline-block;width: 30%;height:25px;margin: 0;font-weight: bold;color: red">¥980</span>
<div style="display:inline-block;width: 45%;margin: 0">
<span style="display:inline-block;height: 10px;font-weight: bold" class="c2">-</span>
<span style="display:inline-block;height: 10px;font-weight: bold" >1</span>
<span style="display:inline-block;height: 10px;font-weight: bold" class="c2">+</span>
<span style="display: inline-block;height: 10px;background-color:crimson;padding-left: 10px;padding-right: 10px;padding-bottom: 10px;padding-top: 5px"class="c2">买</span>
</div>
</li>
<li style="margin:0;padding:0;height:300px;width:235px;float:left;margin-left:10px;border:1px solid red;text-align: center;">
<img src="水果/水果9.png" style="width:225px;height:230px;">
<span style="font-family: 幼圆;display:inline-block;width:235px;height:30px;">欧凯隆 景德镇骨瓷欧凯隆</span>
<span style="display:inline-block;width: 30%;height:25px;margin: 0;font-weight: bold;color: red">¥980</span>
<div style="display:inline-block;width: 45%;margin: 0;">
<span style="display:inline-block;height: 10px;font-weight: bold;" class="c2">-</span>
<span style="display:inline-block;height: 10px;font-weight: bold" >1</span>
<span style="display:inline-block;height: 10px;font-weight: bold" class="c2">+</span>
<span style="display: inline-block;height: 10px;background-color:crimson;padding-left: 10px;padding-right: 10px;padding-bottom: 10px;padding-top: 5px"class="c2">买</span>
</div>
</li>
</ul>
</div>
</div>
</div>
</body>
</html>
web_html-day1的更多相关文章
- NOIp2016 Day1&Day2 解题报告
Day1 T1 toy 本题考查你会不会编程. //toy //by Cydiater //2016.11.19 #include <iostream> #include <cstd ...
- day1
day1.py ][][: ][: ): : ]['lock'] = 0 json.dump(userlist_message, open(userlist, 'w')) break #输错次数到3次 ...
- day1作业--登录入口
作业概述: 编写一个登录入口,实现如下功能: (1)输入用户名和密码 (2)认证成功后显示欢迎信息 (3)输错三次后锁定 流程图: readme: 1.程序配置文件: 黑名单文件blacklist.t ...
- luogu1003铺地毯[noip2011 提高组 Day1 T1]
题目描述 为了准备一个独特的颁奖典礼,组织者在会场的一片矩形区域(可看做是平面直角坐标系的第一象限)铺上一些矩形地毯.一共有 n 张地毯,编号从 1 到n .现在将这些地毯按照编号从小到大的顺序平行于 ...
- Python学习路程day1
变量起名: 变量名如果太长,推荐使用下划线来分开,让人看得清晰明白.例:nums_of_alex_girl=19 .或者是驼峰写法,即首字母大写.例:NumOfAlexGf=18 注意:不合法的变量起 ...
- 团队项目——站立会议 DAY1
团队项目--站立会议 DAY1 团队成员介绍(5人):张靖颜.何玥.钟灵毓秀.赵莹.王梓萱 今日(2016/5/6)为站立会议的第一天,一起对团队项目进行讨论,并对每个人的 ...
- Day1 login
使用流程: 1.程序启动后,显示欢迎信息,提示用户输入用户名: 2.判断用户是否存在,不存在则提示重新输入,或者关闭程序:客户存在则提示客户输入密码: 3.判断密码是否正确,如果不正确则提示用户重新输 ...
- contesthunter CH Round #64 - MFOI杯水题欢乐赛day1 solve
http://www.contesthunter.org/contest/CH Round %2364 - MFOI杯水题欢乐赛 day1/Solve Solve CH Round #64 - MFO ...
- noip2011提高组day1+day2解题报告
Day1 T1铺地毯https://www.luogu.org/problem/show?pid=1003 [题目分析] 全部读入以后从最后一个往前找,找到一个矩形的范围覆盖了这个点,那这个矩形就是最 ...
- 全国信息学奥林匹克联赛 ( NOIP2014) 复赛 模拟题 Day1 长乐一中
题目名称 正确答案 序列问题 长途旅行 英文名称 answer sequence travel 输入文件名 answer.in sequence.in travel.in 输出文件名 answer. ...
随机推荐
- bzoj2555(lct维护sam)
题意: (1):在当前字符串的后面插入一个字符串 (2):询问字符串s在当前字符串中出现了几次?(作为连续子串) 字符串长度<=6e5,询问总长度<=3e6 分析: 考虑建个sam,然后把 ...
- express---express-session axios
express---express-session axios 使用axios访问后台获取session中的属性值为undefined 在main.js中导入axios import axios fr ...
- IntelliJ IDEA删除项目
删除项目一向比较奇葩,因为当你点击到该项目名称右键时,并没有delete选项,导致我们不知道怎么删除,查找多方文档,得到以下解决: 1.将鼠标移到要删除的项目名称上,单击并按“Delete”按钮删除项 ...
- magic packet 远程唤醒需填写 IP broadcast address
之前摸索过电脑,知道hp compaq6910p有远程唤醒功能的.当时没在意.如今忽然有了实际的需求,就想起来折腾一下了.看了网上的做法,主要是双方面设置,BIOS和网卡.之后就能够用magic pa ...
- 在windows Server 2008 R2server上使用infopath不能将表单公布到sharepoint server的问题处理。
在server 2008 R2 中.你将做好的表单公布到Sharepoint 时候会报错: 这个情况在client是2008 R2 Server 就会出现这个结果. 在角色中启用桌面体验就可以
- hibernate载入持久化对象的两种方式——get、load
一.get与load对照 在hibernate中get和load方法是依据id取得持久化对象的两种方法.但在实际使用的过程中总会把两者混淆,不知道什么情况下使用get好,什么时候使用load方法效率更 ...
- 微软开源 Try .NET - 创建交互式.NET文档
微软近日开源了一个新平台--Try .NET,该平台可以让开发者在线上编写并运行 .NET 代码.微软介绍,Try .NET 是一个可嵌入的代码运行器,不仅可以直接在线上对自己或者他人的代码进行编辑. ...
- Python 005- 使用Pyecharts来绘制各种各样的图形
本文转载自:https://blog.csdn.net/qq_39143076/article/details/79065448,如有侵权,请联系删除啊 如何做Python 的数据可视化? pyech ...
- ECMAScript学习笔记
1. ECMAScript不存在块级作用域,因此在循环内部定义的变量,在循环外也是可以访问的 eg: var count =10; fpr(var i=0; i<count; i++){ ale ...
- java.lang.IllegalStateException: No instances available for localhost
在SpringCloud的项目中,我们使用了自动配置的OAuth2RestTemplate,RestTemplate,但是在使用这些restTemplate的时候,url必须是服务的名称,如果要调用真 ...