Bold text inline?
See original GitHub issueI’m attempting to make a word in the middle of line bold, but <Color /> seems to add line breaks?
<div>
I am <Color bold>bold</Color>, hello world.
</div>
Output:
I am
bold
, hello world.
What is the correct way to accomplish this?
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
How to Bold, Italicize & Format Text in HTML - HubSpot Blog
To bold the text in HTML, use either the strong tag or the b (bold) tag. Browsers will bold the text inside both...
Read more >How to make text bold in HTML? - Tutorialspoint
To make text bold in HTML, use the <b>…</b> tag or <strong>…</strong> tag. Both the tags have the same functioning, but <strong> tag...
Read more >How to Bold Text in HTML - Instructions - TeachUcomp, Inc.
To bold text in HTML using CSS, place your insertion mark cursor at the location in the external, internal, or inline CSS style...
Read more >How to Make the Text Bold in HTML - W3docs
To make the text bold in HTML, you can use the <b> or <strong> tag. They do the same, but they have different...
Read more >HTML Text Formatting - W3Schools
The HTML <b> element defines bold text, without any extra importance. Example. <b>This text is bold</b>. Try ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Honestly, if that’s intentional it is definitely confusing and missing in the docs…
Thanks for the update and info