HTML

Introduction

HTML (HyperText Markup Language) is the standard markup language used to create web pages. It structures content on the web using a system of elements and tags.

  • Purpose: It defines the layout and content of a web document (text, images, links, forms, etc.).

  • File Extension: .html or .htm

  • Rendered By: Web browsers (Chrome, Firefox, Edge, etc.)

  • Used With: CSS for styling, JavaScript for interactivity


Example

<!DOCTYPE html>
<html>
  <head>
    <title>My First Webpage</title>
  </head>
  <body>
    <h1>Hello, World!</h1>
    <p>This is a simple HTML document.</p>
  </body>
</html>

Last updated