Place the text you want bolded in between these tags: bold text here.
The h1 tag, written
Your Heading Here
is the most important heading, typically the largest text at the top of the page.The h2 tag
is for the second most important heading, and so on down toh6, the smallest
. Use these sparingly, only to organize your page. [1] X Research source Users should be able to skim the headings quickly and find the topic they're looking for. When creating subheadings, move down just one level at a time. In other words, don't skip fromto.
This helps the HTML page preserve its formatting when transferred to another format.
[2] X Research source
As with most tags, place the affected text between a start tag and an end tag.
Try opening a basic HTML page with different browsers, and you might notice differences in the display. CSS tells the browser exactly how to display text altered by a given tag, to minimize the amount of variation.
I learned how to make this text bold with inline CSS.
<span style=>I learned how to make this text bold with inline CSS. There’s no reason to add the style attribute without specifying any styles. We’re just taking this one step at a time to make it easy to follow.
<span style=>I learned how to make this text bold with inline CSS. There’s no reason to add the style attribute without specifying any styles. We’re just taking this one step at a time to make it easy to follow.
I learned how to make this text bold with inline CSS. Again, this is unfinished and won’t do anything by itself. Don’t forget the quotation marks before and after font-weight:.
I learned how to make this text bold with inline CSS. Again, this is unfinished and won’t do anything by itself. Don’t forget the quotation marks before and after font-weight:.
I learned how to make this text bold with inline CSS.
I learned how to make this text bold with inline CSS.
I learned how to make this text bold with inline CSS.
“Bolder” text will always be thicker than the parent element. For example, if you make an entire paragraph “bold,” then use “bolder” on an individual sentence inside that paragraph, it will be even thicker. “Normal” text will be displayed as normal even if the span is inside a bold tag. You can instead use a number from 100 to 900 to specify thickness. 400 is normal text, while bold text uses a thickness of 700 by default. [7] X Research source