Inline elements are used to format text, emphasize it, and so on. Some of the very common inline tags are <b> and <i>. The first tag makes the text bold, the second one adds italics. Both tags are paired, which means they change exactly the text that is placed between the opening and closing tags:

<b> This text will be bold </b>
<i> And this text will be displayed in italics </i>

This code, apart from the tags themselves, is no different from what we studied earlier.

The point is that inline tags can be used inside block tags without breaking the structure. In fact, it looks like this:

<p> This is a paragraph where one word would be in <b>bold</b></p>
<p> And in this paragraph, one word will be written in <i>italic</i></p>

In this example, the structure of the HTML page will not differ in any way with or without the <b> and <i> tags. Here, the tags <b> and <i> are called nested in relation to the tag <p>, inside which each is used, and the tags <p> are called the parent tags.