新学员请教论坛朋友。
有以下两段代码,为什么用br写出来的就比pre写出来的字体大呢?
以下是br的
以下是pre的
先感谢各位朋友帮忙。谢谢。
没有人吗?前辈们都在忙着啪啪啪敲码呢吗?
<!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>
<div class="aritcle_card">
<a class="aritcle_card_img" href="/ai/1104">
<img src="https://img.php.cn/upload/ai_manual/001/503/042/68b6c5d39a38c971.png" alt="阿里云-虚拟数字人">
</a>
<div class="aritcle_card_info">
<a href="/ai/1104">阿里云-虚拟数字人</a>
<p>阿里云-虚拟数字人是什么? ...</p>
<div class="">
<img src="/static/images/card_xiazai.png" alt="阿里云-虚拟数字人">
<span>2</span>
</div>
</div>
<a href="/ai/1104" class="aritcle_card_btn">
<span>查看详情</span>
<img src="/static/images/cardxiayige-3.png" alt="阿里云-虚拟数字人">
</a>
</div>
<pre class="brush:php;toolbar:false;"> 锄禾日当午, 汗滴禾下土。
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号