codegurukool.com · Free coding tutorials & online compiler

Home › HTML Tutorial › HTML introduction

HTML introduction

HTML is the markup language that gives a web page its structure.

Every page is a tree of elements. An element has an opening tag, content and a closing tag, like <p>Hello</p>. Edit the code below and press Run.

Example code

<!DOCTYPE html>
<html>
<body>
  <h1>My first page</h1>
  <p>Hello, web!</p>
</body>
</html>

Run this code in the online editor

← All commandsHTML installation →