SlideShare a Scribd company logo
HTML
HTML Introduction
Defination:- HTML is the standard markup language for creating Web pages.
What is HTML?
HTML stands for Hyper Text Markup Language
HTML is the standard markup language for creating Web pages
HTML describes the structure of a Web page
HTML consists of a series of elements
HTML elements tell the browser how to display the content
HTML elements label pieces of content such as "this is a heading", "this is a paragraph",
"this is a link", etc.
A Simple HTML Document
• The <!DOCTYPE html> declaration defines that this
document is an HTML5 document
• The <html> element is the root element of an HTML
page
• The <head> element contains meta information about
the HTML page
• The <title> element specifies a title for the HTML page
(which is shown in the browser's title bar or in the page's
tab)
• The <body> element defines the document's body, and
is a container for all the visible contents, such as
headings, paragraphs, images, hyperlinks, tables, lists,
etc.
• The <h1> element defines a large heading
• The <p> element defines a paragraph
What is an HTML Element?
An HTML element is defined by a start tag, some content, and an end tag:
<tagname> Content goes here... </tagname>
The HTML element is everything from the start tag to the end tag:
<h1>My First Heading</h1>
<p>My first paragraph.</p>
Start tag Element content End tag
<h1> My First Heading </h1>
<p> My first paragraph. </p>
<br> none none
HTML History
Year Version
1989 Tim Berners-Lee invented www
1991 Tim Berners-Lee invented HTML
1993 Dave Raggett drafted HTML+
1995 HTML Working Group defined HTML 2.0
1997 W3C Recommendation: HTML 3.2
1999 W3C Recommendation: HTML 4.01
2000 W3C Recommendation: XHTML 1.0
2008 WHATWG HTML5 First Public Draft
2012 WHATWG HTML5 Living Standard
2014 W3C Recommendation: HTML5
2016 W3C Candidate Recommendation: HTML 5.1
2017 W3C Recommendation: HTML5.1 2nd Edition
2017 W3C Recommendation: HTML5.2
HTML Basics
HTML Documents
• All HTML documents must start with a document type declaration: <!DOCTYPE html>.
• The HTML document itself begins with <html> and ends with </html>.
• The visible part of the HTML document is between <body> and </body>.
Example
The <!DOCTYPE> Declaration
• The <!DOCTYPE> declaration represents the document type, and helps browsers to display web pages
correctly.
• It must only appear once, at the top of the page (before any HTML tags).
• The <!DOCTYPE> declaration is not case sensitive.
• The <!DOCTYPE> declaration for HTML5 is:
<!DOCTYPE html>
HTML Headings
• HTML headings are defined with the <h1> to <h6> tags.
• <h1> defines the most important heading. <h6> defines the least important heading:
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
HTML Paragraphs
• HTML paragraphs are defined with the <p> tag:
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
HTML Links
• HTML links are defined with the <a> tag:
<a href=“www.google.com”>This is a link</a>
• The link's destination is specified in the href attribute.
• Attributes are used to provide additional information about HTML elements.
HTML Images

More Related Content

PPTX
INTRODUCTION TO HTML.pptx
PPT
1. html introduction
PPTX
HTML.pptx
PPTX
Html5.pptx
PDF
Presentation1.pdf
PPTX
Before Starting HTML , some topics to remember.
PPTX
html tags chapter 1.pptx
INTRODUCTION TO HTML.pptx
1. html introduction
HTML.pptx
Html5.pptx
Presentation1.pdf
Before Starting HTML , some topics to remember.
html tags chapter 1.pptx

Similar to HTML doc introduction and basics ppt.pptx (20)

PDF
Web Engineering, Web design, development-2
PPTX
HTML 5 Tutorial
PPTX
HTML Intro
PPTX
HTML-BASICS is the programming will.pptx
PPSX
HTML Comprehensive Overview
PPTX
HTML (Hyper Text Markup Language)
PPTX
DICT-Standard-Template-4-3-ratio.pptx
PPTX
Html5 tutorial
PPTX
HYPER TEXT MARKUP LANGUAGE BASIC LESSONS
PDF
HTML stands for HyperText Markup Language. It is used to design web pages usi...
PPTX
HTML5 Topic 1
PDF
"Innovative Web Design & Development Hub
PPTX
WEBSITE DEVELOPMENT,HTML is the standard markup language for creating Web pag...
PPTX
introduction to hypertext markup language.pptx
PDF
HTML? What is Hyper Text Mark Up Language
PPTX
uptu web technology unit 2 html
PPTX
Introduction to html | Rustcode
PPT
html and css- 23091 3154 458-5d4341a0.ppt
Web Engineering, Web design, development-2
HTML 5 Tutorial
HTML Intro
HTML-BASICS is the programming will.pptx
HTML Comprehensive Overview
HTML (Hyper Text Markup Language)
DICT-Standard-Template-4-3-ratio.pptx
Html5 tutorial
HYPER TEXT MARKUP LANGUAGE BASIC LESSONS
HTML stands for HyperText Markup Language. It is used to design web pages usi...
HTML5 Topic 1
"Innovative Web Design & Development Hub
WEBSITE DEVELOPMENT,HTML is the standard markup language for creating Web pag...
introduction to hypertext markup language.pptx
HTML? What is Hyper Text Mark Up Language
uptu web technology unit 2 html
Introduction to html | Rustcode
html and css- 23091 3154 458-5d4341a0.ppt
Ad

