How to add a type attribute to a submit button

How to Add the type attribute with the value submit to the button to make it clear that it is a submit button.on the following<button>Submit</button>

<button>Submit</button> <input type="text"/>
This is what i have tried pls help or hint

I have moved your posts to a new topic as the other topic was already solved.

to add a value -attribute- to the button -element-, you should add the word value to the opening tag of the button element.
(then follow that with an equal sign and the value of Submit in double quotes as usual)

Plea se how can i Create another radio button below the first one. Nest it inside a label element with Outdoor as the label text. Give the radio button an id attribute with outdoor as the value.

<label><input id="indoor" type="radio"> Indoor</label>

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.


This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.