HTML question

Moderators: Jay2k1, DavidM, amh

Post Reply
esmivida
Senior Member
Posts: 128
Joined: 24-03-2020 23:04
Location: Ohio

HTML question

Post 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.
User avatar
amh
Moderator
Posts: 1691
Joined: 25-10-2014 00:08
Location: Washington state, USA

Re: HTML question

Post by amh »

It's done via a .php redirect
esmivida
Senior Member
Posts: 128
Joined: 24-03-2020 23:04
Location: Ohio

Re: HTML question

Post by esmivida »

amh wrote: 30-03-2020 22:30 It's done via a .php redirect
All right, thanks.
Post Reply