html

JerryXia 发表于 , 阅读 (16)
html

html

设置编码: <meta charset="utf-8">
页面自动刷新: <meta http-equiv="refresh" content="10">
3秒后跳转到主页 <meta http-equiv="refresh" content="3;url=index.php#register" />
title 属性: 用来显示提示文字
实体: &name/&#number 比如 &nbsp/&nbsp; 空格

  • url
url: scheme://host.domain:port/path/filename =>http://www.baidu.com    scheme:http/https/ftp/file=>本机文件    host:http默认的主机是www    :port :http的默认接口是80, 可以通过修改Apache修改端口    使用ASCII字符集, 不能用ASCII字符集表示的, 使用相应的%number表示, 即url编码
  • mailto

可以参考: http://www.cnblogs.com/HappyQQ/archive/2008/02/26/1082945.html
<a href="mailto:sample@163.com?subject=test&cc=sample@hotmail.com&body=use mailto sample">send mail</a>