answersLogoWhite

0


Best Answer

This is extremely easy. If you wanted text to be bold, first you would type < b >, then you would type your text you would want to appear bold, and then you would type < /b >. All together, it would look like this: < b >Your text here!< /b > This is the same for making it italicized - just change the "b" to an "i." Hope this helps! -jjshammas P.S. Make sure to take out the spaces in the above HTML Codes!

User Avatar

Wiki User

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

Wiki User

12y ago

We can ise tag to format the HTML text inti italic.

ex:

hi welcome to HTML

The text which is between tag can be dispalyed in italic form.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

the current practice is to use Cascading style sheets to change how your text is displayed. to make text italic with stylesheets you can use a span tag with a class

HTML

<span class='myClass'>YOUR TEXT HERE</span>

CSS

.myClass{

font-style: italic;

}

You can name the class anything you like as long as it matches in both the HTML and css files, and since it is a class make sure it has a leading . in your css file.

you can also use pure HTML to italicize text, but this is not recommended

HTML

<i>YOUR TEXT HERE</i>

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

It's important to not that it's not part of semantic code to add a tag specifically to make text bold or italic. XHTML tags, in fact, do not contain a bold or italic tag, and while HTML 5 has those tags, their use is strongly discouraged (the W3C uses the phrase "last resort.")

Instead, tags should reflect the reason behind making text bold or italic. In that case, for text you might normally make bold, you want to use the tag.

The text you're trying to say strongly.

By default, most browsers will automatically apply a user-agent stylesheet to all strong tags, making them bold. Similarly, italics are generally used to add emphasis to text. In that case, you use the emphasis tag:

Emphasized Text

Again, the browsers will generally add the "italic" font-style to these tags by default. Neither of these behaviors should be relied upon, however. It's possible that a browser manufacturer chooses to not implement the styles, or that a stylesheet like Eric Meyer's HTML 5 Reset is being used, and overriding the defaults. To makes sure these tags are display the way you want, you should explicitly define them in your stylesheet:

strong { font-weight: bold; }

em { font-style:italic; }

HTML 5 Note:

The W3C has provided tags that specifically set text aside solely for the purpose of applying a bold or italic treatment without implying that the text should be strengthened or emphasized. The tags are and respectively.

Use of these tags is non-semantic, and any example of when they're applicable is debatable. Personally, I find them useful when citing sources, or when referring to title in the midst of inline text. I think this is a valid use, because the italicizing of a book's title, for instance, is not being used to place emphasis on the title, but rather to simply set it aside visually.

As a rule, unless you've got a very good reason to drag and out of the HTML 4 grave, don't.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

This is very simple put the following code where you want your text to be italic:

You italic code goes here

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Use italics tag

<i>Text</i>

or Emphasis tag

<em>Text</em>

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

<i>

You use it in the following way:

This is in </i>italics</i>.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

You use the <i> tag like this:

<i>This text is in italics</i>

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

<i>example</i>

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Simple Text to bold or italic in HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is bold italic text?

This text is normalThis text is in boldThis is normal italicThis is bold italic


What is bold text?

This text is normalThis text is in boldThis is normal italicThis is bold italic


How do you get bold text font in deviantART?

According to the DeviantArt FAQ, you can use the normal HTML tags for italic. That is either the emphasis tag, or the italic tag.The italic tag works like this: This text would be italicThe emphasis tag works like this: This text would be italicBoth of these tags would produce the same results on your DeviantArt post. That would look like this:This text would be italic


What are the different logic?

My text is big and bold and italic


What are Bold italic and underlines called in windows?

Text decorations


What is difference between bold and italic?

Bold words stand out in a large text, wheras italic texts only standout while the passage is being read


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.


How do you get italics on Bebo?

TEXT - Bold textTEXT - Italic textTEXT - Underlined textTEXT - Strike-out text:)


Which font attribute allows you to change the text from bold to italic?

font style


Can you use BB-Code in your answers at WikiAnswers?

If the following text shows as Bold, Italic, and Underlined then YES it can. [B]Bold[/B] [I]Italic[/I] [U]Underlined[/U] Well... No it can't


Are set off from the surrounding text by bold or italic type or they may be underlined?

signposts ~


What adds emphasis to text and may include bold italic and underline?

font styles