answersLogoWhite

0

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

12y ago

What else can I help you with?

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 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 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 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 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.


What is the definition of B tag in HTML?

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


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.


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.


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.