html常用标签快速检索

页面结构

<html></html>最外层,表明采用html语言,所有的其他标签都包含在这个标签内部。

<title></title>标题,显示在浏览器顶端

<body></body>正文部分


属性标签。可以在标签内部用空格分隔表示属性

align 对齐方式:center

bgcolor 背景颜色:yellow,

border 边框宽度



文字和段落格式

<h1></h1>标题。一共有6个,会显示不同大小的字体

<p></p>段落。段落和段落之间有一个回车空行

<br/>换行

<hr/>创建水平线

<b>粗体

<i>斜体


表格

<table>插入表格

<tr>行标

<td>列表(table data)


<a herf="URL">LinkWorld</a>插入超链接

<img scr="URL" width=" " height=" "/>插入图片


采用style的例子,格式

style="name1:value1;name2:valve2;"

<h2 style="background-color:red">

<h1 style="font-family:verdana;color:blue;background-color:#ffff00;">

<p style="font-family:arial;color:red;font-size:20px;">


完整的html参考手册

http://www.w3school.com.cn/tags/index.asp

HTMl标准属性手册

http://www.w3school.com.cn/tags/html_ref_standardattributes.asp

文本格式标签

http://www.w3school.com.cn/html/html_formatting.asp

常用的字符实体

http://www.w3school.com.cn/html/html_entities.asp

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值