一些自学的HTML代码(html基础东西 body font h标签属性等 )

来源:互联网 发布:安卓软件,电视直播 编辑:程序博客网 时间:2024/05/21 07:01

在实习的时候,学习一些简单的HTML,如果你们有C基础,这些代码会很简单的。

自己看到图片的 把图片路径改一下 就可以了 也可以更深一些了解


<html><head><title>我的第一个HTML页面</title> <metahttp-equiv = "Content-Type"content = "text/html;charset = GB2312"></head><body bgcolor = "green" background = "111.jpg">Hello Html !  </p></p><br>br 换一行</p> /p 换两行</p>bgcolor: 背景颜色 仅支持表示的方式有3种</p>bgcolor="red"<br> 1.英文"red"<br> 2.RGB"RGB(255,0,0)"<br> 3.六个16进制数来表示:"#FF0000"</p>background(优先于bgcolor):   添加背景图片<br>background="路径"<hr><a name="pp"><font size="72",color="RGB(105,123,63)" ><br><br><center>平静的湖面</center><br><br></font></a></p><hr><h1>  hr 实线 </p>文件标签大小 加粗 换行 自行看代码</h1><h1>  hl 互联网+ 大金融时代的到来  /hl</h1><h2>  h2 你快乐吗   /h2</h2><h3>  h3 平静的湖面   /h3</h3><h4>  h4 你好吗?   /h4</h4><h5>  h5 下一站   /h5</h5><h6>  h6 绿色   /h6</h6><font  size = "30"  color = "green" face = "隶书">font设置字体 size="正数" color="" face="字体"</font><hr></p><font  size = "20"  color = "green" face = "隶书">字符替换符</font><font size="20"> 8<9  & lt;</font><font size="20"> 空格  & nbsp;</font></p></p><font  size = "20"  color = "green" face = "隶书">加载图片 src="路径" alt="鼠标放图片上显示的名字" width= height= align=方位,middle top center bottom </font></p><hr><img align="middle" src="1.jpg" width="1000"  alt="美女"> <hr color="red" width="1024"  size="10" align="left"></p> <font size="5" color="RGB(224,31,26)">控制hr线 color width seze align = 方位</font></p> <font size="5" color="RGB(13,18,78)">有序列表:<font></p> <ol type="i"><li>申请退货</li><li>购买商品</li><li>通过物流</li><li>达成交易</li></ol></p> <font size="8" color="RGB(224,15,26)">type= "I ,i ,A ,a ";<font></p> <font size="12" color="RGB(224,31,26)">无序列表:<font><ul type = "circle" ><font size = "5" color = "RGB(13,18,78)" ><li>你好</li><li>你好吗</li><li>你真的好吗</li></font><font size="8" color="RGB(224.15.26)">type= "disc squre circle";<font> <hr><a href= "len2-1.htm">新浪</a>摆渡亚胡360<hr><h1>锚<br><a href="#pp">平静的湖面</a></p><hr><marquee direction="up"><img  width="200" src="1.jpg"> <img  width="200" src="1.jpg"> <img  width="200" src="1.jpg"> <img  width="200" src="1.jpg"> </marquee></body></html>


0 0