Introduction to HTML

Introduction to HTML

👉 What is HTML?

  • HTML stands for Hyper Text Markup Language.
  • HTML describes the structure of a Web page
  • HTML elements tell the browser how to display the content.

👉 What is an HTML Element?

  • An HTML element is defined by a start tag, some content, and an end tag:
  • Elements can be heading, image, paragraph, anchor, etc.

👉 Example➖

image.png

HTML Attributes

  • All HTML elements can have attributes
  • Attributes provide additional information about elements
  • Attributes are always specified in the start tag
  • Attributes usually come in name/value pairs like: name="value"

Exampleâž–

image.png

Â