Simple settings for fonts
Take ancient poetry as an example to set the font:
The code is as follows:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>PHP中文網(wǎng)</title>
</head>
<body>
<p align="center"><strong>絕句</strong></p>
<p align="right"><em>作者:杜甫</em></p>
<p style="color: blue">兩個(gè)黃鸝鳴翠柳,<p>
<p><u>一行白鷺上青天。</u></p>
<p style="color: blue">窗含西嶺千秋雪,</p>
<p><del> 門泊東吳萬里船</del></p>
</body>
</html>
below Code tag usage:
<p> Tag definition paragraph.
<p>The element will automatically create some white space before and after it. The browser adds these spaces automatically, or you can specify them in your stylesheet.
align specifies the alignment of the text, right is right alignment
style defines the style of the text, color is the right alignment The specific settings, the color is blue
The words displayed in the u tag are underlined
The words displayed in the del tag are strikethrough
is displayed as follows: