Stands for “Hypertext Markup Language.” HTML is the language used to create webpages. “Hypertext” refers to the hyperlinks that an HTML page may contain. “Markup language” refers to the way tags are used to define the page layout and elements within the page.
Below is an example of HTML used to define a basic webpage with a title and a single paragraph of text.
<!doctype html> <html> <head> <title>TechTerms.com</title> </head> <body> <p>This is an example of a paragraph in HTML.</p> </body> </html>
The first line defines what type of contents the document contains.
means the page is written in HTML5. Properly formatted HTML pages should include
<html>, <head>, and <body>
, which are all included in the example above. The page title, metadata, and links to referenced files are placed between thetags. The actual contents of the page go between thetags.
The web has gone through many changes over the past few decades, but HTML has always been the fundamental language used to develop webpages.
Interestingly, while websites have become more advanced and interactive, HTML has actually gotten simpler. If you compare the source of an HTML5 page with a similar page written in HTML 4.01 or XHTML 1.0, the HTML5 page would probably contain less code.
NOTE: Many dynamic websites generate webpages on-the-fly, using a server-side scripting language like PHP or ASP. However, even dynamic pages must be formatted using HTML. Therefore, scripting languages often generate the HTML that is sent to your web browser.