[笔记]HTML中不常用及容易出错的attribute

attributions in html
 dir(从左到有还是从右到左)  两种属性 ltr rtl
 lang(lanuage)常用的属性

tags in head
 base 相对地址前面的路径
 meta 服务器到浏览器的数据
 script 脚本的函数
 style

attributions in body
 bgcolor 两种属性值   eg: blue  #007F7F
 text    eg: text=red
 vlink
 alink
 background eg:background = 037.jpg

=========================================================
basic format
 head
  h1 h2 h3 h4 h5 h6
 char format
  <b></b>  <i></i>
 paragraph
  br nobr div pre blockquote(缩进)
basic attributes
 align
 dir
 lang
 id
 title
=========================================================

&

Text format
 cite
 code kbd var
 dfn
 em strong
 address
 big
 small
 blink 闪烁
 sub 上标 
 sup 下标
 

list
 ul unordered list
 ol ordered list
 dl defination list
  dt defination title
  dd defination 内容
 

hr
 width eg: 10%   50
 size eg: 宽度
 color
 align

img
 src
 height
 align 调整文字和图片的关系
 border
 lowsrc 先给看低分辨率的图片 同时高分辨率的图片
 alt

hyper
===========================================
标签
<a name="">...</a>

<a href="URL#name">...</a>

target=_top,_blank
===========================================

map
===========================================
<a href="/cgi-bin/img/toolbar.map"><img ismap src=""></a>
<img src="" usemap="#map">
<map name="">
<area ...>
===========================================

Form
===========================================
action = "..."
enctype="mutilpart/form-data"/"text/plain"
method = post/get
target
===========================================

input
 text
 password
 file
 checkbox
 radio

select

Table
===========================================
 align  相当于img的border
 bgcolor,background
 border  表格的最外层的border
 

tr th td
 align
 valign
 width
 height
 colspan 向右扩展列     
 rowspan 向下扩展行
 
 
===========================================

frame
===========================================
<frameset>
 <frame></frame>
 <frame></frame>
</frameset> //不要放在head 或 body里


scrolling(滚动条) noresize iframe
===========================================

Auto fresh
===========================================
<meta http-equiv="Refresh" content="15;URL=http://www....html">
=========================================== 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值