Introduction to HTML

HTML, which stands for HyperText Markup Language, is the standard markup language used to create and design web pages. It provides the structure and layout of a webpage by using a system of tags and attributes.

Commonly Used HTML Tags

  • <h1> - <h6>: Headings of varying sizes
  • <p>: Paragraph
  • <a>: Anchor or link
  • <img>: Image
  • <ul>: Unordered list
  • <ol>: Ordered list

Understanding HTML Attributes

HTML tags can have attributes that provide additional information about an element. Attributes are placed within the opening tag and are usually in the form of name=value pairs.