Some resources for interactive fiction.
Versu, a sophisticated new system. First books based on Jane Austen.
Twine, a simple and elegant way to create or author branching narratives (or branching lessons.) Creates a single web page of hyperlinked passages. Free and well-supported.
Twine Support materials.
Inform7 is a more complex solution.