How To Highlight One Part of a Paragraph


How To Highlight One Part of a Paragraph? - XHTML 1.0 Tutorials - Body Tag and Block Level Tags



If you want to hightlight one part of a paragraph, you can use the "strong" element with the "p" element. Below is a good tutorial example of using "strong" elements:

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  <title>Using "strong" in a Paragraph</title>
  <p>I love to use <strong></strong>
  to learning XHTML. It is easy and fun.</p>

If you save the above document as strong.html, and view it with Internet Explorer, you will see that is highlighted in bold within the paragraph as shown below:
            Strong Element in P Elements

2007-05-12, 4547👍, 0💬