HTML-INTRODUCTION

HTML, or HyperText Markup Language, is the standard language used to create and design web pages. It provides the basic structure of a website, allowing developers to define elements such as text, images, links, forms, and other content.

HTML-INTRODUCTION

Key Features of HTML:

    1. Markup Language:

      • HTML uses tags to "mark up" elements on a webpage. Tags are enclosed in angle brackets (< >) and usually come in pairs (e.g.,

        for paragraphs and to close them).

    2. Basic Structure: A simple HTML document includes the following structure:

      html
      html> <html> <head> <title>Page Titletitle> head> <body> <h1>Hello, World!h1> <p>This is a paragraph.p> body> html>
      • : Declares the document type and version of HTML.
      • : The root element of the HTML document.
      • : Contains metadata (e.g., the title, character set, links to stylesheets).
      • : Contains the content visible to the user.
    3. Tags and Elements:

      • HTML elements typically consist of:
        html
        <tagname>Contenttagname>
        Example:
        html
        <h1>This is a headingh1>
    4. Attributes:

      • Tags can have attributes to provide additional information. Attributes are written inside the opening tag.
        html
        <img src="image.jpg" alt="A description of the image">
        • src: Specifies the source of the image.
        • alt: Provides alternative text if the image cannot be displayed.
    5. Hyperlinks:

      1. Header Section:
        • A welcoming banner with a title and subtitle.
      2. Main Content:
        • An "About Me" section with text and an image.
        • A "Contact" section with a simple form for user input.
      3. Footer:
        • A footer with copyright information, styled to remain at the bottom.
      4. CSS Styling:
        • Inline CSS for basic layout, colors, and typography.

      You can copy and paste this code into any text editor and save it as an .html file to view it in your browser.