Text Adventures are text based interactive narratives where the player interacts with the story via commands laid out by the developer/writer. They can be entirely text, or come with visuals coinciding with each scene, but the core of text and commands remains the same. Due to early computer limitations, they were some of the first games made for personal computers, and some of the first commercially produced as well.
To learn more HTML/CSS, check out these tutorials!