HTML_Tags_Examples
HTML_Tags_Examples
- Example:
<p>This is a paragraph.</p>
2. **<h1> to <h6>**: Define headings, where <h1> is the largest and <h6> is the smallest.
- Example:
<h1>This is a heading</h1>
- Example:
- Example:
- Example:
Line 1<br>Line 2
- Example:
<hr>
7. **<ul> and <li>**: Create an unordered list.
- Example:
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
- Example:
<ol>
<li>First item</li>
<li>Second item</li>
</ol>
- Example:
<table>
<tr>
</tr>
</table>
- Example:
<form action="submit.php">
- Example:
- Example:
<button>Click me</button>
- Example:
<div>This is a div.</div>
- Example:
- Example:
- Example:
<blockquote>This is a quote.</blockquote>
- Example:
<code>console.log('Hello, world!');</code>
- Example:
<script>alert('Hello, world!');</script>
- Example:
- Example:
<header>Welcome to my website</header>
- Example:
- Example:
<nav>
<a href="#">Home</a>
<a href="#">About</a>
</nav>
- Example:
- Example:
<section>This is a section.</section>
- Example:
<article>This is an article.</article>
- Example:
<aside>This is a sidebar.</aside>
- Example:
<audio controls>
</audio>
- Example:
<video controls>
</video>
- Example:
### Summary
These HTML tags form the foundation of web development, each serving a unique purpose to