0% found this document useful (0 votes)
7 views3 pages

Introduction to HTML Basics

HTML, or HyperText Markup Language, is the standard markup language for creating webpages, organizing content with tags for browsers to display. An HTML document has a basic structure that includes elements like <!DOCTYPE html>, <html>, <head>, <title>, and <body>, which define the page's layout and content. Common HTML tags include headings, paragraphs, and text formatting tags, which help structure and style the content presented to users.

Uploaded by

ananyadaniel713
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views3 pages

Introduction to HTML Basics

HTML, or HyperText Markup Language, is the standard markup language for creating webpages, organizing content with tags for browsers to display. An HTML document has a basic structure that includes elements like <!DOCTYPE html>, <html>, <head>, <title>, and <body>, which define the page's layout and content. Common HTML tags include headings, paragraphs, and text formatting tags, which help structure and style the content presented to users.

Uploaded by

ananyadaniel713
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1.

What HTML Is
HTML stands for HyperText Markup Language. It is the standard
language used to create webpages. Instead of being a programming
language, HTML is a markup language, which means it uses tags to
organize content so browsers know how to display text, images, links,
videos, and layout structures.
HTML forms the skeleton of any webpage. Once the structure is set,
CSS adds style and JavaScript adds behavior. But without HTML, none of
these can exist.
Browsers like Chrome, Firefox, and Edge read HTML documents and
display them visually on your screen.

2. Basic Structure of an HTML Document


Every HTML file starts with a basic layout. This foundation helps the
browser understand what the page contains.
<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>

Explanation

 <!DOCTYPE html>
Tells the browser you’re using modern HTML5.
 <html>...</html>
The root element that wraps the entire page.
 <head>...</head>
Holds metadata—information about the page (title, links to CSS,
scripts, etc.).
 <title>
Controls the text shown on the browser tab.
 <body>
Contains everything the visitor sees: text, images, buttons, links,
etc.
3. Common HTML Tags

HTML uses tags, which are written inside < >. Most tags have an
opening and closing version.

Text Tags

 <h1> to <h6>: Headings


 <p>: Paragraph
 <b>, <strong>: Bold text
 <i>, <em>: Italic or emphasized text
 <br>: Line break
 <hr>: Horizontal line

<h1>Welcome</h1>

<p>This is a simple paragraph.</p>

You might also like