answersLogoWhite

0


Best Answer

Use the text-transform property.

style.css (Example)

body

{text-transform: uppercase;}

This example makes any text in the tag uppercase (In the browser, of course. Not the source code).


To change text to just the H1 tag:

h1{

text-transform: uppercase;

}

User Avatar

Wiki User

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

Wiki User

12y ago

.smaller caps{

text-tranform: capilalize;

font-size: xx px or xx pt or small or however

}

in the stylesheet

or <p style="text-tranform: capilalize; font-size: xx px or xx pt or small">

for inline

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

Place it between <b> Your Text Here </b>

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

Bold is symbolized by a <b> in front of the text you want bold, and a </b> at the end of the area you want bold.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

Use font-weight with bold, like this:

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

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

The font style is made italic and the font weight is bold. For example:

<span style ="font-style:italic; font-weight:bold">This text is bold and in italics. </span>

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: How do you make the text bold in CSS?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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 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 make multi-coloured text in a css?

nikunj


Webpage example using HTML and css?

This example uses CSS in the head section of the HTML document: (the CSS has been highlighted in bold)CSS Exampleh1{color:blue;}.green{color:green;font-size:48px;}p.red{color:red;}This heading is in blue.This bold text is green and very large.This paragraph is in redHowever, this text is black as it is not a paragraph.


How is the CSS property font-weight written in java script?

Use .style.fontWeight to refer to that property. For example: var myHTMLElement=document.getElementById("myElement"); myHTMLElement.style.fontWeight="bold"; //Makes text in that element bold


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;


How do you make text smaller in HTML?

in css - layout font-size: 36;


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 is the CSS property color text?

To define the color of the text w/ CSS, it is {color:[color of text];} Ex.: body{color:#0000ff;}


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.


If you want to make mart of a document boldface you must do it before the text is entered?

If you have already typed the text if you highlight it using the right mouse button you can then click the bold button and it will change the text to bold. If you are using something such as google documents then you can use key board shortcuts and instead of clicking the bold button you can hold ctrl and click b to activate bold.