What is strong Tag in HTML? Definition & Example

What is the strong Tag in HTML


What is the Strong TAg HTML 

✷ The <strong> tag in HTML is used to indicate that certain text is important or of strong significance. 

✷ By default, browsers display the text inside <strong> in bold, but its main purpose is semantic, meaning it gives meaning to the text, not just styling.

✷ The <strong> tag is an inline element, which means it can be used inside paragraphs, headings, or other text without breaking the layout.

✷ It also helps screen readers and other assistive technologies emphasize important content, improving accessibility.

✷ <strong> Tag   is semantic html tag indicates the text inside strong importance to enclosed text.

✷ <strong> Tag   browser and assistive technologies  by default browsers display  <strong> text in bold 

Syntax :-

<strong> Text Content </strong>

 What is the <strong> Tag in HTML

Example 


<!DOCTYPE html>
<html>
<body>
<p> html strong tag</p>
  <p><strong> Strong text is important </strong> </p>

</body>
</html>

What is the <strong> Tag in HTML

Explain Program

Step 1 ]

<!Doctype html>

<!doctype html>  always be the first line of any HTML document.

Step 2 ]

   <html> and </html>

   html  is the root element.

Step 3 ]

<body> and </body>

body  is  main content area.

All visible content inside to  the <body> tag

Step 4]

<p> html strong tag</p>

<p> tag define paragraph text

line will display normal paragraph

Step 5]


  <p><strong> Strong text is important </strong> </p>

 <p> tag create paragraph.
inside use <strong> tag.
<strong> tag browser text important or emphasized.
<strong> text bold it semantic.
<strong> text bold & semantically important.

What is the <strong> Tag in HTML

 output

What is the <strong> Tag in HTML

Related Post :-

how to use the video tag in html

how to create a horizontal frameset in html

how to create top navigation menu

Comments

Popular posts from this blog

HTML Tag

HTML Input Type Submit Syntax and Example

CSS Text Color Explained with Syntax and HTML Examples