如何增加行的大小而不是html中的文本 [英] how to increase the size of line not the text in html

查看:76
本文介绍了如何增加行的大小而不是html中的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



如何增加行的大小而不是文本.line应该看起来像粗体。我写的代码如下:



Hi everyone ,

how to increase the size of line not the text .line should looks like bold.I wrote the code as follows:

<html>
    <head>
        <title>Solid line</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>
    <style>
        center. { text-align:center; }
    </style>
<body>

<p class="center">────────── Letʼs begin ──────────</p>

</body>
</html>





谢谢



Thanks

推荐答案

请查看我对该问题的评论并考虑到这一点。



您可以将代码更改为

Please see my comment to the question and take in into account.

You could change the code to
<p class="center">━━━━━━━━━━ Letʼs begin ━━━━━━━━━━</p>

<p class="center">══════════ Letʼs begin ══════════</p>





这一次,我使用了字符U + 2501和U + 2550以下。通常,第一个看起来是粗体,但不是所有字体系列,但您也可以通过CSS控制它。使用应用程序行charmap.exe(Windows,但在其他操作系统上有类似的)或Unicode站点供参考: http://unicode.org [ ^ ]。



考虑使用设计与图形艺术,网页设计,工业设计;也许你会学习如何创造更好的设计理念。



-SA


这篇关于如何增加行的大小而不是html中的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