Page 1 of 1

HTML question

Posted: 30-03-2020 20:59
by esmivida
Hi, I am new to Notpron and I am enjoying it. I also enjoy this forum; thanks for all the people maintaining it and participating.

I know a little HTML and I have a question. On Level 1 the source code contains the following:

<map name="no">
<area shape="poly" coords="312,121,387,93,387,402,311,397" href="./not">
</map>

As I understand it, this is the code that when you click on the door on the picture on Level 1, it takes you to Level 2. However, the internet address for Level 2 is http://notpron.org/notpron/not/level2.htm. But the code above just point to http://notpron.org/notpron/not.

How does href="./not", which seems to be pointing to a folder, ends up pointing to level2.htm? How is this done in HTML? Thanks.

Re: HTML question

Posted: 30-03-2020 22:30
by amh
It's done via a .php redirect

Re: HTML question

Posted: 31-03-2020 00:10
by esmivida
amh wrote: 30-03-2020 22:30 It's done via a .php redirect
All right, thanks.