I am learning HTML and have troubles merging a element with a tag.
I have a input tag type=“text” and have to nest a form element inside.
The task: “Nest your text field inside a form element, and add the action=”/submit-cat-photo" attribute to the form element."
If I understand the task correctly I have to combine this two together:
<input type="text"> <form action="//submit-cat-photo "></form>
If I try to do it, it loos like this:
<input type="text" form action="//submit-cat-photo " </form>
Like you see I cant really combine elements and attributes. I can work with paragraph and anchor in one line though.
I don’t know if I can share the link, but this is the task:
Thank you very much.