This code creates a simple button you can use on any page.
<button class="btn">Click Me</button>
A simple HTML card with title and paragraph.
<div class="card"><h3>Title</h3><p>Text</p></div>
A basic input field for forms.
<input type="text" placeholder="Enter name">
Input field for email addresses.
<input type="email" placeholder="Enter email">
Input field for passwords.
<input type="password" placeholder="Enter password">
A simple textarea for multi-line text input.
<textarea placeholder="Write something..."></textarea>
A clickable link styled as a button.
<a href="#" class="btn">Visit</a>
Display an image with HTML.
<img src="image.jpg" alt="Description">
A simple unordered list with items.
<ul><li>Item 1</li><li>Item 2</li></ul>
A simple ordered list with items.
<ol><li>Item 1</li><li>Item 2</li></ol>
A basic HTML table structure.
<table><tr><th>Header</th></tr><tr><td>Data</td></tr></table>
A simple container div.
<div class="container"></div>
A simple paragraph element.
<p>This is a paragraph.</p>
A simple h1 header.
<h1>Main Title</h1>
Inline text using span.
<span>Highlighted text</span>
Bold text example.
<b>Bold Text</b>
Italic text example.
<i>Italic Text</i>
Insert a line break.
<br>
Insert a horizontal line.
<hr>
HTML comment example.
<!-- This is a comment -->
Hyperlink example.
<a href="https://example.com">Visit Example</a>
Image with alt text.
<img src="image.png" alt="Description">
HTML charset meta tag.
<meta charset="UTF-8">
Responsive design meta tag.
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Paragraph with bold text inside.
<p>This is <b>bold</b> text.</p>
Multi-line HTML comment.
<!--
This is a multi-line comment
-->
A div with a class attribute.
<div class="container"></div>
A simple footer element.
<footer>Footer Content</footer>
A simple header element.
<header>Header Content</header>
A simple section element.
<section>Section Content</section>