Simplest way to create a submit button with html and js?
<p>The main trouble with inputs is that you can't use either :before or :after. I have to match the CSS of my input buttons with other s  and it's almost impossible to do with just css.</p>

<p>I was thinking it would be a lot easier to use a simple  with an onclick="" attribute that functions as a submit button but I'm not sure if this is a good or bad idea. For example I was thinking a  used as an input might be perceived as something bad by SEO or browsers on the other hand I'm submitting forms with javascript every day. </p>

<p>Would using elements like  for submit buttons not be recommended?</p>

<p>Also how do I tell JS to submit the form around the div so I can create one snippet that works on all forms? Would this work?</p>

<pre><code>&lt;div onclick="this.submit()"&gt;&lt;/div&gt;
</code></pre>
