Files
Harshit-Sachdev/Week-1/Day-2/html-tutorial-basics.md

1.3 KiB
Raw Permalink Blame History

HTML Tutorial Notes Basic HTML Concepts

Introduction

HTML stands for HyperText Markup Language and is the standard language used to create and structure content on the web. It tells a browser how to display content.

What is HTML?

  • HTML consists of tags that define structure.
  • Tags tell the browser what each part of the web page means.
  • Web pages are built using HTML, CSS, and JavaScript.

HTML Document Structure

A basic HTML document looks like this:

<html> <head> </head>

Hello World

</html>

Headings & Paragraphs

Headings:

through

Paragraph:

Example:

Main Heading

This is a paragraph

Text Formatting

Common text formatting tags: Bold text Italic text Underline Example: This is important

Images

Images are shown using the tag Example: Description

Links use the tag Example: Google

Lists

Unordered (bullets) and ordered (numbers) Example:

  • Item 1
  1. First item

Tables

Used to display data in rows and columns Example:

Header
Data