Hyper Text Markup Language (HTML) is the standard language used to structure content on the web. It defines the meaning and structure of web content using elements (tags) and attributes.
VS Code Extension: Live Server, Live Preview, Prettier, Material Icon Theme
<h1>
to <h6>
define document outline.<h1>JavaScript Documentation</h1>
<h2>Variables</h2>
<h3>Declaring Variables</h3>
<h4>Using var</h4>
<h5>Variable Hoisting</h5>
<h6>Temporal Dead Zone</h6>
<p>
, <strong>
, <em>
, <span>
, <blockquote>
.<p id="main-description">This is the main description paragraph with a unique identifier.</p>
<p id="welcome-text">Welcome to our application!</p>
<ul>
, <ol>
, <li>
, and description lists <dl>
, <dt>
, <dd>
.<ol type="1">
<li>Numbered item (default)</li>
<li>Second item</li>
</ol>
<ol type="A">
<li>Uppercase letters</li>
<li>Second item</li>
</ol>
<ul>
<li>Red</li>
<li>Green</li>
<li>Blue</li>
</ul>
<img src="", height="", width="", alt="">.
<img src="profile-pic.jpg"
alt="John Doe - Web Developer"
width="200"
height="200"
class="profile-image"
title="John Doe">
<a href="", target="">
, <nav>
.<a href="<https://example.com>" target="_blank">Open in New Tab</a>
<table>
, <thead>
, <tbody>
, <tfoot>
, <tr>
, <th>
, <td>
for data tables, not layout.<table border="1">
<caption>Class Schedule</caption>
<thead>
<tr>
<th>Time</th>
<th>Monday</th>
<th>Tuesday</th>
<th>Wednesday</th>
</tr>
</thead>
<tbody>
<tr>
<td>9:00-10:00</td>
<td rowspan="2">Mathematics</td>
<td>Physics</td>
<td>Chemistry</td>
</tr>
<tr>
<td>10:00-11:00</td>
<td colspan="2">Lab Session</td>
</tr>
<tr>
<td>11:00-12:00</td>
<td>English</td>
<td>History</td>
<td>Geography</td>
</tr>
</tbody>
</table>