I am just starting and have a very basic question.
I’ve learned so far that you start most lines with (in the example of a form) < form > and close with < /form >
Having said that I’ve noticed that some elements must go before the opening closes, like:
< form **action="/url-where-you-want-to-submit-form-data"**>
< /form >
** INSTEAD OF
< form action >
> /url-where-you-want-to-submit-form-data" >
< /form >
How would I know what goes inside what?
I am sure there must be a logic behind it!
Thanks