How to make text bold in HTML?
Answers
Answered by
9
★ Making the Text Bold :
In HTML, the <b> tag is used to render the text in bold style. The text between the opening <b> tag and the closing </b> tag appears bold on the Web page. To make a text bold in HTML, follow the given steps :-
■ Open a blank document in Notepad and add the code, given below, in the document :–
<!DOCTYPE html>
<html>
<head>
<title>
Marking Text Bold
</title>
</head>
<body>
This is an example of making a text bold.
<br>
<b>This text is bold</b>
</body>
</html>
■ Save the document with an appropriate name and .html extension.
■ Open the HTML document in Internet Explorer to view the result of your code.
★ Result :
This is an example of making a text bold.
This text is bold
Similar questions
Math,
7 months ago
Math,
7 months ago
English,
7 months ago
History,
1 year ago
Computer Science,
1 year ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago