Skip to content

Instantly share code, notes, and snippets.

@arkhi
Last active December 28, 2015 17:59
Show Gist options
  • Save arkhi/7539743 to your computer and use it in GitHub Desktop.
Save arkhi/7539743 to your computer and use it in GitHub Desktop.
This "HTML 4.01 - strict" valid code shows a button can be used without any form.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta name="description"
content="Validity of a button without a form" />
<meta http-equiv="content-type"
content="text/html;charset=utf-8">
<title>JS Bin</title>
</head>
<body>
<p>
<a href="#help"><button>click to go to help!</button></a>
</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment