Home >Web Front-end >HTML Tutorial >Why is the font effect written with br larger than that written with pre? _html/css_WEB-ITnose

Why is the font effect written with br larger than that written with pre? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:41:351245browse

New students ask forum friends for advice.
There are two pieces of code below. Why is the font written in br larger than the font written in pre?
The following is from br


The following is from pre



Thanks in advance for all your help. Thanks.


Reply to discussion (solution)

No one? Are the seniors busy typing codes?

<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <title>Document</title></head><body><!--         标签本身就一些默认的CSS样式,除了 <div> <span>     文字,默认的font-size:16px;    <pre class="brush:php;toolbar:false">,默认的font-size:13px;--><p>    锄禾日当午,    汗滴禾下土。</p><pre class="brush:php;toolbar:false">    锄禾日当午,    汗滴禾下土。

<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <title>Document</title></head><body><!--         标签本身就一些默认的CSS样式,除了 <div> <span>     文字,默认的font-size:16px;    <pre class="brush:php;toolbar:false">,默认的font-size:13px;--><p>    锄禾日当午,    汗滴禾下土。</p><pre class="brush:php;toolbar:false">    锄禾日当午,    汗滴禾下土。




nin

<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <title>Document</title></head><body><!--         标签本身就一些默认的CSS样式,除了 <div> <span>     文字,默认的font-size:16px;    <pre class="brush:php;toolbar:false">,默认的font-size:13px;--><p>    锄禾日当午,    汗滴禾下土。</p><pre class="brush:php;toolbar:false">    锄禾日当午,    汗滴禾下土。






It turns out that the label itself also has css style. Although I haven’t learned css yet, I have heard about it. Thank you senior. Thank you so much.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn