<h1></h1>,一级标题,标题中最大

<h2></h2>,二级标题

<h3></h3>,三级标题

<h4></h4>,四级标题

<h5></h5>,五级标题

<h6></h6>,六级标题

<font></font>,字体设置标记,常用三个属性:size字体大小,color颜色,face字体。

<b>:粗字体标记。

<i>,斜字体标记。

<sub>文字下标字体标记。

<sup>,文字上标字体标记。

<tt>,打印机字体标记。

<cite>,引用方式的字体,通常是斜体。

<em>:表示强调,通常显示为斜体。

<strong>表示强调,通常显示为粗体字。

<small>小型字体标记。

<big>,大型字体标记。

<u>,下划线字体标记。

 

例子:

<html>

<head>

<title>Python 爬虫开发与项目实战</title><meta charset="UTF-8">

</head>

<body>

Hn 标题标记---->>

<br>

<h1>Python 爬虫</h1>

<h2>Python 爬虫</h2>

<h3>Python 爬虫</h3>

<h4>Python 爬虫</h4>

<h5>Python 爬虫</h5>

<h6>Python 爬虫</h6>

font标记---->>

<font size="1">Python 爬虫</font>

<font size="3">Python 爬虫</font>

<font size="7">Python 爬虫</font>

<font size="7"color="red" face="微软雅黑">Python 爬虫</font><font size="7"color="red"face="宋体">Python 爬虫</font>

<font size="7" color="red" face="新细明体">Python 爬虫</font>