Search topics and sections

Hypertext is text that contains links to other text, and a reader can follow those links at once, usually with a click or a tap. Readers don't have to go from start to finish but choose their own path.[1][2] The World Wide Web is the largest and most influential hypertext ever built.[2]

Ted Nelson introduced the word "hypertext" in a 1965 paper.[3][1] The idea is older, since in 1945 Vannevar Bush described a desk called the memex that would let its user tie documents together into trails, or chains of linked items.[4] Hypertext later became the basis of the Web, which Tim Berners-Lee proposed at CERN in 1989.[5]

How hypertext works

A hypertext is built from three parts.[2]

  • A node is one unit of content, such as a web page, a card, or an encyclopedia entry. A node can be as small as a word or as large as a novel, and it can hold images or sound as well as text.
  • A link connects one node to another node, or to a particular place inside a node.
  • An anchor is the part of a node where a link starts or ends. It is often a highlighted or underlined word. Activating it, for example with a mouse click, shows the target.

Moving from node to node by following links is called navigating or browsing.[2]

On the Web, a link is written in HTML as a pair of tags (markers written in angle brackets) around the anchor text.[2] For example:

<a href="http://www.example.org/doc/page.htm#1">bibliography</a>

The browser shows the word "bibliography" highlighted. When the reader clicks it, the browser loads the page at that URL and scrolls to the spot marked 1.[2]

Hypertext before computers

Printed works have long used hypertext ideas. These print devices all point the reader somewhere else:[2]

  • footnotes;
  • cross-references;
  • indexes;
  • citations.

Few people read an encyclopedia or dictionary from start to finish, so these works are already a kind of hypertext.[2]

On paper, the reader has to do the work of following a link, by turning pages or finding a book on a shelf. A computer makes the jump automatic and right away.[2]

Authors don't agree on where the term stops. Some use "hypertext" only for digital documents, and others include paper works that have many internal links.[2]

Hypertext and hypermedia

Hypermedia is hypertext that is not limited to text. It can include graphics, video, and sound.[1] More exactly, hypertext links text documents and hypermedia links media of any type, but people often use the two terms to mean the same thing.[6]

Nelson introduced "hypertext", "hyperfilm", and "hypermedia" in the same 1965 paper.[7] In a 1970 essay he called hypertext "forms of writing which branch or perform on request" and described two kinds:[7]

  • Discrete, or chunk-style, hypertext: "separate pieces of text connected by links". The Web is this kind.
  • Stretchtext: text that grows longer and more detailed as the reader asks for more. It uses no links.

The media scholar Noah Wardrip-Fruin uses stretchtext to argue that a definition based only on links is too narrow.[7]

History

Timeline of hypertext, 1945 to 1993 1945 1965 1967 1968 1985 1986 1987 1989 1990 1993 Bush describesthe memex Nelson coins“hypertext” HES at BrownUniversity EngelbartdemonstratesNLS NoteCards andIntermedia Guide (OWL) HyperCard;Hypertext ’87conference Berners-Leeproposalat CERN First webserver andbrowser Mosaicbrowser Idea Mainframe systems Personal computers The Web
Milestones in hypertext from Vannevar Bush's memex essay in 1945 to the Mosaic browser in 1993, shaded by era. The timeline is not to scale, and break marks show the gaps from 1945 to 1965 and from 1968 to 1985.

The memex (1945)

In July 1945, Vannevar Bush published "As We May Think" in The Atlantic. He described the memex as "a device in which an individual stores all his books, records, and communications".[4]

The memex would have stored material on microfilm (film holding tiny photographic copies of documents) inside a desk, and shown it on several screens.[8][2]

The memex was never built.[2]

Bush's key idea was "associative indexing", in which "any item may be caused at will to select immediately and automatically another."[4]

The user would join items into named trails, add notes, branch into side trails, and copy a whole trail to give to a friend.[4]

Bush argued that this matched how the mind works, because it "operates by association."[4]

Naming hypertext (1965)

Ted Nelson began designing a hypertext system in 1960, and he named it Xanadu in 1967.[2] At a conference of the Association for Computing Machinery (ACM) in Cleveland in August 1965, he presented the paper "A File Structure for the Complex, the Changing, and the Indeterminate".[2] In it he wrote:

Let me introduce the word "hypertext" to mean a body of written or pictorial material interconnected in such a complex way that it could not conveniently be presented or represented on paper.[3]

In his later book Literary Machines, Nelson defined hypertext as non-sequential writing.[6]

First working systems (1967 to 1970s)

The first hypertext systems ran on mainframes, large central computers shared by many users, and were mostly text-based.[6]

  • The Hypertext Editing System (HES) was built at Brown University in 1967 under Andries van Dam, working with Nelson.[8][2] Jakob Nielsen calls it the world's first working hypertext system. It ran on an IBM/360 mainframe, and NASA's Manned Spacecraft Center in Houston later used it to produce documentation for the Apollo missions.[8]
  • FRESS (File Retrieval and Editing System) followed at Brown in 1968.[8] Unlike HES, it was multi-user, and it supported two-way links and an undo command.[2]
  • Douglas Engelbart's team at Stanford Research Institute had been building NLS (the oN-Line System) since 1962. On December 9, 1968, they demonstrated it live in San Francisco to about 1,000 computer professionals, in a session later called the Mother of All Demos.[9][2] The demonstration showed hypertext links, along with the first public showing of the computer mouse.[9]

