What is the importance of Strong, em and b Html Tags? | CodingSource

What is the importance of Strong, em and b Html Tags?

We apply the bold, underlined, horizontal criteria while writing the article. Is it positive to use strong and b separately in an article? We will explain how to use em and i tags. In old html tags, the b tag is the bold tag in English. The letter B is used as an abbreviation of this tag in html language. Likewise, U = Underline, i = italic.

In the use of SEO compatible articles, it is recommended to use the keyword in bold, underline and horizontally in order to make the keyword more prominent to the users and to attract the attention of Google bots more. In addition to these, the keyword should also be used in the H1 tag and contribute to page optimization.

However, in current html tags, the strong tag has replaced the b tag. You can take a look at the new usage patterns from the code blogs below.

<strong>bold</strong>

< em>italic< /em>

< span style="text-decoration: underline;">underline< /span>

It is always better and ideal to use the most recent usage rather than using both strong and b tags.

The < em > tag is the tag used to write our text in italics. Although italic characters are called italic, the tag that takes the initial letter of the word italic also serves the same function. The use of both is correct, but the < i > tag is often used.

Example of Italic Label;

<p>Normal Text.</p>

<p><i> Italic text with i tag.<i></p>

<p><em> Italic text with em tag.</em></p>

The <strong> tag is used to bold the text, as you can see, many articles on our site have words in bold. Another alternative is the < b > tag, which takes the initials of the word bold, which means Bold in English. Both tags have the same function, and the <b> tag is often used.

Strong Tag Example;

<p>Normal Text.</p>

</p><strong>Bold Text.</strong></p>

</p><b>Bold Text.</b></p>

The < s > tag allows us to strikethrough the text, it is an abbreviation of the word Strike in English, it can also be used as <strike>. But HTML5 does not support this tag writing, instead the < del > tag is used.

The < u > tag allows us to underline the text, it is an abbreviation of the English word underline.

Use of Strike and Underline tags;

<p>Normal Text.</p>

<p><s>Strikethrough Text.</s></p>

<p><del>Strikethrough text supported by HTML5.</del></p>

<p><strike>Strike text that is no longer used.</strike></p>

<p><u>Underline text.</u></p>

Using the new generation codes will make you look better in the eyes of search engines.

Html Codes Related Posts

Newer Post Load More Pages..