Multiple choice technology programming languages

Choose correct syntax for making a submit button:

  1. <input type="submit" name="s1" value=" Press " />

  2. <form action=””></form>

  3. <form action=””>input type="submit" name="s1" value="press"/></form>

  4. none

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A submit button is created using an element with type='submit' placed inside a tag. The form element requires an action attribute specifying where to submit data. Option C shows the correct structure despite quote inconsistencies - the input is nested within the form tags.