Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[html] 第96天 写出以下几个HTML标签:字体、居中、文字加粗、下标 #962

Open
haizhilin2013 opened this issue Jul 20, 2019 · 7 comments
Labels
html html

Comments

@haizhilin2013
Copy link
Collaborator

第96天 写出以下几个HTML标签:字体、居中、文字加粗、下标

@haizhilin2013 haizhilin2013 added the html html label Jul 20, 2019
@LinStan
Copy link

LinStan commented Jul 21, 2019

字体:<font>
居中:<center>
文字加粗:<b> 文字强调:<strong>
下标:<sub>
字体和居中的是自己刚开始按照css直接猜的,后来一查还真是这样。而且手册不建议使用这两种标签。

@wxzwxzzzzz
Copy link

个人觉得前三个在应用中 直接用css会不会更好

@NicholasBaiYa
Copy link

字体: font
居中:center
加粗: b
下标: ````(不知道)

@xiangshuo1992
Copy link
Contributor

现在这些标签都有相应的CSS属性进行设置了吧
字体:font
居中:text-align: center
文字加粗:font-weight: bold
下标:vertical-align:sub

@Drowned-fish
Copy link

<font><center>都被废除了,推荐用css实现

@qp97vi
Copy link

qp97vi commented Aug 13, 2019

字体
居中


文字加粗
下标

@censek
Copy link

censek commented Jan 15, 2020

  • 字体:<font></font>
  • 居中:<center></center>
  • 文字加粗:<strong></strong> or <b></b>
  • 下标:<sub></sub>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
html html
Projects
None yet
Development

No branches or pull requests

8 participants