How do I make Bold , Italic in text

Asked By 30 points N/A Posted on -
qa-featured

Hello experts,

How do I Bold , Italic , Underline my text in web page? How it works to my site and how will I use? What is the code? Please tell me about this topic.

SHARE
Best Answer by Deval Hicks
Answered By 0 points N/A #163256

How do I make Bold , Italic in text

qa-featured

Hello,

  • For bold your text you can use <b> tag. Example: <b> This text will show bold</b>.
  • For Italic your text you can use <i> tag. Example: <i> This text will show Italic </i>.
  • For Underline your text you can use <u> tag. Example: <u> This text will show bold</u>.

Thanks.

Best Answer
Best Answer
Answered By 0 points N/A #163257

How do I make Bold , Italic in text

qa-featured

It is very simple to write bold and italic code on your website, I would like to tell with an example, for example you want to write “MY FIRST PAGE” and make it bold the you may have to use this code:

<b>MY FIRST PAGE</b><br /> in this code the first <b> shows that bold style starts from this point while </b> shows the end point of you bold words and <br/> shows break of the line.

And if you want to write “MY FIRST PAGE” in italic style then you may have to use this code

<i>MY FIRST PAGE</i><br /> in this code the first <i> shows that italic style starts from this point while </i> shows the end point of you italic words and <br/> shows break of the line.

And if you want to write “MY FIRST PAGE” in both bold and italic style then you may have to put this code into your website

<b><i>MY FIRST PAGE</i></b><br /> in this code <b><i> shows that your bold and italic words starts from here and </i></b> shows that till this words are bold and italic while <br/> shows line break.

Answered By 590495 points N/A #291501

How do I make Bold , Italic in text

qa-featured

If you want to apply or use those text formatting elements on a web page, it is easy. To make texts bold, you can use either <b>..</b> or <strong>..</strong>. To apply italics on texts, you can use either <i>..</i> or <em>..</em>. To underline texts on a web page, use the tag <u>..</u>. The HTML <b> element or tag defines bold text.

You can use this tag if you simply want to bold the text without giving any extra importance. The HTML <strong> element or tag defines strong text. Use this tag if you want to add “strong” importance to the text. The HTML <i> element or tag defines italic text. Use this if you just want to italicize text but doesn’t want to add extra importance.

The HTML <em> element or tag defines emphasized text. Use this tag if you want to add importance to the text. The HTML <u> element or tag is used to represent text that should be different from normal text in terms of style like misspelled words. According to W3Schools.com, avoid using the <u> tag to avoid getting confused between an underlined text and a hyperlink.

Related Questions