html text formatting code example
Example 1: html bold
<!--Emphasized bold text. It's for content that is of greater importance-->
<strong>I'm a content</strong>
<!--Bold text. It's used to draw attention to text without indicating that it's more important-->
<b>I'm another content</b>
Example 2: html highlight text
For HTML5: (with 'mark' tag)
<p>Do not forget to buy <mark>milk</mark> today.</p>
In CSS file: (To customize highlight)
mark {
background-color: yellow;
color: black;
}
Example 3: html text tag
<text>Your Text...</text>
Example 4: prettier html formatting
"html.format.wrapAttributes": "force",
"html.format.wrapLineLength": 40,