HTML HTML Projects


Beginners To Experts


The site is under development.

HTML Projects

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Document</title>
</head>
<body>

</body>
</html>
            

<h1>Welcome to My Website</h1>
<p>This is a simple paragraph describing the website.</p>
            

<ul>
  <li>Apple</li>
  <li>Banana</li>
  <li>Cherry</li>
  <li>Date</li>
</ul>
            

<ol>
  <li>Boil water</li>
  <li>Add tea leaves</li>
  <li>Pour water into cup</li>
  <li>Add sugar and milk</li>
  <li>Stir and enjoy</li>
</ol>
            

<a href="https://www.google.com" target="_blank">Visit Google</a>
            

<img src="https://via.placeholder.com/150" alt="Placeholder Image" />
            

<table border="1">
  <tr>
    <th>Name</th>
    <th>Age</th>
    <th>City</th>
  </tr>
  <tr>
    <td>Alice</td>
    <td>24</td>
    <td>New York</td>
  </tr>
  <tr>
    <td>Bob</td>
    <td>30</td>
    <td>Los Angeles</td>
  </tr>
</table>
            

<form action="/submit" method="post">
  <label for="name">Name:</label>
  <input type="text" id="name" name="name" />
  <input type="submit" value="Submit" />
</form>
            

<article>
  <h2>Article Title</h2>
  <section>
    <p>This is a section inside the article.</p>
  </section>
</article>
            

<blockquote>
  <p>The only limit to our realization of tomorrow is our doubts of today.</p>
  <footer>— Franklin D. Roosevelt</footer>
</blockquote>
            

<dl>
  <dt>HTML</dt>
  <dd>HyperText Markup Language</dd>
  <dt>CSS</dt>
  <dd>Cascading Style Sheets</dd>
</dl>
            

<!-- This is an HTML comment -->
<!-- Comments are ignored by browsers -->
            

<head>
  <meta name="description" content="This is a sample webpage" />
  <meta name="keywords" content="HTML, example, sample" />
</head>
            

<ul>
  <li>Fruits
    <ul>
      <li>Apple</li>
      <li>Banana</li>
    </ul>
  </li>
  <li>Vegetables
    <ul>
      <li>Carrot</li>
      <li>Broccoli</li>
    </ul>
  </li>
</ul>
            

<form action="/contact" method="post">
  <label for="email">Email:</label>
  <input type="email" id="email" name="email" />
  <br />
  <label for="message">Message:</label>
  <textarea id="message" name="message"></textarea>
  <br />
  <input type="submit" value="Send" />
</form>
            

<video width="320" height="240" controls>
  <source src="movie.mp4" type="video/mp4" />
  Your browser does not support the video tag.
</video>
            

<audio controls>
  <source src="sound.mp3" type="audio/mpeg" />
  <source src="sound.ogg" type="audio/ogg" />
  Your browser does not support the audio element.
</audio>
            

<p>The <abbr title="HyperText Markup Language">HTML</abbr> is the standard markup language.</p>
            

<a href="mailto:example@example.com">Send Email</a>
            

<p>Use the <code>print()</code> function to display output.</p>
            

<table border="1">
  <thead>
    <tr>
      <th>Name</th>
      <th>Age</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Alice</td>
      <td>25</td>
    </tr>
    <tr>
      <td>Bob</td>
      <td>30</td>
    </tr>
  </tbody>
</table>
      

<form>
  <fieldset>
    <legend>Personal Info</legend>
    <label for="name">Name:</label>
    <input type="text" id="name" name="name" />
  </fieldset>
</form>
      

<ol type="I">
  <li>First item</li>
  <li>Second item</li>
  <li>Third item</li>
</ol>
      

<button title="Click me to submit">Submit</button>
      

<nav>
  <a href="#home">Home</a> |
  <a href="#about">About</a> |
  <a href="#contact">Contact</a>
</nav>
      

<input type="text" placeholder="Enter your name here" />
      

<form>
  <button type="submit">Submit Form</button>
</form>
      

<p>This is a <mark>highlighted</mark> word.</p>
      

<img src="flower.jpg" alt="A beautiful flower" />
      

<p>This text is <del>old</del> and this is <ins>new</ins>.</p>
      

<progress value="70" max="100">70%</progress>
      

<select name="cars">
  <option value="volvo">Volvo</option>
  <option value="saab">Saab</option>
  <option value="fiat">Fiat</option>
