Hello,
Basicly, I am so new to HTML5 and trying to learn thanks to the great repository of this site. Right now I am trying to create a simple login/register page. And I want it to do return me the value written in input field as in a (print) perhaps when clicked any of the buttons, there is no arguement with the silliness of the page, buttons here and there...the main reason I did this was to give each button something to test so don't bother with it. But I still can't understand the structure of the HTML5. What should I do? Thanks in advance.
<!DOCTYPE html><html><head><title>A BASIC HTML FORM</title><?PHP$username = $_POST['username'];print ($username);?></head><body><center><FORM NAME ="form1" METHOD =" " ACTION = ""><INPUT TYPE = "TEXT" VALUE =" "><INPUT TYPE = "Submit" Name = "Submit1" VALUE = "Login"><input type="Submit" formtarget="_blank" value="Login as a new window"><INPUT TYPE = "Submit" Name = "Submit2" VALUsE = "Register"></FORM></center></body></html><form action="demo_form.asp"> First name: <input type="text" name="fname"><br> Last name: <input type="text" name="lname"><br> <input type="submit" value="Submit"></form>