+ 2
hi programmer!! I have a question and make me so confusing
how did i make a button and when we click the button.. we'll Access To Other Page?? pls answer
9 Answers
+ 7
Try this:
<a href="other.htm"><button>Go to other page</button></a>
+ 2
thank You!!
+ 1
To Link?? but Im Still Confusing
+ 1
oh yeahhh. if we want to access to other Page.. but not Link. when we click.. my code html will access after im click the button?
+ 1
u can tell me the code? pls im still newbienewbie
0
use
<form method=get action="path of file which you want to access after clicking on button"
<input type=submit />
</form>
0
if you want to simply use html for navigation between webpages ,just use @Ipang code
But in your question , u specified php, so use action attribute in <form >
0
<form method=get/post action="http://servername/filename.php"
if web server is running on your system