</select>
      

<textarea rows="4" cols="50">Enter your text here...</textarea>
      

<p>E = mc<sup>2</sup></p>
<p>H<sub>2</sub>O is water.</p>
      

<a href="https://example.com" target="_blank">Visit Example</a>
      

<p>Terms and conditions apply.<small> Please read carefully.</small></p>
      

<time datetime="2025-06-02">June 2, 2025</time>
      

<iframe src="https://www.example.com" width="300" height="200"></iframe>
      

<style>
  .responsive-img {
    max-width: 100%;
    height: auto;
  }
</style>

<img src="image.jpg" alt="Description" class="responsive-img" />
      

<audio controls>
  <source src="audio.mp3" type="audio/mpeg" />
  Your browser does not support the audio element.
</audio>
      

<iframe width="560" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ" 
  title="YouTube video player" frameborder="0" allowfullscreen></iframe>
      

<details>
  <summary>More Information</summary>
  <p>Here is some additional information hidden by default.</p>
</details>
      

<a href="file.pdf" download>Download PDF</a>
      

<form action="/submit" method="post">
  <label for="name">Name:</label>
  <input type="text" id="name" name="name" required /><br>

  <label for="email">Email:</label>
  <input type="email" id="email" name="email" required /><br>

  <label for="message">Message:</label><br>
  <textarea id="message" name="message" rows="4" cols="50" required></textarea><br>

  <button type="submit">Send</button>
</form>
      

<section>
  <h2>Section Title</h2>
  <article>
    <h3>Article Title</h3>
    <p>Content of the article goes here.</p>
  </article>
</section>
      

<head>
  <meta charset="UTF-8" />
</head>
      

<head>
  <link rel="icon" href="favicon.ico" type="image/x-icon" />
</head>
      

<canvas id="myCanvas" width="200" height="100" style="border:1px solid #000000;">
  Your browser does not support the canvas element.
</canvas>
      

<nav>
  <ul>
    <li><a href="#home">Home</a></li>
    <li><a href="#about">About</a></li>
    <li><a href="#contact">Contact</a></li>
  </ul>
</nav>
      

<progress value="70" max="100">70%</progress>
      

<table border="1">
  <thead>
    <tr>
      <th>Name</th>
      <th>Age</th>
      <th>City</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Alice</td>
      <td>24</td>
      <td>New York</td>
    </tr>
    <tr>
      <td>Bob</td>
      <td>30</td>
      <td>Chicago</td>
    </tr>
  </tbody>
</table>
      

<ol>
  <li>First item</li>
  <li>Second item</li>
  <li>Third item</li>
</ol>
      

<ul>
  <li>Apple</li>
  <li>Banana</li>
  <li>Cherry</li>
</ul>
      

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <title>My First Page</title>
</head>
<body>
  <h1>Welcome to my website</h1>
  <p>This is a paragraph.</p>
</body>
</html>
      

<a href="https://www.example.com" target="_blank">Visit Example.com</a>
      

<img src="flower.jpg" alt="A beautiful flower" />
      

<blockquote>
  <p>The only limit to our realization of tomorrow is our doubts of today.</p>
  <footer>— Franklin D. Roosevelt</footer>
</blockquote>
      

<p>First line.<br />
Second line.</p>

<hr />
      

<p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>
      

<p>Use the <code>tag</code> to show code inline.</p>
      

<dl>
  <dt>HTML</dt>
  <dd>HyperText Markup Language</dd>
  <dt>CSS</dt>
  <dd>Cascading Style Sheets</dd>
</dl>
      

<input type="text" name="username" placeholder="Enter your name" />
      

<textarea name="message" rows="4" cols="50">Your message here...</textarea>
      

<button type="submit">Submit</button>
      

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
      

<link rel="icon" href="favicon.ico" type="image/x-icon" />
      

<p>E = mc<sup>2</sup></p>
<p>H<sub>2</sub>O is water.</p>
      

<p>This is <mark>important</mark> text.</p>
      

<p><del>Old text</del> <ins>New text</ins></p>
      

<time datetime="2025-06-02">June 2, 2025</time>
      

<figure>
  <img src="image.jpg" alt="Sample Image" />
  <figcaption>This is the caption.</figcaption>
</figure>
      

<a href="mailto:someone@example.com">Send Email</a>
      

<progress value="70" max="100">70%</progress>
      

