Home >Web Front-end >HTML Tutorial >Why is the font effect written with br larger than that written with pre? _html/css_WEB-ITnose
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.
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"> 锄禾日当午, 汗滴禾下土。