Metadata

  • 📅 Date :: 12-06-2025
  • 🏷️ Tags :: web-dev

Notes

What is HTML?

  • HTML stands for Hypertext Markup Language.
  • It defines the content and structure of a webpage.
  • A website can be created using only an HTML file (unlike CSS and JavaScript).

How Web Browsers Render Websites

  • Browsers (Chrome, Safari, Brave, etc.) take HTML, CSS, and JavaScript files and render them into a webpage.
  • However, a website cannot be created using only CSS or JavaScript—HTML is essential.

Breaking Down HTML

Hypertext

  • Hypertext refers to text that links to other documents (hyperlinks).
  • Hyperlinks are fundamental to how HTML websites work.
  • Example: The first website (created by Tim Berners-Lee) was filled with blue hyperlinks.

Markup Language

  • A markup language is a way to define a document’s structure using special tags.
  • Similar to how quotes indicate a quotation in English, markup uses HTML tags to format content.
  • Example: Editors use squiggly lines for bold and straight lines for underlining.

HTML Tags

  • HTML tags are used to format and structure a webpage.
  • Early HTML had only a few tags, but today there are many.
  • Most commonly used tags:
    • Headings: <h1> to <h6>
    • Paragraph: <p>

References