Personal computers (1980s)

In the mid-1980s, hypertext moved to workstations (powerful computers built for one person's use) and to personal computers. These systems could show graphics and were much easier for individuals to use.[6]

System Year Made by Note
NoteCards 1985 Xerox PARC Nodes were "notecards" in windows that could be resized[8][2]
Intermedia 1985 Brown University Two-way links between anchors. Funding ended in 1991[8]
Guide 1986 Office Workstations Limited (OWL) First widely available hypertext for ordinary personal computers[8]
HyperCard 1987 Apple (Bill Atkinson) Cards grouped in stacks. Free with every Macintosh from 1987 to 1992[8]
Storyspace 1987 Jay David Bolter and Michael Joyce First software made for writing and reading hypertext fiction[2]

HyperCard was probably the most famous hypertext product of the late 1980s.[8]

Its designer, Bill Atkinson, has said it was not really a hypertext product at first, because he had built it as a graphical programming environment.[8]

The first ACM Hypertext conference, Hypertext '87, met in Chapel Hill, North Carolina, in November 1987.[2] The organizers had to turn away about half of the 500 people who wanted to attend.[8]

The World Wide Web (1989 to 1993)

In 1980, Tim Berners-Lee wrote a program called Enquire at CERN to store information and the links within it. Its links went both ways.[6]

In March 1989, Berners-Lee wrote "Information Management: A Proposal", which argued for "a distributed hypertext system" at CERN, meaning one whose information is spread across many computers on a network.[5] At the time he called the system "Mesh", and he chose the name "World Wide Web" in 1990 while writing the code.[5]

The first web server and browser were tested over the Internet at the end of 1990.[6] The Web joined hypertext to the Internet with three standards:[2]

  • a URL gives every page a standard address;
  • HTTP is the set of rules that browsers and servers use to request and send pages;
  • HTML is the markup language that pages are written in.

In 1993, CERN made the Web's technology free to use without fees.[6]

The Mosaic browser from the National Center for Supercomputing Applications (NCSA) came out in 1993 and quickly became the most popular way to use the Web.[8]

Nielsen notes that the Web and Mosaic more or less established a universal hypertext within about three years, while Nelson could not get Xanadu accepted in thirty years of trying.[8] He gives these reasons:[8]

  • Public funding. Taxpayers paid for the Web projects, through CERN in Europe and NCSA in the United States, so the software cost users nothing. Nielsen calls this "doubtless" a major reason.
  • Open design. The Web was an open system built on open standards. Nielsen counts this among the most important differences.
  • Existing data. The Web could work with data that already existed, which Nielsen also counts among the most important differences.

In graph theory terms, a hypertext is a directed graph: a set of points (nodes) joined by arrows that each point one way.[2] Nielsen gave this definition in 1990:[2]

Hypertext is non-sequential writing: a directed graph, where each node contains some amount of text or other information. The nodes are connected by directed links. In most hypertext systems, a node may have several out-going links, each of which is then associated with some smaller part of the node called an anchor.

In simple form, the structure can be written as

G=(N,L),L⊆N×NG = (N, L), \qquad L \subseteq N \times N

where NN is the set of nodes and LL is the set of links. Each link is an ordered pair (a,b)(a, b) that leads from node aa to node bb. Because order matters, a link from aa to bb is not the same as a link from bb to aa.[2]

This simple form allows at most one link from any node to another. Real hypertexts can have several links between the same two pages, each aimed at a different spot, so a fuller model treats them as a multigraph (a graph that allows repeated edges).[2]

Two more terms describe how readers move through this graph.[2]

  • Landmarks are nodes that the reader can reach easily from many other nodes, such as a home page or a table of contents.
  • Backtracking means going back along the links already followed, in reverse order.

Common structures

The same set of nodes can be linked in very different shapes.[2]

  • A sequence links each node only to the one before and the one after, like the pages of a novel.
  • A tree is a hierarchy, like the chapters and sections of a manual.
  • A grid arranges nodes in rows and columns, like a database table.
  • A web links nodes in an irregular pattern, as the World Wide Web does.
Hypertext structures: sequence, tree, grid, and webSequenceTreeGridWebEasier to followMore expressive, easier to get lost
Four ways to link hypertext nodes. A sequence, a tree, a grid, and a web range from easy to follow to more expressive, where readers can more easily get lost.

The shapes trade ease for power. A sequence is the easiest to follow but can express little. A free web can express the most, but readers can't predict it and are more likely to get lost.[2]

Links can be sorted in several ways.[2]

  • One-way or two-way. A one-way link can be followed only from its source. A two-way link joins the nodes in both directions.
  • Structural or associative. Structural links, such as those in a navigation bar, help readers move around the structure as a whole. Associative links connect nodes by their meaning.
  • Typed. A typed link shows what kind of relation it has to its target, such as a definition or a citation, before the reader follows it.
  • Explicit or computed. Most links are explicit: someone defined them to connect a source to a target.[10] Computed links are worked out by the system while the person reads. For example, Intermedia could link any word to its dictionary definition without storing all those links.[10] Some are made at the moment the reader follows them, so that they always point to the current location.[2]

Not every system stores links inside the documents themselves. Some keep them in a separate link database that the hypertext system maintains.[10]

The Web made links simple so that the system could grow very large and spread quickly.[6] Links are stored only on the page where they start, are not centrally maintained, and point one way.[6] The target page has no record of which pages link to it.[2]

If the target moves or is deleted, the link breaks and the reader gets an HTTP 404 "Not Found" error.[6][2] When a link no longer leads to any content, as with a 404 error, the problem is called link rot.[11]

These breaks were the price of letting the Web grow so large and spread so fast.[6] Because the Web lacked a central index and two-way links, people built directories and search engines to find pages and the links between them.[6]

Xanadu was designed to avoid these problems. Nelson summed up his criticism of the Web as "ever-breaking links, links going outward only, quotes you can't follow to their origins, no version management, no rights management".[2]

Feature World Wide Web Xanadu (as designed)
Link direction Usually one-way[2] Always two-way[2]
Who can link Page owners add links to their own pages Anyone may publish comments connected to any page[12]
Old versions Often overwritten or lost[2] Every version kept and reachable[2]
Quoting Text is copied, so it loses its link to the source[2] Transclusion: quoted text is shown from the original, not copied[2][12]
Payment Each site handles access separately[2] Small payments to the copyright holder through one shared system[2]

Transclusion, another term Nelson introduced, means a document includes a piece of another document by referring to its original address instead of making a copy.[2]

Since links join these addresses, Xanadu's links can be followed from either end, and any quotation can lead back to its source.[12]

Xanadu was never fully built, though a prototype called OpenXanadu was released in 2014.[2]

Problems for readers

In a 1987 survey, Jeff Conklin named the two main problems with hypertext.[2]

  • Disorientation is "the tendency to lose one's sense of location and direction in a nonlinear document." A nonlinear document is one that does not have to be read in a set order.
  • Cognitive overhead is "the additional effort and concentration necessary to maintain several tasks or trails at one time."

Hypertext systems and web browsers offer many tools to reduce these problems:[2]

  • a back button and a history list of recent pages;
  • bookmarks for pages the reader wants to return to;
  • maps or overviews of the whole structure or the area nearby;
  • breadcrumbs that mark which pages or links have already been visited;
  • guided tours that offer a set path through a large hypertext;
  • search, which finds nodes by the words they contain.

Good writing and clear design matter most. The hypertext designer Mark Bernstein noted that disorientation is often hard to tell apart from bad writing.[2]

Uses beyond web pages

Hypertext ideas appear in many other fields.

  • Fiction. Michael Joyce's afternoon, a story was used in 1987 to launch Storyspace. Hypertext fiction drew more interest from critics than from readers.[2]
  • Citation indexes. Eugene Garfield's citation indexes, published from 1964, treat each paper as a node linked to the papers it cites and to the later papers that cite it.[2]
  • Search ranking. Google, launched in 1998, ranks pages with PageRank, which counts links to a page and gives more weight to links from pages that are themselves heavily linked.[2]
  • Linked data. The Semantic Web moves linking from documents to data, using typed links between pieces of data.[6]
  • Encyclopedias on disc. By 1993, hypermedia encyclopedias sold more copies than print ones.[8]

References

  1. What is HyperText, World Wide Web Consortium (W3C).
  2. Hypertext, Riccardo Ridi, ISKO Encyclopedia of Knowledge Organization, 2018.
  3. Complex Information Processing: A File Structure for the Complex, the Changing and the Indeterminate, Theodor H. Nelson, Proceedings of the ACM 20th National Conference, 1965.
  4. As We May Think, Vannevar Bush, The Atlantic, 1945.
  5. Information Management: A Proposal, Tim Berners-Lee, CERN, 1989.
  6. A Never-Ending Project for Humanity Called "the Web", Fabien Gandon and Wendy Hall, Proceedings of the ACM Web Conference, 2022.
  7. What Hypertext Is, Noah Wardrip-Fruin, Grand Text Auto, 2004.
  8. The History of Hypertext, Jakob Nielsen, Nielsen Norman Group, 1995.
  9. Doug Engelbart 1968 Demo, Doug Engelbart Institute.
  10. Theory of Hypertext Systems, Jakob Nielsen, Nielsen Norman Group, 1995.
  11. Pausing the Internet, Harvard Law School Center on the Legal Profession.
  12. Deep Hypertext: The Xanadu Model, Project Xanadu.

Figure