飞比寻常 (JOE) 生,简单,活,简单,生活,不简单!
JOE个人网站
JOE个人网站,不仅仅是一个网站,更像是一个展现自我的平台,致力于让朋友们都可以
有所感触,有所收获。
# 字符实体:
<:<
>:>
空格:
&:&
引号:"
# 常用标签:
<html></html>
<head></head>
<body></body>
<title>这是标题</title>
<base href="url" target="window_name" />
<link rel="stylesheet" type="text/css" href="url" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="keywords" content="内容" />
<meta name="description" content="内容" />
<meta name="author" content="内容" />
<meta name="copyright" content="内容" />
<link rel="archives" title="内容" href="url" />
<script src="url" type="text/javascript"></script>
# <body>中可用的属性:
text,bgcolor,background,bgproperties,link,alink,vlink,topmargin,leftmargin,id,name,class,style,
# 格式标签:
<hr>,<p>,<center>,<pre>,<li>,<ul>,<ol>,<hr>,
# 文本标签:
<hn>,<b>,<i>,<sub>,<sup>,<font>,<tt>,<cite>,<em>,<strong>,<small>,<big>,
# 图像:
<img src=”url” alt=”text” title=”text” width=”num” height=”num” border=”num” />
# 链接:
<a href=”url” name=name target=”windows_name”>链接文字</a>
Windows_name:_self _blank _parent _top 自定义名字
# 锚点:
建立:<a name=”name” />
使用:<a href=”name”>链接名称</a>
# 表格:
<table>
<caption>表格标题</caption>
<tr>
<th>表头标签</th>
<td>表格内容</td>
</tr>
</table>
<table>属性:
align:left/center/right,
border:1px;
width/height:1px/100%;
cellspacing;
cellpadding;
<th>/<td>属性:
Width/height:1px/100%;
align:left,center,right;
valign:top,middle,bottom;
rowspan;
colspan;
# <frameset>
<frame>
</frameset>
<frameset>属性:
Cols/rows:像素、百分比分割窗口,*表示剩余;
Frameborder:0和1;
Border:默认5px;
<frame>的属性:
Src:
Name:用于target的参数;
Noresize:
Scrolling:yes/no/auto;
Frameborder:0和1;
Border:
# 表单:
<form></form>常用属性:
Name:
Method:post/get,默认get.
Action:url,空,no;
Enctype:表单的编码方式;
Target:目标窗口;
<input type=”text” name=”name” value=”value” size=”num” maxlength=”num” />
<input type=”password” name=”name” value=”value” size=”num” maxlength=”num” />
<input type=”submit” name=”name” value=”value” />
<input type=”reset” name=”name” value=”value” />
<input type=”button” name=”name” value=”value” />
<input type=”radio” name=”name” value=”value” checked /> 所有单选name一样;
<input type=”checkbox” name=”name” value=”value[]” checked />
<input type=”hidden” name=”name” value=”value” />
<textarea name=”name” rows=”num” cols=”num” value=”value”>默认显示文字