Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

How to Apply Bold and Italics

Reviewed by:
ffImage
Last updated date: 09th Sep 2024
Total views: 207.6k
Views today: 3.07k
hightlight icon
highlight icon
highlight icon
share icon
copy icon

An Introduction to Applying Bold and Italics

To emphasise your list of subjects, include style markup tags for bold and italics in your HTML header code. For bold and italic, there are four tags you might employ: Strong and b for bold, em and I for italic, respectively. It makes no difference which you use. Many people feel that <b> for "bold" and <i> for "italic" are simpler to remember than <strong> and <em>.


Applying Bold and Italics

Sometimes while constructing a web page, it's necessary to emphasise a small portion of the text to draw the user's attention to that particular paragraph.


Steps Involved in Applying Bold and Italics:

  1. Open Notepad, WordPad, or TextEdit if you're using Windows, or TextEdit if you're using a Mac.


Notepad


Notepad 


  1. Put any HTML content you wish to appear before the bold and italicised text by typing it here.


Type HTML content


Type HTML Content


  1. Use the <b> tag to highlight the phrase you wish to be bold and italicised.


Use <b> tag

 

Use <b> tag


  1. Use the <i> tag to highlight the text you wish to be bold and italicised.


Use <i> tag


Use <i> tag


  1. You should type the content in bold and italics.


Type content


Type Content


  1. The italicising's ending tag is <i>, so type that.


Apply Italics


Apply Italics


  1. The boldfaced portion's concluding tag should be typed as <b>.


Apply bold

 

Apply Bold

 

Use of Tags

HTML provides two tags to do this:

1. The <i> tag is mostly used to make the text between the opening and closing <i> tags italic.

2. <b>tag is mostly used to add bold text between opening and closing <b>tags.


Developing Web Page Using HTML

Professional HTML editors may be used to design and modify web pages.

However, we advise using a basic text editor like Notepad (PC) or TextEdit for learning HTML (Mac).

  • Step 1:

Open Notepad in (PC).

  • Step 2:

Compose Some HTML.

  • Step 3:

Note Down the HTML Page.

  • Step 4:

The HTML page may be seen on your browser.


Sample Questions

1. Which of the following HTML editors is used to fully automate the creation and deployment of websites?

  1. Netscape. 

  2. Microsoft Front Page.

  3. Adobe Page Mill.

  4. All of these.

  5. None of these.

Ans: Correct Choice

The whole site design and execution process is automated using Adobe Page Mill (C).

As a result, option (C) is right while the other possibilities are false.


2. A website was being created by Jack. In a label, he wishes to employ the colour black. Which of the ensuing hexadecimal numbers may Jack use while developing HTML?

  1. #000000

  2. #00000

  3. # FF0000

  4. #FFFF00

  5. None of these  

Ans: Correct Choice

(C) The colour black has the hexadecimal code of #000000.

As a result, option (C) is right while the other possibilities are false.


Learning by Doing

1. To make text italic, select the appropriate HTML element.

  1. <i>

  2. <italic>

  3. <it>

  4. <il>

Ans: (A)

A section of text can be defined in a different voice or mood using the HTML <i>element.


2.To make a text bold, use the appropriate HTML element.

  1. <bd>

  2. <bold>

  3. <bl>

  4. <b>

Ans:(D)

Use the <b> (bold) element in HTML to make text bold.


Summary

It may be important to highlight a brief passage of text while creating a web page in order to direct the user's attention to that particular paragraph. The <i> tag is typically used to render the text italic in the space between the opening and closing tags. The majority of the time,<b>tags are used to enclose bold text. We hope to have helped you with your queries. Try to solve the below exercises to test your knowledge of the concepts discussed in this article.

FAQs on How to Apply Bold and Italics

1. Why are HTML tags in bold, italic, and underline used?

The enclosing text should be highlighted, as indicated by the tag U. Try to avoid using this element because the majority of browsers utilise underlining to denote hyperlinks. If your users see "hyperlinks" that are broken, it may confuse them. The content is underlined using the u> element.

2. What does bold text serve as?

Bold is frequently used to draw attention to keywords crucial to the text's substance since it stands out so dramatically from plain text. For instance, the names of entries can typically be highlighted in bold, much as printed dictionaries frequently use boldface for their keywords.

3. What is the purpose of italic font?

Italics are most frequently employed to emphasise or contrast, or to attract attention to a certain section of a text.