Update Note and Em tag description (#33811)
I added clarification for the use of the <em> tag and expanded the note on "stylistic" use.
This commit is contained in:
@ -3,9 +3,9 @@ title: Em Tag
|
||||
---
|
||||
## Em Tag
|
||||
|
||||
The `<em>` tag is used to *emphasize* text in an HTML document. This can be done by wrapping the text you would like to be emphasized in an `<em>` tag. Most browsers will render text wrapped in an `<em>` tag as italicized.
|
||||
The `<em>` tag is used to *emphasize* text in an HTML document. This can be done by wrapping the text you would like to be emphasized in an `<em>` tag and an `</em>` tag respectively. Most browsers will render text wrapped in an `<em>` tag as italicized.
|
||||
|
||||
Note: The `<em>` tag should not be used to stylistically italicize text. The `<em>` tag is used to stress emphasis on text.
|
||||
Note: The `<em>` tag should not be used to stylistically italicize text. The `<em>` tag is used to stress emphasis on text. Typically, CSS formatting is used to stylistically italicize text.
|
||||
|
||||
### Example:
|
||||
```
|
||||
|
Reference in New Issue
Block a user