Computer Science, asked by summer4004, 10 months ago

How to make text bold in HTML?

Answers

Answered by MajorLazer017
9

\huge\bold{\green{Answer :-}}

★ 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