Skip to content

Instantly share code, notes, and snippets.

@WebReflection
Created September 26, 2019 08:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WebReflection/cdccaa1e401ab56c84716961ea45dff4 to your computer and use it in GitHub Desktop.
Save WebReflection/cdccaa1e401ab56c84716961ea45dff4 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>A Static Email Form Example</title>
<link rel="stylesheet" href="css/index.css">
<script defer src="//unpkg.com/static.email"></script>
<script defer src="js/index.js"></script>
</head>
<body>
<h1>A Static Email Form Example</h1>
<fieldset>
<legend>Contact Me</legend>
<form id="contact">
<label>
Your email address
<input name="from" type="email" required>
</label>
<label>
Your message (Markdown allowed)
<textarea name="md" rows="10" required></textarea>
</label>
<input name="submit" type="submit">
</form>
</fieldset>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment