1. Home
  2. Docs
  3. Web Technology I
  4. Markup Language (HTML)
  5. Introduction to HTML

Introduction to HTML

  • Markup Language:
    • HTML is a markup language that uses a set of tags to define the structure and elements of a document.
  • Structure:
    • HTML documents have a hierarchical structure, organized as a tree of elements.
    • Elements can be nested inside each other to represent the relationship between different parts of the content.
  • Tags:
    • Tags are the building blocks of HTML. They are enclosed in angle brackets (< and >).
    • Tags are used to define elements and can have attributes that provide additional information about the element.
  • Attributes:
    • Attributes provide extra information about HTML elements and are included within the opening tag.
    • Examples of attributes include class, id, src, href, and others.
  • Common Elements:
    • <h1>, <h2>, … <h6>: Headings
    • <p>: Paragraph
    • <a>: Anchor (link)
    • <img>: Image
    • <ul>, <ol>, <li>: Lists
    • <table>, <tr>, <td>: Table
  • Versioning:
    • HTML has gone through various versions. HTML5 is the latest version, introducing new elements and attributes, multimedia support, and improved semantics.
  • Compatibility:
    • HTML is supported by all modern web browsers, making it a universal standard for creating web content.
Tags

How can we help?

Leave a Reply

Your email address will not be published. Required fields are marked *