在html表< td>中粗体显示一行 [英] Bold a single line in html table <td>

查看:210
本文介绍了在html表< td>中粗体显示一行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用下面的代码来创建一个表,但在标签中,我只需要XYZ是粗体,所有其他的是unbold。但是当我使用这个代码,整个是大胆的。我不想使用css样式表与这个文件。有人请告诉我如何实现这一点。

I have used the following code to make a table but in the tag i only need the XYZ to be bold and all others to be unbold. But when I used this code the whole is going bold. I don't wish to use a css style sheet with this file. Someone please tell me how I can achieve this.

<table width=100%>
<tr>
<td><center><b>XYZ<b><br>Aabc<br>+91-xxxxxxxxx<br>xyz@htjkl.com<center></td>
</tr>
</table>

提前感谢。

推荐答案


  1. 您应该使用样式表。

  2. 有一个简单的拼写错误: c $ c>< b> 。

  1. You should use a style sheet.
  2. There is a simple typo: The / is missing in the second occurrence of <b>.

这篇关于在html表&lt; td&gt;中粗体显示一行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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