Found the solution on this interesting page:
In a list, there's a button:
<form>
<ul>
<li>
<a href="account.html" class="button">
<button type="submit">Submit</button>
</a>
</li>
</ul>
</form>
I attempted the following code:
<form action="account.html">
<button type="submit">Submit</button>
</form>
However, none of the methods seem to be effective. What adjustments should I make in my code to successfully link the button to the account.html page?
The CSS styling applied is as follows:
a.button
{
margin: auto;
padding: 8px 16px;
border: none;
background: #333;
color: #f2f2f2;
text-transform: uppercase;
letter-spacing: .09em;
border-radius: 2px;
margin-top: 2%;
font-size: 1.5vw;
text-decoration: none;
}