You are on page 1of 1

++++++++++++++++++++++++FORMS++++++++++++++++++++++++

<form action(where to send the data) method(how to send a data>


<input ...(attributes):
-type : (text,password,radio,submit)
-name : (email,submit)
-placeholder : (to show a background text)
-value : (to show a background printed text)
-checked : (without value, it means the selection will be checked by default)

<textarea name="message" placeholder="></textarea>


<button type="submit" name="submit" > name_of_the_button </button>
</form>

example of radio attribute :


male : <input type="radio" name="gender" value="male" checked>

2 methods :
-get:you will be able to see the data inside url
-post:usually used with password

You might also like