HTML Diff
0 added 0 removed
Original 2026-01-01
Modified 2026-03-09
1 <p>The mechanisms for highlighting words and phrases in text are not limited to these tags. You have learned how to italicize phrases, but now let’s figure out how we can bold text.</p>
1 <p>The mechanisms for highlighting words and phrases in text are not limited to these tags. You have learned how to italicize phrases, but now let’s figure out how we can bold text.</p>
2 <p>The &lt;strong&gt; and &lt;b&gt; (which is short for “bold”) tags are intended to <b>highlight</b>words and phrases. By default, both tags display text in the same way: they make text bold.</p>
2 <p>The &lt;strong&gt; and &lt;b&gt; (which is short for “bold”) tags are intended to <b>highlight</b>words and phrases. By default, both tags display text in the same way: they make text bold.</p>
3 <p>The &lt;strong&gt; tag indicates that the marked text is <b>important</b>. It can be used to highlight warnings or parts of a document that the user should see before continuing with the rest of the text. In this case, enclosing part of the text with the tag &lt;strong&gt; should not change the meaning of the sentence.</p>
3 <p>The &lt;strong&gt; tag indicates that the marked text is <b>important</b>. It can be used to highlight warnings or parts of a document that the user should see before continuing with the rest of the text. In this case, enclosing part of the text with the tag &lt;strong&gt; should not change the meaning of the sentence.</p>
4 &lt;strong&gt;Please note!&lt;/strong&gt; There is a pitfall here. &lt;strong&gt;You may fall into the pit&lt;/strong&gt; if you get too close to the edge.<p>The &lt;b&gt; tag is intended to highlight text in order to attract attention to it, but in a way that does not attribute any other significance to it. You should use it only in cases where other highlighting tags are not appropriate. A typical example is the way in which the introductory sentence of an article is highlighted.</p>
4 &lt;strong&gt;Please note!&lt;/strong&gt; There is a pitfall here. &lt;strong&gt;You may fall into the pit&lt;/strong&gt; if you get too close to the edge.<p>The &lt;b&gt; tag is intended to highlight text in order to attract attention to it, but in a way that does not attribute any other significance to it. You should use it only in cases where other highlighting tags are not appropriate. A typical example is the way in which the introductory sentence of an article is highlighted.</p>
5 You enter a small room. Your &lt;b&gt;sword&lt;/b&gt; becomes brighter. A &lt;b&gt;rat&lt;/b&gt; runs swiftly along the wall.<p>Best of all, the differences between these tags will be noticeable to people who use some types of accessibility tools, including in particular the blind and the visually impaired. When a screen reader reads a website aloud, it will emphasize words that have been tagged with &lt;strong&gt; by changing intonation. This is in contrast to the less emphatic tone of voice that is used to read words enclosed in &lt;b&gt; tags.</p>
5 You enter a small room. Your &lt;b&gt;sword&lt;/b&gt; becomes brighter. A &lt;b&gt;rat&lt;/b&gt; runs swiftly along the wall.<p>Best of all, the differences between these tags will be noticeable to people who use some types of accessibility tools, including in particular the blind and the visually impaired. When a screen reader reads a website aloud, it will emphasize words that have been tagged with &lt;strong&gt; by changing intonation. This is in contrast to the less emphatic tone of voice that is used to read words enclosed in &lt;b&gt; tags.</p>
6 <p>The same goes for the tags &lt;em&gt; and &lt;i&gt;. The &lt;em&gt; tag “reader” will change the intonation of the voice that reads the word aloud.</p>
6 <p>The same goes for the tags &lt;em&gt; and &lt;i&gt;. The &lt;em&gt; tag “reader” will change the intonation of the voice that reads the word aloud.</p>