HTML Fundamentals|
Your First HTML Document

What is HTML?

Python

Your First HTML Document

Your First HTML Document

HTML (HyperText Markup Language) is the standard language for creating web pages.

Basic HTML Structure

Every HTML document has the same basic structure:




  
  Page Title


  Content goes here


Key Parts

- - Tells the browser this is HTML5

  • - The root element
  • - Contains metadata (title, character set, etc.)
  • - Contains visible content

    Your Task

    Create a complete HTML document with:

  • The DOCTYPE declaration
  • An html element with lang="en"
  • A head with charset meta tag and title "My First Page"
  • A body with an h1 saying "Hello World"
  • Code Editor
    Loading HTML engine...
    Loading...
    Loading Python engine...

    Run your code to see output