HTML基础知识库

来源:互联网 发布:软件商店. 编辑:程序博客网 时间:2024/06/02 00:32

html:超文本链接。

常用编码格式:GB2312,utf-8(所有字符),ISO-8850-1,big(繁体);

<meta/>标签

属性

1,content some_text 定义与 http-equiv 或 name 属性相关的元信息

2,http-equivcontent-type expires refresh set-cookie 把 content 属性关联到 HTTP 头部。

3,nameauthor description keywords generator revised others把 content 属性关联到一个名称。

4,scheme some_text 定义用于翻译 content 属性值的格式。


onload标签:

一般写在body 标签里!加载一个HTML时第一时间加载 onload 对象。



setTimeout标签:

setTimeout(执行的方法,时间(毫秒));



larget 标签:

是打开链接时用什么目标打开,是在新窗口中打开就用

target=_blank

在父窗口中打开就用

target=_parent

,在当前窗口中打开就用

target=_self,  

target=_top

表示在顶层窗口中打开

是打开链接时用什么目标打开,是在新窗口中打开就用target=_blank,在父窗口中打开就用target=_parent,在当前窗口中打开就用target=_self,  target=_top表示在顶层窗口中打开 

是打开链接时用什么目标打开,是在新窗口中打开就用

target=_blank

在父窗口中打开就用

target=_parent

,在当前窗口中打开就用

target=_self,  

target=_top

表示在顶层窗口中打开



是打开链接时用什么目标打开,是在新窗口中打开就用

target=_blank

在父窗口中打开就用

target=_parent

,在当前窗口中打开就用

target=_self,  

target=_top

表示在顶层窗口中打开



是打开链接时用什么目标打开,是在新窗口中打开就用

target=_blank

在父窗口中打开就用

target=_parent

,在当前窗口中打开就用

target=_self,  

target=_top

表示在顶层窗口中打开



表格跨行:colspanrowspan这两个属性用于创建特殊的表格。



from 标签:

属性:

1.name:表单名

2.method :传递方式:

get 方式》url?后面加上字符串 传输过程会显示在地址栏上 存在安全问题 量不能太大。

post 方式》传输方式作为Httprequest 的一部分,资料不会显示在地址栏上。



是打开链接时用什么目标打开,是在新窗口中打开就用

target=_blank

在父窗口中打开就用

target=_parent

,在当前窗口中打开就用

target=_self,  

target=_top

表示在顶层窗口中打开

原创粉丝点击