HTML Basics

What is Hypertext Markup Language (HTML)?

Hypertext Markup Language (HTML), a system for tagging text files to achieve font, colour, graphic, and hyperlink effects on web pages.

HTML is a markup language, not a programming language. It is a way of annotating a document so the syntax is distinguishable from the text.

<!DOCTYPE html>
<html>
<head>
<title>Page title</title>
</head>
<body>

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</body>
</html>

On static webpages, HTML files are typically saved to .html files. However other programming languages like PHP, .NET, JavaScript and more can output HTML code to display a webpage.

Upload file