+ 1
Next page
Hello, i want to make a script, that on push button redirects me to the next page of an url and do a simple task there. For example google.com/1 -> google.com/2 etc. On the url there is no next button to be clicked, so this can only be achieved with typing in the url bar the number of the next page. For the task it has to click a button that exists, type something, click enter and move to the next page. Im new to any java or programming overall, and i have no idea how to achieve that task
1 Answer
+ 7
you can crate two html files. one for each of the pages.
then you link the firat one to the second and also link the second one to the first by using buttons.
example.
my first page has an html filename, âpage1.htmlâ and my second page has filename âpage2.htmlâ .
i can link page 1 to page 2 by using the <a> tag.
<a href=âpage2.htmlâ> page 2 </a>
what the above code means is that, the text between the opening and closing tags âpage 2â will appear blue and underlined, indicating thats itâs a link. Onclick, you will be redirected to page 2.
you could add buttons too.