HTML基本基础语法知识

基础框架:html    head { title   meta(charset ,content ,name="keywords" content="..." 推广)   style(css)   script(JS)  }

 body(bgcolor[背景]  text[前景文字颜色])    

<img src="" />  图片

<a href  target=''_self/_blank"> </a>  普通链接  (target里面的属性设置 当点击链接的时候是本页跳转还是跳转到新页)

"<a name="..."></a> <a href="# ..."></a>"书签式链接 ,用来进行本页面跳转的,注意#的使用就行。

<area class="" id="" href="" alt="" shape="" coods="">  热区式链接

改编字体颜色两种方式: css(对全部锁定的改变)  或者是 font(对单独的进行改变) 

字体显示形式改变:<u>[下划线] <i>[斜体] <b>[加粗] <sub>[下标] <sup>[上角标] <p>[段落]  <div>[分层web2.0的标记]

                                 <div id=" "> :分组,分块,布局

                                 <ol>  <li>...</li> <li>...</li></ol> :有序在文字前面加上序号

                                 <ul>  <li>...</li> <li>...</li> </ui>:无需,在文字前面加上小点点

                                 <table> tr  td<table>  colspan行合并   rowspan列 

                                 <select >  <optgroup label="..."> <option>  </option>  </optgroup>  </select> :下拉框实现

                                 <textarea rows="..." cols="...">  </textarea>  :  文本字段{带下拉条}

                                 <input type="hidden" value="..." />  : 隐藏字段

                                 <input type="file" name="..."  id="..."/>  : 文件域

                                 <input type="image" src="..."/>  :  图片提交按钮[button/submit] <button>按钮</button>

                                 <form  action="..." name="..." method="...">  ... </form>  :表单提交

注:在body中单独写文字的时候 ,一般都套上span(为js准备好操作)

 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值