Skip to content

Commit

Permalink
Differentiate the strong tag by enclosing it in <> (#37219)
Browse files Browse the repository at this point in the history
* Differentiate the strong tag by enclosing it in `<>`

* Update files/en-us/web/html/element/index.md

* Update files/en-us/web/html/element/index.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Hamish Willee <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 15, 2024
1 parent b957551 commit dbd0228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/html/element/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Use the HTML inline text semantic to define the meaning, structure, or style of
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| {{HTMLElement("a")}} | Together with its `href` attribute, creates a hyperlink to web pages, files, email addresses, locations within the current page, or anything else a URL can address. |
| {{HTMLElement("abbr")}} | Represents an abbreviation or acronym. |
| {{HTMLElement("b")}} | Used to draw the reader's attention to the element's contents, which are not otherwise granted special importance. This was formerly known as the Boldface element, and most browsers still draw the text in boldface. However, you should not use `<b>` for styling text or granting importance. If you wish to create boldface text, you should use the CSS {{cssxref("font-weight")}} property. If you wish to indicate an element is of special importance, you should use the strong element. |
| {{HTMLElement("b")}} | Used to draw the reader's attention to the element's contents, which are not otherwise granted special importance. This was formerly known as the Boldface element, and most browsers still draw the text in boldface. However, you should not use `<b>` for styling text or granting importance. If you wish to create boldface text, you should use the CSS {{cssxref("font-weight")}} property. If you wish to indicate an element is of special importance, you should use the {{HTMLElement("strong")}} element. |
| {{HTMLElement("bdi")}} | Tells the browser's bidirectional algorithm to treat the text it contains in isolation from its surrounding text. It's particularly useful when a website dynamically inserts some text and doesn't know the directionality of the text being inserted. |
| {{HTMLElement("bdo")}} | Overrides the current directionality of text, so that the text within is rendered in a different direction. |
| {{HTMLElement("br")}} | Produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant. |
Expand Down

0 comments on commit dbd0228

Please sign in to comment.