Learn how to format content properly using headings, paragraphs, line breaks, and text formatting tags.
<h1> to <h6><p><br><hr><strong>, <em>, <mark>Headings are used to structure content from the most important (<h1>) to the least important (<h6>).
<h1>Main Title</h1>
<h2>Subheading</h2>
<h3>Section Title</h3>
Paragraphs group text together. Use <p> for regular text.
<p>This is a paragraph about HTML.</p>
Use <br> to break lines and <hr> to separate content.
<p>First line<br>Second line</p>
<hr>
<strong> → bold text<em> → italic/emphasized text<mark> → highlighted text
<p>This is <strong>important</strong> text.</p>
<p>This is <em>emphasized</em> text.</p>
<p>This is <mark>highlighted</mark> text.</p>
Write a small article using:
<h1> and <h2><strong> and <em><br> somewhere<hr> to separate sections<h1>My Favorite Hobby</h1>
<h2>Why I Love Coding</h2>
<p>I enjoy <strong>coding</strong> because it allows me to create <em>useful applications</em>.</p>
<p>Every day I learn something new.<br>It is both fun and challenging.</p>
<hr>
<h2>Next Steps</h2>
<p>I plan to build a personal project soon.</p>