HTML & CSS Masterclass Tutorial

Comprehensive guide to modern HTML and CSS development.

First Web Page

Your First Web Page

Every HTML document has a fundamental boilerplate or skeleton.

The Boilerplate Structure:

  • <!DOCTYPE html>: Tells the browser this is an HTML5 document.
  • <html>: The root element that wraps all content.
  • <head>: Contains meta-information, the title, and links to CSS. This part is NOT visible on the webpage.
  • <body>: Contains the visible content of your webpage (headings, paragraphs, images).

Try It Yourself

Edit the code below and click Run to see the result live.

Source Code
Result
Topics