Electronic literature or digital literature is a genre of literature where digital capabilities such as interactivity, multimodality or algorithmic text generation are used aesthetically. Works of electronic literature are usually intended to be read on digital devices, such as computers, tablets, and mobile phones. They cannot be easily printed, or cannot be printed at all, because elements crucial to the work cannot be carried over onto a printed version.
The first literary works for computers, created in the 1950s, were computer programs that generated poems or stories, now called generative literature. In the 1960s experimental poets began to explore the new digital medium, and the first early text-based games were created. Interactive fiction became a popular genre in the late 1970s and 1980s, with a thriving online community in the 2000s. In the 1980s and 1990s hypertext fiction begun to be published, first on floppy disks and later on the web. Hypertext fictions are stories where the reader moves from page to page by selecting links. In the 2000s digital poetry became popular, often including animated text, images and interactivity. In the 2010s and 2020s, electronic literature uses social media platforms, with new genres like Instapoetry or Twitterature as well as literary practices like netprov. Although web-based genres like creepypasta and fan fiction are not always thought of as electronic literature (because they usually manifest as linear texts that could be printed out and read on paper), other scholars argue that these are born digital genres that depend on online communities and thus should be included in the field.