HTML Cheat Sheet

Cheat sheet and tricks for the HyperText Markup Language (HTML).

Examples

Test HTML & JavaScript code

post.html

<!DOCTYPE html>
<html>
  <head><title>Test Page</title></head>
  <body>
    <form action="/action_page.php" method="post">
      First name: <input type="text" name="fname"><br>
      Last name: <input type="text" name="lname"><br>
      <input type="submit" value="Submit">
    </form>
  </body>
</html>