日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

html 最初级学习笔记一

發布時間:2024/9/20 编程问答 22 豆豆
生活随笔 收集整理的這篇文章主要介紹了 html 最初级学习笔记一 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

一: 有序列表 ol

二:無序列表 ul

三: 自定義列表dl

四:文字標簽 h1 p ?font b()加粗 i()斜體 ?u(下劃線) sup(上標) sub(下標)

五:無意義字符標簽 span

六: 無意義塊標簽 div

七:寬width ? 高height ?title當當鼠標點上去是顯示的信息 alt 當圖片加載失敗時顯示的信息

八:所有標簽身上都有的屬性 title ?stytle ?id class

九:錨點 ?-a標簽

? ? <a name="top"></a> ?

十:超鏈接 -a標簽

? ? <ahref="http://www.baidu.com"> 百度</a>

十一:表格table

? ? ?tr:table row ?行

? ? td : table data ?lie

? ?caption ?表名

? ? th :列表名

例:

<table border="1px" width="500px" height="300px" align="center">


? ? ? ? ?<caption>班級信息表</caption>

? ? ? ? ? ? <tr bgcolor="#000000">

? ? ? ? ? ? ? ? ? ? <th><font color="red">姓名</font></th>

? ? ? ? ? ? ? ? ? ?<th><font color="red">年齡</font></th>

? ? ? ? ? ? ? ? ? <th><font color="red">性別</font></th>

? ? ? ? ? ? </tr>

? ? ? ? ? ? ? ? <tr align="center">

? ? ? ? ? ? ? ? ? ? ? ? <td valign="bottom">小鳥</td>

? ? ? ? ? ? ? ? ? ? ? ? ?<td>20</td>

? ? ? ? ? ? ? ? ? ? ? ? <td valign="top">男</td>

? ? ? ? ? ? ? </tr>

? ? ? ? ? ? ?<tr align="center">

? ? ? ? ? ? ? ? ? ? ? ? <td valign="bottom">大鳥</td>

? ? ? ? ? ? ? ? ? ? ? ? ?<td>22</td>

? ? ? ? ? ? ? ? ? ? ? ? <td valign="top">男</td>

? ? ? ? ? ? ? </tr>

</table>


表單 ?font標簽

action=“地址”

method=“get”

文本元素<input type=“text” name=“一定要有”>

密碼元素<input type="password" name="一定要有">

提交 <intup type="submit" ?name="一定要有">

重置 <input type="reset" name="一定要有">



例:<form action="123.php">

? ? ? ? ?<table border="0px" width="500px" align="center"

? ? ? ? ? ? ? <caption>注冊信息</caption>

? ? ? ? ? ? ? ? ? ?<tr>

? ? ? ? ? ? ? ? ? <td>用戶名:<input type="text" name="123" size="50"></td>

? ? ? ? ? ? ? ? ? ? </tr>

? ? ? ? ? ? ? ? ? ? ?<tr>

? ? ? ? ? ? ? ? ?<td>密碼:<input type="password" name="234" size="50"></td>

? ? ? ? ? ? ? ? ? ? ? ? </tr>

? ? ? ? ? ? ? ? ? ? ? ?<tr>

? ? ? ? ? ? ? ? ? ? ? ? ? ? <td><input type="submit" value="確認"></td>

? ? ? ? ? ? ? ? ? ? ? ? ? ? <td><input type="reset" value="重置"></td>

? ? ? ? ? ? ? ? ? ? ? ?</tr> ? ? ? ? ?

? ? ? ? ?</table>

? ? ?</form>




?





轉載于:https://blog.51cto.com/7409695/1401330

總結

以上是生活随笔為你收集整理的html 最初级学习笔记一的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。