How do i make a text based game

Hello

I would like to ask how do i make a text based game like on www.arenascape.net what do i need HTML php what i relly would like to know and whatever it is can u give me a tutorial link for how to learn it to make a game well thx

 A noob
    Siedge