Basic HTML Tags and Text Formatting
Common HTML Elements
Every HTML page uses a few foundational tags like <p>, <strong> and <em>.
Paragraphs and Line Breaks
Use <p> for paragraphs and <br> for line breaks.
<p>First paragraph.</p> <p>Second paragraph.<br>with a line break.</p>
Formatting Text
Use <strong> for bold and <em> for emphasis.
<p><strong>Important info</strong> and <em>some emphasis</em>.</p>