Removed duplicate info and corrected formatting (#23413)
There were two descriptions explaining what a strong tag is. The More Information links were duplicated. Also corrected inconsistent and incorrect markdown/html formatting.
This commit is contained in:
@ -3,18 +3,22 @@ title: Strong Tag
|
|||||||
---
|
---
|
||||||
# Strong Tag
|
# Strong Tag
|
||||||
|
|
||||||
The HTML < ***strong***> tag is a text emphasis tag which when used, results in, bold display of text, placed within the tags.
|
The `<strong>` tag is used to give importance to text in an HTML document. This can be done by wrapping the text you would like to be emphasized in an `<strong>` tag. Most browsers will render text wrapped in an `<strong>` tag as bold.
|
||||||
|
|
||||||
### Usage
|
Only the Global Attributes apply to the `<strong>` tag ie., there are no specific attributes for the `<strong>` tag.
|
||||||
|
|
||||||
|
Note: The `<strong>` tag should not be used to stylistically bold text.
|
||||||
|
|
||||||
|
A `<strong>` tag can also be referred to as a **strong element**.
|
||||||
|
|
||||||
|
### Example:
|
||||||
```
|
```
|
||||||
<strong> Hello World! </strong>
|
<body>
|
||||||
|
<p>
|
||||||
|
<strong> This </strong> is important.
|
||||||
|
</p>
|
||||||
|
</body>
|
||||||
```
|
```
|
||||||
The above code results in
|
|
||||||
|
|
||||||
**Hello World!**
|
|
||||||
|
|
||||||
This tag is also commonly referred to as the **strong element** . When it comes to attributes, only the Global Attributes apply to **strong**
|
|
||||||
tag ie., there are no specific attributes for <**strong**> tag.
|
|
||||||
|
|
||||||
### Browser Support
|
### Browser Support
|
||||||
| Name of the Browser | Support |
|
| Name of the Browser | Support |
|
||||||
@ -26,22 +30,7 @@ tag ie., there are no specific attributes for <**strong**> tag.
|
|||||||
|Opera|Yes|
|
|Opera|Yes|
|
||||||
|Safari|Yes|
|
|Safari|Yes|
|
||||||
|
|
||||||
The `<strong>` tag is used to give importance to text in an HTML document. This can be done by wrapping the text you would like to be emphasized in an `<strong>` tag. Most browsers will render text wrapped in an `<strong>` tag as bold.
|
|
||||||
|
|
||||||
Note: The `<strong>` tag should not be used to stylistically bold text.
|
|
||||||
|
|
||||||
### Example:
|
|
||||||
```
|
|
||||||
<body>
|
|
||||||
<p>
|
|
||||||
<strong> This </strong> is important.
|
|
||||||
</p>
|
|
||||||
</body>
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
#### More Information:
|
#### More Information:
|
||||||
- [strong tag: w3schools](https://www.w3schools.com/tags/tag_strong.asp)
|
- [strong tag: w3schools](https://www.w3schools.com/tags/tag_strong.asp)
|
||||||
- [strong tag: techonthenet](https://www.techonthenet.com/html/elements/strong_tag.php)
|
- [strong tag: techonthenet](https://www.techonthenet.com/html/elements/strong_tag.php)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user