Basic HTML Structure

Understanding the foundation of web pages

Introduction to HTML

HTML, or HyperText Markup Language, is the standard markup language for creating web pages. It provides the basic structure for web documents and is essential for web development.

Key Elements

  • DOCTYPE: Declares the document type.
  • html: The root element of an HTML page.
  • head: Contains meta-information about the document.
  • body: Contains the content of the document.

CSS

Copy Code

Example HTML

<!DOCTYPE html><html><head><title>My First Page</title></head><body><h1>Hello World!</h1><p>Welcome to my first web page.</p></body></html>

Example HTML

<!DOCTYPE html><html><head><title>My First Page</title></head><body><h1>Hello World!</h1><p>Welcome to my first web page.</p></body></html>

Example HTML

<!DOCTYPE html><html><head><title>My First Page</title></head><body><h1>Hello World!</h1><p>Welcome to my first web page.</p></body></html>

Fancy a Free Quote?

Got a crazy idea? We’re all ears. Reach out, share your story, and let’s make some magic together. Click below to get your free quote.

Go on, it's FREE