- 浏览: 186123 次
- 性别:
- 来自: 沈阳
最新评论
-
joyceKemi:
2013-6-26 13:00:48 org.apache.c ...
spring_mvc(一)环境搭建 -
yunzhu:
收藏的文章很好,谢谢分享
http&servlet -
javaeyegood:
spring_mvc(四)Message Converters
文章列表
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
tab ...
Validation
- 博客分类:
- html&css
validator.w3.org
上传html文件 然后validate
html:
<!doctype html>
<html>
<head>
<title>My First Website</title>
<meta charset="uft-8"/>
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<article>
&l ...
position: relative;
top: 200px;
from the top push 200px
push就是推的意思,原来的样子再从上向下推200px的距离
css:
body {
margin: 0;
}
.box {
width: 400px;
height: 400px;
margin: auto;
background-color: red;
position: relative;
top: 200px;
}
position: absolute;
left: 20px;
top: 30px;
within it` ...
font basic
- 博客分类:
- html&css
http://www.google.com/webfonts#ChoosePlace:select
html:
<!doctype html>
<html>
<head>
<title>My First Website</title>
<meta charset="uft-8"/>
<link rel="stylesheet" type="text/css" href="css/style.css" />
&l ...
logo image
- 博客分类:
- html&css
html:
<!doctype html>
<html>
<head>
<title>My First Website</title>
<meta charset="uft-8"/>
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<h1>renren</h ...
html:
<!doctype html>
<html>
<head>
<title>My First Website</title>
<meta charset="uft-8"/>
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<form>
<ul& ...
Ctrl+L 选择整行(按住-继续选择下行)
Ctrl+KK 从光标处删除至行尾
Ctrl+Shift+K 删除整行
Ctrl+Shift+D 复制光标所在整行,插入在该行之前
Ctrl+J 合并行(已选择需要合并的多行时) ...
basic html
- 博客分类:
- html&css
<!doctype html>
<meta charset="uft-8"/>
html:
<!doctype html>
<html>
<head>
<title>My First Website</title>
<meta charset="uft-8"/>
<link rel="stylesheet" type="text/css" href="css/style.css" ...
5.5.4 for/in
for (variable in object)
statement
for(var i = 0; i < a.length; i++) // Assign array indexes to variable i
console.log(a[i]); // Print the value of each array element
for(var p in o) // Assign property names of o to variable p
console.log(o[p]); // Print the value of each property
...
4.1 Primary Expressions
1.23 // A number literal
"hello" // A string literal
/pattern/ // A regular expression literal
true // Evalutes to the boolean true value
false // Evaluates to the boolean false value
null // Evaluates to the null value
this // Evaluates to the "current" o ...
3.1 Numbers
不像很多的语言,javaScript不区分integer类型和浮点类型。所有的数字都用浮点类型。Javascript用64bit浮点类型来表示。
十六进制:
0xff // 15*16 + 15 = 255 (base 10)
八进制:
0377 // 3*64 + 7*8 + 7 = 255 (base 10)
数字的表示方法:
[digits][.digits][(E|e)[(+|-)]digits]
例如:
3.14
2345.789
.333333333333333333
6.02e23 // 6.02 × 10^23
1.4738223E-32 // 1. ...
2.1 Character Set
Javascript采用Unicode编码
2.1.1 Case Sensitivity
Javascript是大小写敏感的语言
2.1.2 Whitespace, Line Breaks, and Format Control Characters
Javascript忽略空格和换行
2.1.3 Unicode Escape Sequences
由于系统和软件的关系,可能无法读取和显示整个unicode字符,为什么支持这项功能,Unicode采用一个特殊的6个字符组成的ASCII编码来表示。如:
"café" === &q ...
helloworld资源
- 博客分类:
- helloworld
http://www.mkyong.com/
http://viralpatel.net/blogs/
http://www.java2s.com/
http://www.w3school.com.cn/index.html
http://paranimage.com/wordpress/tutorials/
1. 由于这回需要使用Spring的jar包,所以需要修改pom文件,添加如下依赖:
<!-- Spring framework -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>2.5.6</version>
&l ...