A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/html/html-introduction/ below:

HTML Introduction - GeeksforGeeks

HTML Introduction

Last Updated : 11 Jul, 2025

HTML stands for Hyper Text Markup Language, which is the core language used to structure content on the web. It organizes text, images, links, and media using tags and elements that browsers can interpret. As of 2025, over 95% of websites rely on HTML alongside CSS and JavaScript, making it a fundamental tool in modern web development.

In a nutshell, HTML is all about organizing and displaying information on a webpage. We can think of it as the bones or structure of a webpage.

Basic HTML Code Example HTML
<!DOCTYPE html>
<html>
<head>
    <title>My First Webpage</title>
</head>
<body>
    <h1>Welcome to My Webpage</h1>
    <p>This is my first paragraph of text!</p>
</body>
</html>

Output:

HTML HTML Page Structure

The basic structure of an HTML page is shown below. It contains the essential building-block elements (i.e. doctype declaration, HTML, head, title, and body elements) upon which all web pages are created.

An HTML document can be created using an HTML text editor. Save the text file using the ".html" or ".htm" extension. Once saved as an HTML document, the file can be opened as a webpage in the browser.

Note: Basic/built-in text editors are Notepad (Windows) and TextEdit (MacOS). Other advanced text editors include Sublime Text, Visual Studio Code, etc.

HTML Elements and HTML Tags are related but distinct. An HTML element is the complete structure, including the opening tag, content (if any), and the closing tag (if applicable).

On the other hand, A tag is the actual keyword or name enclosed in angle brackets (< >) that tells the browser what kind of content to expect.

HTML Tags

Tag

Description

<html>

The root element of an HTML document

<head>

Contains meta-information about the webpage

<body>

Contains the visible content of the webpage

<h1> to <h6>

Headings of various levels (h1 being the largest)

<p>

Defines a paragraph

<a>

Defines a hyperlink

<img>

Embed an image

<ul>

Defines an unordered list

<ol>

Defines an ordered list

<li>

Defines a list item

<table>

Defines a table

<form>

Defines an HTML form

To learn more about it follow the article - HTML Tags

HTML Attributes

Attributes provide additional information about an element. They are placed inside the opening tag and are written as name="value". Common attributes include class, id, href, and src.

Example:

<a href="https://www.example.com/">Visit Example</a>

To learn more about it follow the article - HTML Attributes

Web Browser

Unlike other programming languages, HTML does not show output on the any compiler. Web browsers is an compiler which show the results of an your HTML code.

It reads HTML files and determines how to show content with the help of HTML tags. Any web browser (Google, Safari, Mozilla Firefox, etc) can be used to open a . HTML file and view the results.

index.html Why Learn HTML?

Here are 5 common reasons to learn HTML:

  1. Build Websites: HTML is the basic building block for creating any website. Learning HTML can help you pursue a career in web development.
  2. Customize Content: Allows you to edit or tweak web pages, emails, or templates to fit your needs.
  3. Understand how the web works: This helps you grasp how the internet works and how web pages are structured.
  4. Employment Opportunities: According to the Bureau of Labor Statistics, projects that employment for web developers will grow 16% between 2022 and 2032, which is much faster than the average across all occupations.
  5. Learn Easily: HTML is beginner-friendly, making it a great first step into the world of coding and technology.
Applications of HTML Limitations of HTML HTML5: Enhancements and New Features

HTML5 Introduced several powerful features that improve the structure and functionality of web pages, including:

HTML History

Currently, we are using HTML5, which is the latest and most advanced version of HTML.

Conclusion

In conclusion, mastering HTML is a fundamental step in your web development journey. This guide serves as a comprehensive resource for understanding HTML, from the basics to more advanced topics. Remember, HTML is more than just a markup language - it’s a powerful tool for creating engaging, accessible, and SEO-friendly websites.

To learn more about HTML, visit the HTML Tutorial Page.

Note: If you want to Master The Art of Web Development, Check out our Full Stack Web Development Classroom


Introduction to HTML | Complete HTML tutorial


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4