Skip to content

HTML

HTML is the most basic building block of the Web. It defines the meaning and structure of web content. Learn HTML at Codecademy.

HTML example

html
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Page title</title>
  </head>
  <body>
    <h1>This is a heading</h1>
    <p>This is a paragraph.</p>
  </body>
</html>