列表

详情


FED33. 加粗文字

描述

使用一个标签将“牛客网”三个字加粗显示

原站题解

HTML/CSS/JavaScript 解法, 执行用时: 858ms, 内存消耗: 77852KB, 提交时间: 2021-02-21

{"css":"","js":"","html":"<p><strong>牛客网</strong>,程序员必备求职神器</p>","libs":["jquery","underscore"]}

HTML/CSS/JavaScript 解法, 执行用时: 867ms, 内存消耗: 77772KB, 提交时间: 2021-07-20

{"css":"","js":"let p = document.querySelector('p');\np.innerHTML=p.innerText.replace(\"牛客网\",\"<strong style='font-weight:999'>牛客网</strong>\")","html":"<p>牛客网,程序员必备求职神器</p>","libs":[]}

HTML/CSS/JavaScript 解法, 执行用时: 867ms, 内存消耗: 77772KB, 提交时间: 2020-12-21

{"css":"","js":"","html":"<p><strong>牛客网</strong>,程序员必备求职神器</p>","libs":[]}

HTML/CSS/JavaScript 解法, 执行用时: 868ms, 内存消耗: 77772KB, 提交时间: 2021-04-30

{"css":"","js":"","html":"<p>\n    <strong>牛客网</strong>,程序员必备求职神器</p>","libs":[]}

HTML/CSS/JavaScript 解法, 执行用时: 868ms, 内存消耗: 77772KB, 提交时间: 2020-12-05

{"css":"","js":"","html":"<p><strong>牛客网</strong>,程序员必备求职神器</p>","libs":[]}

上一题