HTML, or HyperText Markup Language, is the backbone of web pages and applications. It combines hypertext, allowing for linked text within documents, with a markup language, which structures and formats text for presentation. Web pages, written in HTML, are the basic units of the web, viewed through browsers using URLs. HTML’s tags define the structure and content of a page, facilitating everything from headings to paragraphs. Here’s a basic example:
<!DOCTYPE html>
<html>
<head>
<title>Web page title</title>
</head>
<body>
<h1>Write Your First Heading</h1>
<p>Write Your First Paragraph.</p>
</body>
</html>
This example showcases HTML’s key elements:
<!DOCTYPE>
specifies the document type.<html>
encapsulates the entire document.<head>
contains metadata like the page title.<title>
sets the browser window’s title.<body>
houses the visible content, like headings and paragraphs.<body>
: Defines the visible content of the page, encompassing all user-readable text and elements.<h1>
: Indicates the highest level of heading, typically used for main titles or sections.<p>
: Wraps around paragraphs of text, structuring the content into coherent blocks for easy reading.
History of Html
In the late 1980s, physicist Tim Berners-Lee, working at CERN, proposed a hypertext system for researchers. He penned a memo in 1989 outlining this internet-based system.
Tim Berners-Lee is hailed as the father of HTML. He introduced HTML Tags in a document in late 1991. HTML5, the latest iteration, will be covered later in this tutorial.
Html Versions
HTML, the backbone of the web, began with Tim Berners-Lee’s proposal in the late 1980s. He’s known as the father of HTML. The first description of HTML came in 1991, and now we have HTML5, the latest version.