码迷,mamicode.com
首页 > 其他好文 > 详细

12.21

时间:2016-12-22 09:00:35      阅读:167      评论:0      收藏:0      [点我收藏+]

标签:nbsp   bottom   文字   无法   span   http   位置   tab   相对   

HTML


语言格式:
1<标签名>内容</标签名> <标签名 属性>
2<标签名></标签名>
3<标签名/>

 

知识点:
静态与动态网页的区别:是否从数据库提取数据
绝对路径与相对路径

 

1
<body background="" bgcolor="" text="" topmargin="" bottommargin="" leftmargin="" rightmargin="">显示的内容</body>

2
<font face="" color= size> </font>
<u>下划线</u> <b>加粗</b> <strong>加粗强调语气</strong>
<i>倾斜</i> <em>倾斜2<em>
<del>删除线</del> <sup>下标</sup> <sub>下标</sub>
<cent>相对于body居中</cent>
&nbsp;空格 <br />回车
<h1>一级标题</h1> <h2>二级标题</h2> <p>段落,有行间距</p>
<span 属性>样式</span>

3
<img src="" title="" width=“” height=“” title="" 图无法显示时显示此些字">


4
<ul type="disc">
<li>无序的列表</li>
</ul>无序的标签

<ol>
<li>有序的标签</li>
</ol>

5
矛点<a href="#s1" id="" name="" class="" >S1</a>
<a href="#top" ></a>
<a href="http://"></a>

6
表格
<table w= h= border=1>
<tr bgcolor= align=right valign=bottom>
<td></td>
<td></td>
</tr>

</table>

对齐方式
水平位置:align: left center right
垂直位置:valign:top middle bottom
合并单元格 <td colspan="2"></td>
colspan=""
rowspan=""


1body
2文字
3图片
4列表
5超链接
6表格

 

12.21

标签:nbsp   bottom   文字   无法   span   http   位置   tab   相对   

原文地址:http://www.cnblogs.com/yuyu99/p/6209784.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!