<!DOCTYPE html >
<html lang="en">
<head>...</head>
<body>...</body>
</html>
<h1>Heading level 1</h1>
<h2>Heading level 2</h2>
<h3>Heading level 3</h3>
<h4>Heading level 4</h4>
<h5>Heading level 5</h5>
<h6>Heading level 6</h6>
<p>
This is the first paragraph of text.
This is the first paragraph of text.
</p>
<div>
<h1>A section of grouped elements</h1>
<p>Here’s some text for the section</p>
</div>
<img src="sourch_image.png" alt=" logo">
<video src="test-video.mp4" controls>
Video not supported
</video>
<a href="http://www.winexsoft.com">Visit this site</a>
Open link to new tab
<a href="https://www.winexsoft.com" target="_blank">
<br>
<hr>
<div class="shadowbox">
<p>Here's a very interesting.</p>
</div>
The <span> HTML element is a generic inline container for phrasing content.
<p><span>Some text</span></p>
<!-- Comments can be multiple lines long. -->
<a href="https://developer.mozilla.org/en-US/docs/Web">The URL for this anchor element is an absolute file path.</a>
<a href="./about.html">The URL for this anchor element is a relative file path.</a>
<!--Non Semantic HTML-->
<div id="footer">
<p>this is a footer</p>
</div>
<!--Semantic HTML-->
<footer>
<p>this is a footer</p>
</footer>
<!--Video Tag-->
<video src="4kvideo.mp4">video not
supported</video>
<!--Audio Tag-->
<audio src="koreanhiphop.mp3">
</audio> <
!--Embed tag-->
<embed src="babyyoda.gif"/>
<figure>
<img src="qwerty.jpg">
<figcaption>The image shows the layout of a qwerty keyboard.</figcaption>
</figure>
<section>
<h2>Top Sports league in America</h2>
<!--writes independent content relating to that theme-->
<article>
<p>One of the top sports league is the nba.</p>
</article>
</section>
<table>
<thead>
<tr>
<th>John</th>
<th>Doe</th>
</tr>
</thead>
<tbody>
<tr>
<td>Jane</td>
<td>Doe</td>
</tr>
</tbody>
</table>
<table>
<caption>Example Caption</caption>
<tr>
.........
</tr>
</table>
<thead>
<tr>
.....................
</tr>
</thead>
<tbody>
<tr>
.....................
</tr>
</tbody>
The table data element, <td>, can be nested inside a table row element <tr>
<tr>
<td>cell one data</td>
<td>cell two data</td>
</tr>
The table row element, </tr>, is used to add rows to a table before adding table data and table headings.
<tr>
<td>cell one data</td>
<td>cell two data</td>
</tr>
<th rowspan="2">row 2 (this row will span 2 rows):</th>
<td colspan="2">col 1 (will span 2 columns)</td>
<tfoot>
<tr>
<th scope="row">Totals</th>
<td>21,000</td>
</tr>
</tfoot>
<ul>
<li>Milk</li>
<li>Cheese</li>
<ul>
<ol>
<li>Milk</li>
<li>Cheese</li>
<ol>
<p>This <em>word</em> will be emphasized in italics.</p>
<h1 id="name_01">Hello World</h1>
<p>This is <strong>important</strong> text!</p>
<h1 id="A1">Hello World</h1>
<a href="#id-of-element-to-link-to">Take me to a different part of the page</a>
<div>
<p id="id-of-element-to-link-to">A different part of the page!</p>
</div>
<form>
<label>Name: </label>
<input name="name" type="text">
<button>Save</button>
</form>
<label for="password">Enter your password</label>
<input type="text" name="name" required minlength="4" maxlength="8" size="10">
<input type="checkbox" name="breakfast" value="bacon">
<input type="radio" name="delivery_option" value="pickup" />
<input type="number" name="balance" />
<input type="text" name="balance" />
<input type="password" name="balance" />
<input type="text" name="balance" required />
<input type="number" min="5">
<input type="number" max="20">
<input type="text" name="tweet" minlength="140">;
<input type="text" name="tweet" maxlength="140">;
<input type="range" name="movie-rating" min="0" max="10" step="0.1">
<input list="ide">
<datalist id="ide">
<option value="Visual Studio Code" />
<option value="Atom" />
<option value="Sublime Text" />
</datalist>
<input type="text" name="country_code" pattern="[A-Za-z]{3}" title="Three letter country code">
<textarea name="textarea" ></textarea>
<select name="choice">
<option value="first">First Value</option>
<option value="second" >Second Value</option>
<option value="third">Third Value</option>
</select>
The <fieldset> HTML element is used to group several controls as well as labels (<label >) within a web form.
Example:
<form>
<fieldset>
<input>
...............
</fieldset>
</form>
The <legend> HTML element represents a caption for the content of its parent <fieldset>.
Example:
<form>
<fieldset>
<legend>Choose your favorite </legend>
<input>
...............
</fieldset>
</form>