这次给大家带来html文本格式的知识总结,使用html文本格式的知识总结的注意事项有哪些,下面就是实战案例,一起来看一下。
HTML 文本格式化标签
标签
描述
<b> 定义粗体文本 <em> 呈现为被强调的文本 <i> 定义斜体字 <small> 定义小号字 <strong> 定义重要文本 <sub> 定义下标字 <sup> 定义上标字 <ins> 定义插入字 <del> 定义删除字</del></ins></sup></sub></strong></small></i></em></b>
通常标签 替换加粗标签 来使用, 替换 标签使用。然而,这些标签的含义是不同的: 与 定义粗体或斜体文本。 或者 意味着你要呈现的文本是重要的,所以要突出显示。现今所有主要浏览器都能渲染各种效果的字体。不过,未来浏览器可能会支持更好的渲染效果。文本代码案列:
<b>This text is bold</b> <br> <strong>This text is strong</strong> <br> <big>This text is big</big> <br> <em>This text is emphasized</em> <br> <i>This text is italic</i> <br> <small>This text is small</small> <br> This text contains <sub>subscript</sub> <br> This text contains <sup>superscript</sup>
预设文本
此例演示如何使用 pre 标签对空行和空格进行控制<p>相信看了这些案例你已经掌握了方法,更多精彩请关注php中文网<a href="http://www.php.cn/html5/html5-3-mip-normal.html" target="_blank">其它</a>相关文章!</p><div class="aritcle_card flexRow artxards"> <div class="artcardd flexRow"> <a class="aritcle_card_img" rel="nofollow" href="/xiazai/skill10828" title="财经HTML高端海报生成"><img src="https://img.php.cn/upload/skill/000/000/081/179336525482166.jpg" alt="财经HTML高端海报生成" onerror="this.onerror='';this.src='/static/lhimages/moren/morentu.png'" ></a> <div class="aritcle_card_info flexColumn"> <a rel="nofollow" href="/xiazai/skill10828" title="财经HTML高端海报生成" class="overflowclass">财经HTML高端海报生成</a> <p class="overflowclass">复杂得财经如何变成清晰,适合手机看的海报?如何加上你的IP</p> </div> <a rel="nofollow" href="/xiazai/skill10828" title="财经HTML高端海报生成" class="aritcle_card_btn flexRow flexcenter"><b></b><span>下载</span> </a> </div> </div><p>相关阅读:</p><p><a href="http://www.php.cn/p-tutorial-385286.html" target="_blank">HTML文本格式化的实例详解</a><br></p><p><a href="http://www.php.cn/p-tutorial-385268.html" target="_blank">html的特殊字符-css3 content:"特殊符号"应该如何使用</a><br></p><p><a href="http://www.php.cn/p-tutorial-385257.html" target="_blank">HTML table的直列化格式是什么</a><br></p>
前端入门到VUE实战笔记:立即使用
在学习笔记中,你将探索 前端 的入门与实战技巧!