Recently uploaded (20)

PPTX
1751884730-Visual Basic -Unitj CS B.pptx
PPTX
Autonomic_Nervous_SystemM_Drugs_PPT.pptx
PDF
Sales and Distribution Managemnjnfijient.pdf
PPTX
Definition and Relation of Food Science( Lecture1).pptx
PPTX
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
PDF
Entrepreneurship PowerPoint for students
PPTX
Surgical thesis protocol formation ppt.pptx
PDF
esg-supply-chain-webinar-nov2018hkhkkh.pdf
PDF
Josh Gao Strength to Strength Book Summary
PDF
Why Today’s Brands Need ORM & SEO Specialists More Than Ever.pdf
PPTX
Cerebral_Palsy_Detailed_Presentation.pptx
PPT
2- CELL INJURY L1 Medical (2) gggggggggg
PDF
313302 DBMS UNIT 1 PPT for diploma Computer Eng Unit 2
PPT
notes_Lecture2 23l3j2 dfjl dfdlkj d 2.ppt
PPTX
Your Guide to a Winning Interview Aug 2025.
PPTX
A slide for students with the advantagea
PDF
MCQ Practice CBT OL Official Language 1.pptx.pdf
PPTX
internship presentation of bsnl in colllege
PPTX
Prokaryotes v Eukaryotes PowerPoint.pptx
PPTX
Slideham presentation for the students a
1751884730-Visual Basic -Unitj CS B.pptx
Autonomic_Nervous_SystemM_Drugs_PPT.pptx
Sales and Distribution Managemnjnfijient.pdf
Definition and Relation of Food Science( Lecture1).pptx
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
Entrepreneurship PowerPoint for students
Surgical thesis protocol formation ppt.pptx
esg-supply-chain-webinar-nov2018hkhkkh.pdf
Josh Gao Strength to Strength Book Summary
Why Today’s Brands Need ORM & SEO Specialists More Than Ever.pdf
Cerebral_Palsy_Detailed_Presentation.pptx
2- CELL INJURY L1 Medical (2) gggggggggg
313302 DBMS UNIT 1 PPT for diploma Computer Eng Unit 2
notes_Lecture2 23l3j2 dfjl dfdlkj d 2.ppt
Your Guide to a Winning Interview Aug 2025.
A slide for students with the advantagea
MCQ Practice CBT OL Official Language 1.pptx.pdf
internship presentation of bsnl in colllege
Prokaryotes v Eukaryotes PowerPoint.pptx
Slideham presentation for the students a
Ad

HTML doc introduction and basics ppt.pptx

  • 2. HTML Introduction Defination:- HTML is the standard markup language for creating Web pages. What is HTML? HTML stands for Hyper Text Markup Language HTML is the standard markup language for creating Web pages HTML describes the structure of a Web page HTML consists of a series of elements HTML elements tell the browser how to display the content HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.
  • 3. A Simple HTML Document • The <!DOCTYPE html> declaration defines that this document is an HTML5 document • The <html> element is the root element of an HTML page • The <head> element contains meta information about the HTML page • The <title> element specifies a title for the HTML page (which is shown in the browser's title bar or in the page's tab) • The <body> element defines the document's body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc. • The <h1> element defines a large heading • The <p> element defines a paragraph
  • 4. What is an HTML Element? An HTML element is defined by a start tag, some content, and an end tag: <tagname> Content goes here... </tagname> The HTML element is everything from the start tag to the end tag: <h1>My First Heading</h1> <p>My first paragraph.</p> Start tag Element content End tag <h1> My First Heading </h1> <p> My first paragraph. </p> <br> none none
  • 5. HTML History Year Version 1989 Tim Berners-Lee invented www 1991 Tim Berners-Lee invented HTML 1993 Dave Raggett drafted HTML+ 1995 HTML Working Group defined HTML 2.0 1997 W3C Recommendation: HTML 3.2 1999 W3C Recommendation: HTML 4.01 2000 W3C Recommendation: XHTML 1.0 2008 WHATWG HTML5 First Public Draft 2012 WHATWG HTML5 Living Standard 2014 W3C Recommendation: HTML5 2016 W3C Candidate Recommendation: HTML 5.1 2017 W3C Recommendation: HTML5.1 2nd Edition 2017 W3C Recommendation: HTML5.2
  • 6. HTML Basics HTML Documents • All HTML documents must start with a document type declaration: <!DOCTYPE html>. • The HTML document itself begins with <html> and ends with </html>. • The visible part of the HTML document is between <body> and </body>. Example
  • 7. The <!DOCTYPE> Declaration • The <!DOCTYPE> declaration represents the document type, and helps browsers to display web pages correctly. • It must only appear once, at the top of the page (before any HTML tags). • The <!DOCTYPE> declaration is not case sensitive. • The <!DOCTYPE> declaration for HTML5 is: <!DOCTYPE html> HTML Headings • HTML headings are defined with the <h1> to <h6> tags. • <h1> defines the most important heading. <h6> defines the least important heading: <h1>This is heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3>
  • 8. HTML Paragraphs • HTML paragraphs are defined with the <p> tag: <p>This is a paragraph.</p> <p>This is another paragraph.</p> HTML Links • HTML links are defined with the <a> tag: <a href=“www.google.com”>This is a link</a> • The link's destination is specified in the href attribute. • Attributes are used to provide additional information about HTML elements. HTML Images