Tuesday 24 April 2018

InfoTech 10/11/12 Connecting Pages

Connecting two pages (some options)

<a href="login.html"><button>Go To Login</button></a>

This may not work in dreamweaver browser/workspace.

If you can not do that then you can try a form:
<form action="login.html">
<input type="submit" value="Go to Login">
</form>


If these don't work I would suggest setting up a work-space on your computer.
(a local environment)
To do this..
  1. Put both of your html files in a folder.
  2. Drag your opening html page into a blank tab on your browser
If you do that the link buttons should definitely work.
And make sure the <a href= points to your other html file you want to go to.


No comments:

Post a Comment