Tools, FAQ, Tutorials:
Highlight Part of a Paragraph in HTML
How To Highlight One Part of a Paragraph?
✍: FYIcenter.com
If you want to highlight 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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Using "strong" in a Paragraph</title> </head> <body> <p>I love to use <strong>dev.FYIcenter.com</strong> to learning XHTML. It is easy and fun.</p> </body> </html>
If you save the above document as strong.html, and view it with Internet Explorer, you will see that dev.FYIcenter.com is highlighted in bold within the paragraph as shown below:
⇒ Getting Extra Space between Paragraphs in HTML
⇐ Controlling Line Breaks in a Paragraph in HTML
2023-08-03, ∼2050🔥, 0💬
Popular Posts:
What validation keywords I can use in JSON Schema to specifically validate JSON Array values? The cu...
How To Get the Minimum or Maximum Value of an Array in PHP? If you want to get the minimum or maximu...
How To Access a Specific Character in a String? Any character in a string can be accessed by a speci...
What is EPUB 3.0 Metadata "dc:publisher" and "dc:rights" elements? EPUB 3.0 Metadata "dc:publisher" ...
How to convert a JSON text string to an XML document with PHP language? Currently, there is no built...