微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

html – 我们如何只加粗表td标签中的名称而不是值

有什么办法可以让CC Quid,应用程序编号,应用程序标题以及粗体中的其他内容相同,我不希望它们的值是粗体.任何建议将不胜感激..
html = html + "<table border ='0'>";
    html= html + "<tr>";
    html =html + "<td>CC Quid: " +(data.response.docs[0].c_cc_guid)+"</td></tr>";
    html =html + "<tr><td>Application Number: " +(data.response.docs[0].c_application_number)+"</td></tr>";
    html =html + "<tr><td>Application Title: " +(data.response.docs[0].c_application_title)+"</td></tr>";
    html =html + "<tr><td>Application Type Name: " +(data.response.docs[0].c_application_type_name)+"</td></tr>";
    html =html + "<tr><td>Case Mgr Name: " +(data.response.docs[0].c_case_mgr_name)+"</td></tr>";
    html =html + "<tr><td>Filed Date: " +(data.response.docs[0].c_filed_date)+"</td></tr>";
    html =html + "<tr><td>Lead Atny Name: " +(data.response.docs[0].c_lead_atny_name)+"</td></tr>";
    html =html + "</table>";

解决方法

围绕你想要大胆的东西:
<span style="font-weight:bold">Your bold text</span>

这将进入你的< td>标签.

原文地址:https://www.jb51.cc/html/226677.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