Web开发之html+css基础

Html+CSS

根标记:<html></html>

头标记<head></head>

主体标记<body></body>

段落标记:<p></p>

换行标记:


文本样式标记:<font></font >常用的属性有face size 最大为7 color

有序列表:

<ol>
<li></li>
</ol>

无序列表:

<ul>
<li>apple</li>
<li>phone</li>
</ul>

图像标记:<img src="图像的url"/>

表格标记:

12
3 4
 </table><br/>
 <table border="2px" width="100px" align="center">
  <tr height="30px">
  <th colspan="2">1</th>
  </tr>
  <tr width="100px" height="30px" align="center">
  <td>3</td>
  <td>4</td>
  </tr>
 
 </table><br/>
 <table border="2px" width="100px" align="center">
  <tr height="30px">
  <th rowspan="2">1</th>
  <th>2</th>
  </tr>
  <tr width="100px" height="30px" align="center">
 
  <td>4</td>
  </tr>
 
 </table>

超链接<a href=""></a>

内嵌式<style type="text/css" >

css代码

</style>

外链式

<link type="text/css" href="css文档路径" rel="stysheet"></link>

posted @ 2020-04-04 11:39  大壞狐狸  阅读(158)  评论(0)    收藏  举报