<meter value="0.6">60%</meter>
      

<details>
  <summary>More info</summary>
  <p>Here is the additional information.</p>
</details>
      

<template id="myTemplate">
  <p>This is a template.</p>
</template>
      

<canvas id="myCanvas" width="200" height="100"></canvas>
      

<!-- This is a comment -->
      

<abbr title="HyperText Markup Language">HTML</abbr>
      

<address>
  123 Main St.<br />
  City, Country<br />
  Email: <a href="mailto:info@example.com">info@example.com</a>
</address>
      

<nav>
  <ul>
    <li><a href="#home">Home</a></li>
    <li><a href="#about">About</a></li>
  </ul>
</nav>
      

<section>
  <h2>Section Title</h2>
  <p>Section content here.</p>
</section>
      

<article>
  <h2>Article Title</h2>
  <p>Article content here.</p>
</article>
      

<aside>
  <h3>Related Links</h3>
  <ul>
    <li><a href="#link1">Link 1</a></li>
    <li><a href="#link2">Link 2</a></li>
  </ul>
</aside>
      

<header>
  <h1>Page Title</h1>
</header>
      

<footer>
  <p>© 2025 My Website</p>
</footer>
      

<main>
  <h2>Main Content</h2>
  <p>Here is the main content.</p>
</main>
      

<figure>
  <picture>
    <source media="(min-width: 650px)" srcset="large.jpg" />
    <source media="(min-width: 465px)" srcset="medium.jpg" />
    <img src="small.jpg" alt="Responsive Image" />
  </picture>
  <figcaption>Responsive image example.</figcaption>
</figure>
      

<p>ThisIsAReallyLongWordThatNeedsA<wbr>Break</p>
        

<script>
  alert('Hello, World!');
</script>
        

<noscript>
  Please enable JavaScript to view this site properly.
</noscript>
        

<link rel="stylesheet" href="styles.css" />
        

<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
        

<style>
  body {
    background-color: #f0f0f0;
  }
</style>
        

<iframe src="https://www.example.com" width="600" height="400"></iframe>
        

<embed src="file.pdf" width="600" height="400" />
        

<object data="movie.swf" width="400" height="300"></object>
        

<video width="320" height="240" controls>
  <source src="movie.mp4" type="video/mp4" />
  Your browser does not support the video tag.
</video>
        

<audio controls>
  <source src="audio.mp3" type="audio/mpeg" />
  Your browser does not support the audio element.
</audio>
        

<video controls>
  <source src="video.webm" type="video/webm" />
  <source src="video.mp4" type="video/mp4" />
  Your browser does not support the video tag.
</video>
        

<canvas id="myCanvas" width="200" height="100"></canvas>
<script>
  var c = document.getElementById("myCanvas");
  var ctx = c.getContext("2d");
  ctx.fillStyle = "#FF0000";
  ctx.fillRect(20, 20, 150, 50);
</script>
        

<img src="planets.jpg" usemap="#planetmap" alt="Planets">
<map name="planetmap">
  <area shape="rect" coords="34,44,270,350" href="mercury.html" alt="Mercury">
  <area shape="circle" coords="337,300,44" href="venus.html" alt="Venus">
</map>
        

<svg width="100" height="100">
  <circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow" />
</svg>
        

<details>
  <summary>More Info</summary>
  Here is the additional information.
</details>
        

<dialog open>
  This is a dialog box.
</dialog>
        

<template id="myTemplate">
  <p>This is a template content.</p>
</template>
        

<progress value="70" max="100">70%</progress>
        

<meter value="0.6">60%</meter>
        

<fieldset>
  <legend>Personal Info</legend>
  <label>Name:</label>
  <input type="text" />
</fieldset>
        

<fieldset>
  <legend>Shipping Address</legend>
  <!-- form elements -->
</fieldset>
        

<form oninput="result.value=parseInt(a.value)+parseInt(b.value)">
  <input type="range" id="a" value="50" />
  + 
  <input type="number" id="b" value="50" />
  = 
  <output name="result" for="a b">100</output>
</form>
        

<time datetime="2023-06-02T15:30">June 2, 2023, 3:30 PM</time>
        

<abbr title="HyperText Markup Language">HTML</abbr>
        

<bdo dir="rtl">This text is right to left</bdo>
        

<p>Price: <data value="29.99">$29.99</data></p>
        

<mark>Highlighted text</mark>