answersLogoWhite

0

How do you bold text in HTML?

User Avatar

Anonymous

13y ago
Updated: 8/20/2019

In XHTML, you can use the <strong> tag, which by default makes it bold in all major browsers. You can also use any other tag you feel like styling for boldness, such as <span class="bold">

<strong>Bold Text</strong>

Or

<span class="bold">Bold Text</span>

With the CSS rule

strong, span.bold {font-weight:bold;}

In HTML 4 and HTML5, you have the <b> tag, which makes things bold by default. In HTML 4, this is by definition. In HTML 5, you still want to include the CSS, as the <b> tag is NOT bold by definition

<b>Bold Text</b>

CSS rule:

b {font-weight:bold;}

The <strong> tag will also work in HTML5.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

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.


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 for bold in HTML?

Technically speaking, the HTML code to guarantee that text will be bold is the bold-faced tag: &lt;b&gt;Bold Text Here&lt;/b&gt; 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 &lt;strong&gt; tag. It works exactly the same way, and most browsers display &lt;strong&gt;Text&lt;/strong&gt; 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;}


What are HTML translators?

That depends, it may be HTML script "translated" into normal text, as BBCode where you can make bold text, and it can be HTML which is translated into for example PHP with echo tags.


How do you make bold letters in HTML?

Use Bold tag &lt;b&gt; Eg: &lt;b&gt; text &lt;/b&gt;


What are translators?

That depends, it may be HTML script "translated" into normal text, as BBCode where you can make bold text, and it can be HTML which is translated into for example PHP with echo tags.


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

Use &lt;b&gt;Your Text Here&lt;/b&gt; OR &lt;strong&gt;Your text here&lt;/strong&gt;


What is the correct tag to render text in italics?

The HTML 5 specification recommends using &lt;strong&gt; for bold text and &lt;em&gt; for italicised text. In HTML 4.01 &lt;strong&gt; defines both strong and emphasised text; for purely bold text, use &lt;b&gt; instead (in HTML 5, &lt;b&gt; and &lt;strong&gt; are equivalent).


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


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;


Is it possible to apply more than formatting attribute to the same text?

If you're talking about HTML. Yes Text (Text) .. You can have italics as well as bold at one time.


How do you write bold letters on twitter?

Unfortunately you can't use custom HTML on Twitter, so you can't bold, italicise, underline or strike-through text.