answersLogoWhite

0

What is the code for bold in HTML?

Updated: 8/10/2023
User Avatar

Wiki User

12y ago

Best Answer

Technically speaking, the HTML code to guarantee that text will be bold is the bold-faced tag: <b>Bold Text Here</b>

The bold-faced tag is available in HTML 4 and 5, but was deprecated in XHTML. The tag isn't semantic. If you want a more semantic solution (or if you're in XHTML) you'll want to use the <strong> tag. It works exactly the same way, and most browsers display <strong>Text</strong> as bold by default. However, to ensure that the strong tag remains bold, you also have to add a definition to your CSS.

strong {font-weight: bold;}

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

In HTML, inline elements are normally displayed without starting a new line:

True? or False?

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

correct HTML for bold text is:

<b>text you want to make bold</b>

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

The HTML code for making bold text is: your bold text here

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

b ('b' in more/less than signs, then your text, then '/b' in more/less signs.) I don't know if it uses HTML the answers, but it looks like this:

<b>example</b>

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Enter text here

The code listed above will Bold the text within the tags.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

You can use either "b" or "strong"

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

<b>your text here</b>

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

<b>Text here.</b>

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the code for bold in HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why use HTML codes?

You use HTML codes to tell the browser how to display your content. For example, if you want to display THIS in bold, you would send the following HTML code to the browser: THIS .


How will you make certain piece of text bold-faced in HTML?

For HTML, the code would be &lt;b&gt;(insert word here without parenthases)&lt;/b&gt;


What are different tags of HTML in bold?

In the Html the bold tag is used to bold the sentence..... Ex: &lt;b&gt;xxxx&lt;/b&gt;


What is function of HTML code?

HTML code sends instructions to a browser defining the format of the page. For example, you can use the &lt;b&gt;&lt;/b&gt; tags to tell the browser to display something in bold text.


What is opening and closing tag?

&lt; x &gt; opens, where x is a specific HTML-code, like b for bold. &lt;/ x &gt; closes E.g. &lt;b&gt;This is shown bold&lt;/b&gt;


What is b in HTML?

The b tag makes text bold.For example if you give the below code in your HTML pageThis is a sample text and this part alone would be displayed in Bold. The rest would be normalThe output would be:This is a sample text and this part alone would be displayed in Bold. The rest would be normal


What is the definition of B tag in HTML?

It stands for Bold. It is used to bold text in a web page.


What Is The Code To Show An Html A Text?

&lt;code&gt;&lt;code&gt;HTML TEXT HERE&lt;/code&gt;&lt;/code&gt;


HTML code has a limit of 10 webpages per site?

No! HTML is simply code. You can write 1 million pages of HTML code if you want. HTML is not a program. Its code. Now you may have a program that uses HTML code and that program has limitations. But not HTML itself.


How can you put your own games on your freewebs website?

Copy the Html code from the website (miniclip is the best for it). When editing the page, click the HTML icon on the same toolbar where it says content box and Bold, Italics and Underline. Then paste the code in their and press insert and it should work when you preview it.


What can bold style text be used to indicate?

Yes, bold is an HTML text feature. You use the &lt;b&gt; tag to display bold text.


Why won't this HTML work?

Obviously, you will not get an answer specific to your situation, because you did not supply any HTML code. However, a very common problem with HTML not displaying properly is missing or malformed tags. If you have a &lt;b&gt; tag with out a &lt;/b&gt; tag, all text after the &lt;b&gt; will be in bold, even if that was not your intent.