Text-level Semantic Elements

Contact Us or call 1-877-932-8228
Text-level Semantic Elements

Text-level Semantic Elements

Text-level semantic elements provide structural information about the content they contain. The most elements of this type are <em> and <strong>. Both elements indicate that the element content should be emphasized. <strong> indicates stronger emphasis than <em>. Most browsers bold <strong> content and italicize <em> content. The code below illustrates how these tags can be used:

Code Sample:

<html lang="en">
<meta charset="UTF-8">
<p>This is <em>important</em>.</p>
<p>This is <strong>really important</strong>.</p>

Code Explanation

The page is rendered as follows:Example of Strong Tags Used for Emphasis