From cbc6909b0dafd5c89b6b5778a9c3cf1153752aef Mon Sep 17 00:00:00 2001 From: John Kennedy Date: Sat, 20 Oct 2018 10:39:03 +0100 Subject: [PATCH] improved tag article (#23496) Expanded b tag article to provide greater clarity and additional guidance Replaced example with more appropriate one Removed link to w3schools as info there is out of date and therefore misleading --- guide/english/html/elements/b-tag/index.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/guide/english/html/elements/b-tag/index.md b/guide/english/html/elements/b-tag/index.md index 3eaf7d2e62..a691226f62 100644 --- a/guide/english/html/elements/b-tag/index.md +++ b/guide/english/html/elements/b-tag/index.md @@ -4,17 +4,21 @@ title: B Tag ## B Tag -The `` tag is used to specify bold text, without conveying any special importance or relevance. When bolding text of special importance or relevance, it is recommended that you use the `` tag. +Formerly used to bold text the `` tag is now known as the 'Bring Attention To element' tag. It should be used only to draw attention to the contents of the element. + +Most browsers will display text in bold type but you should not use it for this purpose, instead use CSS `font-weight` property for purely visual display reasons. If you wish to signify the elements content are of special importance use the `` tag instead. + +An appropriate use case is drawing attention to keywords in a text. ### Example: ```html -This text is bold +Examples of extinct faunainclude ... ``` This would appear as: -**This text is bold** +Examples of extinct **fauna** include ... #### More Information: -1. [w3schools](https://www.w3schools.com/tags/tag_b.asp " Tag: w3schools")
-2. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b) + +1. [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b)