HyperText Markup Language (HTML): What It Is and How It Works

HyperText Markup Language (HTML): The basic scripting language used by web browsers to render pages on the World Wide Web. HyperText Markup Language (HTML): The basic scripting language used by web browsers to render pages on the World Wide Web.

Julie Bang / Investopedia

What Is HyperText Markup Language (HTML)?

HyperText Markup Language (HTML) is the set of markup symbols or codes inserted into a file intended for display on the internet. The markup tells web browsers how to display a webpage’s words and images.

Each individual piece markup code (which would fall between “<” and “>” characters) is referred to as an element, though many people also refer to it as a tag. Some elements come in pairs that indicate when some display effect is to begin and when it is to end.

Key Takeaways

  • HyperText Markup Language (HTML) is the basic scripting language used by web browsers to render pages on the World Wide Web.
  • HyperText allows a user to click a link and be redirected to a new page referenced by that link.
  • Early versions of HTML were static (Web 1.0), while newer iterations feature a great deal of dynamic flexibility (Web 2.0, 3.0).
  • Markup is the text that appears between two pointed brackets (i.e., between “<” and “>”), and content is everything else.

Understanding HTML

HyperText Markup Language is the computer language that facilitates website creation. The language, which has code words and syntax just like any other language, is relatively easy to comprehend and, as time goes on, is increasingly powerful in what it allows someone to create. HTML continues to evolve to meet the demands and requirements of the internet under the guise of the World Wide Web Consortium, the organization that designs and maintains the language—for instance, with the transition to Web 2.0.

HyperText is the method by which internet users navigate the web. By clicking on special text called hyperlinks, users are brought to new pages. The use of hyper means it is not linear, so users can go anywhere on the internet simply by clicking on the available links. Markup is what HTML tags do to the text inside of them; they mark it as a specific type of text. For example, markup text could come in the form of boldface or italicized type to draw specific attention to a word or phrase.

HTML Basics

At its core, HTML is a series of short codes typed into a text file. These are the tags that power HTML’s capabilities. The text is saved as an HTML file and viewed through a web browser. The browser reads the file and translates the text into a visible form, as directed by the codes that the author used to write what becomes the visible rendering. Writing HTML requires tags to be used correctly to create the author’s vision.

The tags are what separate normal text from HTML code. Tags are the words between what are known as angle brackets, which allow graphics, images, and tables to appear on the webpage. Different tags perform different functions. The most basic tags apply formatting to text. As web interfaces need to become more dynamic, Cascading Style Sheets (CSS) and JavaScript applications may be used. CSS makes webpages more accessible, and JavaScript adds power to basic HTML.

What Is the Difference Between HTML and XML?

Unlike HTML, Extensible Markup Language, or XML, allows users to define their own markup. For instance, using XML, one user could choose to denote a footnote with a tag, while another user could opt for something different.

Using HTML, only one predetermined tag can be used to denote a specific type of information. XML documents are meant to be easy to read since they contain user-defined tags and since the documents only consist of markup and content.

What Does HTML Stand for?

HTML stands for "HyperText Markup Language".

Who Invented HTML?

In 1980, British scientist Tim Berners-Lee proposed and made a prototype of a system for researchers at CERN, where he worked, to use and share documents. In 1989, Berners-Lee authored a memo that proposed an internet-based hypertext system. He specified HTML and wrote the browser and server software in late 1990.

How Can HTML Be Used?

Uses for HTML include:

  • Webpage development
  • Internet navigation
  • Browser storage function
  • Web document creation
  • Game development
  • Website enrichment

What Does the Future Hold for HTML?

The fifth and final major version of HyperText Markup Language is HTML5, released in 2008. The current specification is known as the HTML Living Standard.

Future developments for HTML5/the HTML Living Standard are thought to include:

  • Changing images’ pixel size
  • Enhanced control of video structures across webpages
  • Pluggable languages and processors
  • Incorporating cellphone cameras for improved photos and videos.

The Bottom Line

HyperText Markup Language, or HTML, is a set of markup symbols or codes inserted into a file intended for display on the internet. The markup tells web browsers how words and images should be displayed on a webpage.

Article Sources
Investopedia requires writers to use primary sources to support their work. These include white papers, government data, original reporting, and interviews with industry experts. We also reference original research from other reputable publishers where appropriate. You can learn more about the standards we follow in producing accurate, unbiased content in our editorial policy.
  1. W3C. “Information Management: A Proposal.”

  2. GeeksForGeeks. “Top 10 Uses of HTML in the Real World.”

  3. Top Notch Dezigns. “What Is the Future of HTML?