" tag; the syntax "bold text"; 2. Use the "" tag, the syntax "bold text< /strong>"; 3. Add the "font-weight:bold;" style to the text element."/>
" tag; the syntax "bold text"; 2. Use the "" tag, the syntax "bold text< /strong>"; 3. Add the "font-weight:bold;" style to the text element.">
Home >Web Front-end >HTML Tutorial >How to set bold font in html htmlHow to set bold: 1. Use the "" tag; syntax "bold text"; 2. Use the "" tag , the syntax is "bold text"; 3. Add the "font-weight:bold;" style to the text element. The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer. htmlSet bold 1. Use the "" tag 2. Use the "" tag ##3. Use the style attribute Add the "font-weight:bold;" style to the text element html video tutorial" The above is the detailed content of How to set bold font in html. For more information, please follow other related articles on the PHP Chinese website!How to set bold font in html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
正常文本<br><br>
<b>粗体文本</b>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
正常文本<br><br>
<strong>粗体文本</strong>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
正常文本<br><br>
<span style="font-weight: bold;">粗体文本</span>
</body>
</html>
Recommended tutorial: "