What is HTML?

HTML stands for HyperText Markup Language. It is the standard language used to create and design webpages.Who Developed HTML?

HTML (HyperText Markup Language) was developed by Tim Berners-Lee in 1991.


Key Points about HTML:

  • HyperText refers to the links that connect web pages to one another.
  • Markup Language means it uses tags to describe the structure of web content.

What HTML Does:

HTML structures the content on the web. It tells the browser what each part of a webpage is: headings, paragraphs, images, links, etc.


Basic Structure of an HTML Document:

htmlCopyEdit<!DOCTYPE html>
<html>
  <head>
    <title>My First Page</title>
  </head>
  <body>
    <h1>Hello, World!</h1>
    <p>This is a paragraph.</p>
  </body>
</html>

Common HTML Tags:

TagPurpose
<html>Root of the HTML document
<head>Contains metadata/info
<title>Title in browser tab
<body>Main content of the webpage
<h1><h6>Headings
<p>Paragraph
<a>Link
<img>Image
<ul>, <li>Lists
<div>Container/section
<span>Inline container

Basic Use of HTML

HTML (HyperText Markup Language) is used to create and structure content on the web.


✅ Main Uses of HTML:

PurposeExample
Structure a webpageHeadings, paragraphs, lists
Display contentText, images, videos
Link between pagesHyperlinks
Create formsLogin, contact, search boxes
Embed mediaAudio, video, maps

Basic HTML Example:

htmlCopyEdit<!DOCTYPE html>
<html>
  <head>
    <title>My First Page</title>
  </head>
  <body>
    <h1>Welcome to My Website</h1>
    <p>This is a paragraph of text.</p>
    <a href="https://www.google.com">Visit Google</a>
  </body>
</html>

What You Can Do with HTML:

  • Create headings and paragraphs
  • Add images
  • Link to other websites or pages
  • Embed audio or video
  • Create forms and input fields
  • Organize layout using <div> or <section>

By admin

Leave a Reply

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