html基础

常用基本标签

meta

  • name与content
    name:description,keywords,robots
  • http-equiv与content
    http-equiv:content-type,refresh,expires,pragma与no-cache

文本

  • 标题标签
    <h# align=" "> </h#>
  • 字体标签

字符标签

  • 粗体
  • 斜体
  • 下划线

特殊字符

  • &nbsp;空格
  • &gt;大于号
  • &lt;小于号
  • &quot;引号
  • &copy;版权号
    在这里插入图片描述
	<p>
		<a href="#">
			<font size="2" color="#0066ff" face="宋体">
				把百度设为首页
			</font>
		</a>
	</p>
	<p>
		<a href="#">
			<font size="2" color="#0066ff" face="宋体">
				加入百度推广
			</font>
		</a>
		&nbsp|&nbsp
		<a href="#">
			<font size="2" color="#0066ff" face="宋体">
				搜索风云榜
			</font>
		</a>
		&nbsp|&nbsp
		<a href="#">
			<font size="2" color="#0066ff" face="宋体">关于百度</font>
		</a>
		&nbsp|&nbsp
		<a href="#">
			<font size="2" color="#0066ff" face="宋体">about baidu</font>
		</a>
	</p>
	<font size="2" color="#9eb1e9" face="宋体">&copy2010</font>
	<font size="2" color="#9eb1e9" face="宋体">baidu</font>
	<a href="#">
		<font size="2" color="#9eb1e9" face="宋体">使用百度前必读</font>
	</a>
	<a href="#">
		<font size="2" color="#9eb1e9" face="宋体">京ICP证030173</font>
	</a>
</body>

分隔标签

  • 文字分隔标签

    换行

    分段
  • 分割线标签
      <hr size="" width="200px" color="red" align="center" noshade/>

列表

  • 无序列表
    <ul>
		<li>牛奶</li>
		<li>面包</li>
		<li>cafe</li>
		<li>果冻</li>
	</ul>

在这里插入图片描述

  • 有序列表
	<ol>
		<li>1</li>
		<li>2</li>
		<li>3</li>
		<li>4</li>
	</ol>

在这里插入图片描述

  • 自定义列表
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

stttos

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值