HTML5 Tag Reference

A quick-start guide for essential semantic elements.


1. Document Structure

Every HTML5 document should follow this basic skeleton:

<!DOCTYPE html>
<html>
  <head>
    <title>Page Title</title>
  </head>
  <body>
    <!-- Content goes here -->
  </body>
</html>
            

2. Text Formatting

Use these tags to define the meaning of your text:

3. Form Elements

Forms allow you to collect data from users.

Tag Description
<input> Used for single-line text, emails, or passwords.
<textarea> Used for multi-line comments or messages.
<select> Creates a dropdown list of options.