answersLogoWhite

0


Best Answer

Use font-weight with bold, like this:

<span style ="font-weight:bold;">This text is bold</span>

User Avatar

Wiki User

โˆ™ 2014-04-22 19:12:15
This answer is:
User Avatar
Study guides

Petals

Sepals

Nectaries

Carpel

โžก๏ธ
See all cards
โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…
No Reviews

Add your answer:

Earn +20 pts
Q: How do you make the text bold in CSS?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What CSS properties are used the make text appear in italics as bold?

The font style is made italic and the font weight is bold. For example: &lt;span style ="font-style:italic; font-weight:bold"&gt;This text is bold and in italics. &lt;/span&gt;


What do the effects of CSS look like?

Tags that are styled with CSS defining bold text may look like this. Tags that are styled with CSS defining italicized text may look like this. Tags that are styled with CSS defining text that is strike-through'ed may look like this.


How do you bold text in HTML?

In XHTML, you can use the &lt;strong&gt; 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 &lt;span class="bold"&gt; &lt;strong&gt;Bold Text&lt;/strong&gt; Or &lt;span class="bold"&gt;Bold Text&lt;/span&gt; With the CSS rule strong, span.bold {font-weight:bold;} In HTML 4 and HTML5, you have the &lt;b&gt; 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 &lt;b&gt; tag is NOT bold by definition &lt;b&gt;Bold Text&lt;/b&gt; CSS rule: b {font-weight:bold;} The &lt;strong&gt; tag will also work in HTML5.


What is the correct HTML for bold text?

correct HTML for bold text is: &lt;b&gt;text you want to make bold&lt;/b&gt;


How do you make multi-coloured text in a css?

nikunj


How do you get bold text font in deviantART?

To make text appear bold in a comment or journal on deviantART simply put before your text, and at the end of text. Be sure to put the closing tag ( ) after your text or all text that you do not want to be bold will be bold!!


How do you make each word in a text start with a capital letter in css?

text-transform:capitalize


What is the use of css?

CSS is used to add style to HTML documents. HTML is designed to code the elements of a webpage, like text and pictures. CSS (Cascading Style Sheets) is used to define how they look (color, size, bold, etc.). CSS was used to fix a problem created when HTML tries to define how a page looks. It is now not acceptable to have HTML tags like &lt;b&gt; (which makes text bold). You should now include all of that information in CSS.


How do you save CSS files?

CSS files are saved with a name and the ".css" extension: styles.css Make sure the CSS file is made with a pure text editor and no HTML tags are on the CSS file.


In CSS How do you make each word in a text start with a capital letter?

text-transform: capitalize


How do you make each word in a text start with a capital letter css?

text-transform: uppercase


What is the code to make font bold?

Bold: &lt;b&gt;text here&lt;/b&gt; Itallic:&lt;i&gt;text here&lt;/b&gt;

People also asked