<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Demo Structure<title> <link href="css/main.css"> <script src="js/main.js"></script> </head> <body> <h1>...</h1> <div class="container"> <div> ... </div> <span> ... </span> <table class="..."> ... </table> <form> ... </form> </div> <script src="..."></script> <script src="..."></script> </body> </html>
HTML root
<html></html>
Head
<head></head>
Title
<title></title>
Body
<body></body>
Headers
<h(1-6)></h(1-6)>
Paragraph
<p></p>
Anchor
<a href="..."></a>
Image
<img src="..." alt="...">
<ul> <li>...</li> <li>...</li> <li>...</li> </ul>
<ol> <li>...</li> <li>...</li> <li>...</li> </ol>
<dl> <dt>...</dt> <dd>...</dd> <dt>...</dt> <dd>...</dd> </dl>
<table> <thead> <tr> <th>...</th> <th>...</th> </tr> </thead> <tfoot> <tr> <td>...</td> <td>...</td> </tr> </tfoot> <tbody> <tr> <td>...</td> <td>...</td> </tr> </tbody> </table>
<form action="..." method="..."> <label> <input type="text" name="..."> </label> <label for="...">...</label> <input id="..." type="text" name="..."> <label for="..."></label> <select> <option>...</option> <option>...</option> </select> <label for="...">...</label> <input type="..." type="checkbox" name="..." value="..."> <label for="...">...</label> <textarea id="..." cols="..." row="..."></textarea> <input type="submit" value="Submit"> <input type="cancel" value="cancel"> </form>
<div></div> <span></span>
Meta
<meta charset="..."> <meta http-equiv="..." content="..."> <meta name="...">
Link
<link rel="..." href="...">
Script
<script type="..." src="..."></script>
Header
<header>Put Here Headers here</header>
Navigation
<nav>This holds your menu</nav>
Time
<time datetime="2014-02-03">3, Feburary 2014</time>
Aside
<aside>Side Show goes here</aside>
Mark
<mark>Mark your text</mark>
Footer
<footer>Your Copyright and trademark info will be here</footer>
Article
<article>Write your posts, in a semantic way</article>
Section
<section> <article> Structure your layout not only with styles, but also semantically as well </article> </section>
Form Attributes
<form action="example.php" method="POST" novalidate>
Input Attributes
<input type="text" name="name" autofocus placeholder="Name"> <input type="url" name="url" placeholder="https://www.example.com"> <input type="number" name="number" placeholder="1234567"> <input type="email" name="email" placeholder="john.doe@example.com" required>
<div data-easter-egg="bunny"> ... ... </div>