<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-difference-between-b-and-strong-in-html-explained-with-examples-lnb3tbh5c" -->

---
title: The Difference Between <b> and <Strong> in HTML –...
description: Learn the difference between <b> and <strong> tags in HTML and how they are used for bold formatting. Discover the semantic meaning of the <strong> tag and the...
canonical: https://daily.dev/posts/the-difference-between-b-and-strong-in-html-explained-with-examples-lnb3tbh5c
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Difference Between <b> and <Strong> in HTML – Explained with Examples | daily.dev
og:description: Learn the difference between <b> and <strong> tags in HTML and how they are used for bold formatting. Discover the semantic meaning of the <strong> tag and the...
og:url: https://daily.dev/posts/the-difference-between-b-and-strong-in-html-explained-with-examples-lnb3tbh5c
og:image: https://api.daily.dev/og/posts/lnb3tBh5c.png
og:image:alt: The Difference Between <b> and <Strong> in HTML – Explained with Examples
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The Difference Between <b> and <Strong> in HTML – Explained with Examples

**[freeCodeCamp](https://daily.dev/sources/freecodecamp)** · 9 min read · 56 upvotes · 2 comments

## Summary

Learn the difference between <b> and <strong> tags in HTML and how they are used for bold formatting. Discover the semantic meaning of the <strong> tag and the stylistic purpose of the <b> tag. Understand how browser styles can override the default rendering of these tags. Explore the potential issues with using the <b> tag and how the <strong> tag can indirectly impact SEO.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.freecodecamp.org/news/difference-between-b-and-strong-in-html/>

## Community discussion

Top comments from developers on daily.dev.

**@fabooy961** · 4 upvotes

> the real tl;dr
>
> <b> is dedicated for styling while <strong> has a more semantic meaning / relevance especially for web browsers. It COULD impact SEO indirectly but It's not a direct ranking factor

**@qasimhafeez** · 0 upvotes

> We've been using these without knowing the basic difference..!
> Thanks for sharing....

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#html](https://daily.dev/tags/html), [#accessibility](https://daily.dev/tags/accessibility), [#seo](https://daily.dev/tags/seo)

[View this post on daily.dev](https://daily.dev/posts/the-difference-between-b-and-strong-in-html-explained-with-examples-lnb3tbh5c)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The Difference Between \u003cb\u003e and \u003cStrong\u003e in HTML – Explained with Examples","url":"https://daily.dev/posts/the-difference-between-b-and-strong-in-html-explained-with-examples-lnb3tbh5c","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-difference-between-b-and-strong-in-html-explained-with-examples-lnb3tbh5c"},"datePublished":"2024-04-27T07:17:41.220Z","dateModified":"2024-05-09T09:30:38.138Z","description":"Learn the difference between \u003cb\u003e and \u003cstrong\u003e tags in HTML and how they are used for bold formatting. Discover the semantic meaning of the \u003cstrong\u003e tag and the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/76c935bdf90f0fa928cd7d2045f700a5?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/76c935bdf90f0fa928cd7d2045f700a5?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"freeCodeCamp","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"freeCodeCamp","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1628412854/logos/freecodecamp","url":"https://daily.dev/sources/freecodecamp"},"commentCount":2,"discussionUrl":"https://daily.dev/posts/the-difference-between-b-and-strong-in-html-explained-with-examples-lnb3tbh5c","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":56},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"keywords":"webdev,html,accessibility,seo","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"freeCodeCamp","item":"https://daily.dev/sources/freecodecamp"},{"@type":"ListItem","position":3,"name":"The Difference Between \u003cb\u003e and \u003cStrong\u003e in HTML – Explained with Examples"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/the-difference-between-b-and-strong-in-html-explained-with-examples-lnb3tbh5c","comment":[{"@type":"Comment","text":"the real tl;dr\n\u0026lt;b\u0026gt; is dedicated for styling while \u0026lt;strong\u0026gt; has a more semantic meaning / relevance especially for web browsers. It COULD impact SEO indirectly but It’s not a direct ranking factor","datePublished":"2024-04-30T08:39:08.295Z","url":"https://daily.dev/posts/lnb3tBh5c#c-g7rvCLTJT","author":{"@type":"Person","name":"Le Fä De Le Lö","url":"https://daily.dev/fabooy961","image":"https://media.daily.dev/image/upload/v1677218265/avatars/avatar_H6lLM2y9S4Yf8VCWicpd8.jpg"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4}},{"@type":"Comment","text":"We’ve been using these without knowing the basic difference…!\nThanks for sharing…","datePublished":"2024-05-02T11:12:01.188Z","url":"https://daily.dev/posts/lnb3tBh5c#c-nCLKOwPoW","author":{"@type":"Person","name":"Qasim Hafeez Mughal","url":"https://daily.dev/qasimhafeez","image":"https://media.daily.dev/image/upload/s--2iZMt6cL--/f_auto/v1705590192/avatars/avatar_umYpXbzJc"}}]}
```

