This way the relationship between the two elements is more obvious. And since now the button and the form are siblings, it's easier to find one based on the other using CSS or JavaScript.
This way the relationship between the two elements is more obvious. And since now the button and the form are siblings, it's easier to find one based on the other using CSS or JavaScript.