Answers for "HTML Text Formatting"

5

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;
}
Posted by: Guest on March-16-2020
6

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>
Posted by: Guest on July-27-2020
4

html text tag

<text>Your Text...</text>
Posted by: Guest on March-10-2020
0

prettier html formatting

"html.format.wrapAttributes": "force",
"html.format.wrapLineLength": 40,
Posted by: Guest on February-25-2020
4

html formatting

<p>Normal Text</p>
<p><b>Bold Text</b></p>
<p><i>Italic Text</i></p>
<p><em>Emphasized Text</em></p>
<p><mark>Marked Text</mark></p>
<p><small>Small Text</small></p>
Posted by: Guest on May-02-2021
0

HTML Text Formatting

<b> - Bold text
    <strong> - Important text
    <i> - Italic text
    <em> - Emphasized text
    <mark> - Marked text
    <small> - Smaller text
    <del> - Deleted text
    <ins> - Inserted text
    <sub> - Subscript text
    <sup> - Superscript text
Posted by: Guest on October-15-2021

Browse Popular Code Answers by Language