How to bold title html tag

2019-08-30 03:31发布

I see a interesting thing with title tag html, the title tag can bold. Like this page. Anyone know how to do it? bold title tag

标签: html html5
2条回答
Luminary・发光体
2楼-- · 2019-08-30 03:52

One solution is to use the unicode chars of bold text. If you inspect the source of those examples that you quoted, you see this:

enter image description here

You can copy this line:

CSS Editor -

查看更多
姐就是有狂的资本
3楼-- · 2019-08-30 04:14

You can use the <strong> tags inside your normal text tags in HTML (<p>, <a>, <span>, etc.)

Styles cannot be applied to the <title> tag.

In CSS, you can use the property font-weight: bold; on any normal text tags as well.

查看更多
登录 后发表回答