Web Technology
(NCS-504)
Prepared By
Mr. Abhishek Kesharwani
Assistant Professor,UCER Naini,Allahabad
History of HTML
HTML stands for Hyper Text Markup Language,
which is the most widely used language on Web to
develop web pages.
HTML was created by Berners-Lee in late 1991
but "HTML 2.0" was the first standard HTML
specification which was published in 1995.
HTML 4.01 was a major version of HTML and it
was published in late 1999.
Though HTML 4.01 version is widely used but
currently we are having HTML-5 version which is an
extension to HTML 4.01, and this version was
published in 2012
HTML Versions
What is HTML?
• HTML stands for Hyper Text Markup Language
• HTML is a markup language
• A markup language is a set of markup tags
• The tags describe document content
• HTML documents contain HTML tags and plain
text
• HTML documents are also called web pages
• Hypertext refers to the way in which Web
pages (HTML documents) are linked together.
Thus the link available on a webpage are
called Hypertext.
• As its name suggests, HTML is a Markup
Language which means you use HTML to
simply "mark up" a text document with tags
that tell a Web browser how to structure it to
display.
• Originally, HTML was developed with the
intent of defining the structure of documents
like headings, paragraphs, lists, and so forth to
facilitate the sharing of scientific information
between researchers.
• Now, HTML is being widely used to format
web pages with the help of different tags
available in HTML language.
HTML Page Structure
<!DOCTYPE html>
<html>
<head>
Document header related tags
</head>
<body>
Document body related tags
</body>
</html>
The <!DOCTYPE> Declaration
The <!DOCTYPE> declaration helps the browser to
display a web page correctly.
There are many different documents on the web,
and a browser can only display an HTML page
100% correctly if it knows the HTML type and
version used.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
• The DOCTYPE declaration defines the
document type. The <!DOCTYPE> declaration
helps the browser to display a web page
correctly.
• The <!DOCTYPE> declaration tag is used by
the web browser to understand the version
of the HTML used in the document. Current
version of HTML is 5 and it makes use of the
following declaration:
<!DOCTYPE html>
• There are many other declaration types which
can be used in HTML document depending on
what version of HTML is being used.
• The text between <html> and </html>
describes the web page.
• The text between <head> tag represents the
document's header which can keep other
HTML tags like <title>, <link> etc.
• The text between <body> and </body> is the
visible page content
• The text between <h1> and </h1> is displayed
as a heading
• The text between <p> and </p> is displayed as
a paragraph
HTML Attributes
• HTML elements can have attributes
• Attributes provide additional information
about an element
• Attributes are always specified in the start tag
• Attributes come in name/value pairs like:
name="value"
Attribute Example
<a href="http://www.google.com">
This is a link</a>
HTML Headings
• Any document starts with a heading. You can use
different sizes for your headings. HTML also has
six levels of headings, which use the
elements<h1>, <h2>, <h3>, <h4>, <h5>, and
<h6>. While displaying any heading, browser
adds one line before and one line after that
heading.
• <h1> defines the most important heading. <h6>
defines the least important heading.
<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
HTML Lines
• Horizontal lines are used to visually break
up sections of a document. The <hr> tag
creates a line from the current position in
the document to the right margin and
breaks the line accordingly.
• The <hr>tag creates a horizontal line in
an HTML page.
• The hr element can be used to separate
content.
Centering Content
• You can use <center> tag to put any content in the center
of the page or any table cell.
<!DOCTYPE html>
<html>
<head>
<title>Centring Content Example</title>
</head>
<body>
<p>This text is not in the center.</p>
<center>
<p>This text is in the center.</p>
</center>
</body>
</html>
HTML Paragraphs
• HTML documents are divided into paragraphs.
• The <p> tag offers a way to structure your text
into different paragraphs. Each paragraph of
text should go in between an opening <p> and
a closing </p> tag as shown below in the
example:
<p>This is a paragraph</p>
<p>This is another paragraph</p>
HTML Line Breaks
• Use the <br> tag if you want a line break (a new
line) without starting a new paragraph.
• Whenever you use the <br /> element, anything
following it starts from the next line. This tag is
an example of an empty element, where you do
not need opening and closing tags, as there is
nothing to go in between them.
• The <br /> tag has a space between the
characters br and the forward slash. If you omit
this space, older browsers will have trouble
rendering the line break, while if you miss the
forward slash character and just use <br> it is
not valid in XHTML.

More Related Content

PDF
PPTX
uptu web technology unit 2 html
PPTX
Web page concept final ppt
PPT
PPTX
PPTX
uptu web technology unit 2 html
PPTX
Introduction to HTML
PDF
What is HTML - An Introduction to HTML (Hypertext Markup Language)
uptu web technology unit 2 html
Web page concept final ppt
uptu web technology unit 2 html
Introduction to HTML
What is HTML - An Introduction to HTML (Hypertext Markup Language)

What's hot (20)

PDF
3. tutorial html web desain
PPTX
PPTX
PPTX
KEY
HTML/CSS Lecture 1
PPTX
HTML Introduction
PPT
Origins and evolution of HTML and XHTML
PPT
Html basics
PDF
Introduction to WEB HTML, CSS
PDF
Web development using html 5
PPTX
Web Page Designing Using HTML
PDF
Lesson 1: Introduction to HTML
PPT
Html introduction
PPTX
Basic html structure
PPTX
PPTX
Html introduction by ikram niaz
PPTX
Hushang Gaikwad
PPTX
Images and Lists in HTML
PPTX
Elements of html powerpoint
3. tutorial html web desain
HTML/CSS Lecture 1
HTML Introduction
Origins and evolution of HTML and XHTML
Html basics
Introduction to WEB HTML, CSS
Web development using html 5
Web Page Designing Using HTML
Lesson 1: Introduction to HTML
Html introduction
Basic html structure
Html introduction by ikram niaz
Hushang Gaikwad
Images and Lists in HTML
Elements of html powerpoint
Ad

Viewers also liked (18)

PPT
Rip ospf and bgp
PPT
Tcpip 1
PPT
Ip addressing classless
PDF
Routers and planes (1)
PDF
Routers and planes
PPT
Ip addressing classful
PPT
Multicasting and multicast routing protocols
DOCX
Data Warehousing Practical for T.Y.I.T.
PPT
Chap 09 icmp
PPTX
Tcp ip tutorial
PDF
TYBSC IT SEM 6 IPR/CL
PDF
TYBSC IT SEM 6 PROJECT MANAGEMENT NOTES
PPT
Protocol Ppt[1]
PPTX
Ppt on internet
Rip ospf and bgp
Tcpip 1
Ip addressing classless
Routers and planes (1)
Routers and planes
Ip addressing classful
Multicasting and multicast routing protocols
Data Warehousing Practical for T.Y.I.T.
Chap 09 icmp
Tcp ip tutorial
TYBSC IT SEM 6 IPR/CL
TYBSC IT SEM 6 PROJECT MANAGEMENT NOTES
Protocol Ppt[1]
Ppt on internet
Ad

Similar to uptu web technology unit 2 html (20)

PDF
HTML stands for HyperText Markup Language. It is used to design web pages usi...
PPT
Introduction to html
PPTX
HYPER TEXT MARKUP LANGUAGE BASIC LESSONS
PPT
html and css- 23091 3154 458-5d4341a0.ppt
PPT
HTML & CSS.ppt
PPTX
1 introduction to html
PPTX
Module-1-1 Hypertext markup Language .pptx
PPT
HTML element is everything between the start tag and the end tag
PPTX
HTML (Hyper Text Markup Language)
POTX
Introduction to PHP - Slide 1
PDF
Web Technologies - Chapter 3 of Front end path.pdf
PPTX
HTML doc introduction and basics ppt.pptx
PPT
1. html introduction
PPTX
HTML 5 Tutorial
PPTX
HTML.pptx
PDF
Introduction to HTML
PDF
HTML? What is Hyper Text Mark Up Language
PPTX
Before Starting HTML , some topics to remember.
HTML stands for HyperText Markup Language. It is used to design web pages usi...
Introduction to html
HYPER TEXT MARKUP LANGUAGE BASIC LESSONS
html and css- 23091 3154 458-5d4341a0.ppt
HTML & CSS.ppt
1 introduction to html
Module-1-1 Hypertext markup Language .pptx
HTML element is everything between the start tag and the end tag
HTML (Hyper Text Markup Language)
Introduction to PHP - Slide 1
Web Technologies - Chapter 3 of Front end path.pdf
HTML doc introduction and basics ppt.pptx
1. html introduction
HTML 5 Tutorial
HTML.pptx
Introduction to HTML
HTML? What is Hyper Text Mark Up Language
Before Starting HTML , some topics to remember.

More from Abhishek Kesharwani (20)

PDF
Software Engineering unit 1 Notes AKTU ppt
PPTX
Software Engineering unit 1 Notes AKTU ppt
PPTX
uptu web technology unit 2 html
PPTX
uptu web technology unit 2 html
PPTX
uptu web technology unit 2 Css
PPTX
uptu web technology unit 2 Css
PPT
uptu web technology unit 2 Xml2
PPT
uptu web technology unit 2 Xml2
PPT
uptu web technology unit 2 Xml2
PPT
uptu web technology unit 2 Xml2
PPTX
Unit 1 web technology uptu slide
PDF
Unit1 Web Technology UPTU UNIT 1
PPTX
PDF
Web Technology UPTU UNIT 1
DOCX
Mtech syllabus computer science uptu
PDF
Wi max tutorial
PDF
Virtual lan
DOCX
Virtual lan
PPT
Tcp traffic control and red ecn
PDF
Schedulling
Software Engineering unit 1 Notes AKTU ppt
Software Engineering unit 1 Notes AKTU ppt
uptu web technology unit 2 html
uptu web technology unit 2 html
uptu web technology unit 2 Css
uptu web technology unit 2 Css
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
Unit 1 web technology uptu slide
Unit1 Web Technology UPTU UNIT 1
Web Technology UPTU UNIT 1
Mtech syllabus computer science uptu
Wi max tutorial
Virtual lan
Virtual lan
Tcp traffic control and red ecn
Schedulling

Recently uploaded (20)

PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
My India Quiz Book_20210205121199924.pdf
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PDF
Complications of Minimal Access-Surgery.pdf
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Environmental Education MCQ BD2EE - Share Source.pdf
Weekly quiz Compilation Jan -July 25.pdf
Paper A Mock Exam 9_ Attempt review.pdf.
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
Share_Module_2_Power_conflict_and_negotiation.pptx
What if we spent less time fighting change, and more time building what’s rig...
FORM 1 BIOLOGY MIND MAPS and their schemes
Introduction to pro and eukaryotes and differences.pptx
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
My India Quiz Book_20210205121199924.pdf
AI-driven educational solutions for real-life interventions in the Philippine...
TNA_Presentation-1-Final(SAVE)) (1).pptx
Complications of Minimal Access-Surgery.pdf
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Uderstanding digital marketing and marketing stratergie for engaging the digi...

uptu web technology unit 2 html

  • 1. Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad
  • 2. History of HTML HTML stands for Hyper Text Markup Language, which is the most widely used language on Web to develop web pages. HTML was created by Berners-Lee in late 1991 but "HTML 2.0" was the first standard HTML specification which was published in 1995. HTML 4.01 was a major version of HTML and it was published in late 1999. Though HTML 4.01 version is widely used but currently we are having HTML-5 version which is an extension to HTML 4.01, and this version was published in 2012
  • 4. What is HTML? • HTML stands for Hyper Text Markup Language • HTML is a markup language • A markup language is a set of markup tags • The tags describe document content • HTML documents contain HTML tags and plain text • HTML documents are also called web pages
  • 5. • Hypertext refers to the way in which Web pages (HTML documents) are linked together. Thus the link available on a webpage are called Hypertext. • As its name suggests, HTML is a Markup Language which means you use HTML to simply "mark up" a text document with tags that tell a Web browser how to structure it to display.
  • 6. • Originally, HTML was developed with the intent of defining the structure of documents like headings, paragraphs, lists, and so forth to facilitate the sharing of scientific information between researchers. • Now, HTML is being widely used to format web pages with the help of different tags available in HTML language.
  • 8. <!DOCTYPE html> <html> <head> Document header related tags </head> <body> Document body related tags </body> </html>
  • 9. The <!DOCTYPE> Declaration The <!DOCTYPE> declaration helps the browser to display a web page correctly. There are many different documents on the web, and a browser can only display an HTML page 100% correctly if it knows the HTML type and version used. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd">
  • 10. • The DOCTYPE declaration defines the document type. The <!DOCTYPE> declaration helps the browser to display a web page correctly. • The <!DOCTYPE> declaration tag is used by the web browser to understand the version of the HTML used in the document. Current version of HTML is 5 and it makes use of the following declaration: <!DOCTYPE html> • There are many other declaration types which can be used in HTML document depending on what version of HTML is being used.
  • 11. • The text between <html> and </html> describes the web page. • The text between <head> tag represents the document's header which can keep other HTML tags like <title>, <link> etc. • The text between <body> and </body> is the visible page content • The text between <h1> and </h1> is displayed as a heading • The text between <p> and </p> is displayed as a paragraph
  • 12. HTML Attributes • HTML elements can have attributes • Attributes provide additional information about an element • Attributes are always specified in the start tag • Attributes come in name/value pairs like: name="value"
  • 14. HTML Headings • Any document starts with a heading. You can use different sizes for your headings. HTML also has six levels of headings, which use the elements<h1>, <h2>, <h3>, <h4>, <h5>, and <h6>. While displaying any heading, browser adds one line before and one line after that heading. • <h1> defines the most important heading. <h6> defines the least important heading. <h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3>
  • 15. HTML Lines • Horizontal lines are used to visually break up sections of a document. The <hr> tag creates a line from the current position in the document to the right margin and breaks the line accordingly. • The <hr>tag creates a horizontal line in an HTML page. • The hr element can be used to separate content.
  • 16. Centering Content • You can use <center> tag to put any content in the center of the page or any table cell. <!DOCTYPE html> <html> <head> <title>Centring Content Example</title> </head> <body> <p>This text is not in the center.</p> <center> <p>This text is in the center.</p> </center> </body> </html>
  • 17. HTML Paragraphs • HTML documents are divided into paragraphs. • The <p> tag offers a way to structure your text into different paragraphs. Each paragraph of text should go in between an opening <p> and a closing </p> tag as shown below in the example: <p>This is a paragraph</p> <p>This is another paragraph</p>
  • 18. HTML Line Breaks • Use the <br> tag if you want a line break (a new line) without starting a new paragraph. • Whenever you use the <br /> element, anything following it starts from the next line. This tag is an example of an empty element, where you do not need opening and closing tags, as there is nothing to go in between them. • The <br /> tag has a space between the characters br and the forward slash. If you omit this space, older browsers will have trouble rendering the line break, while if you miss the forward slash character and just use <br> it is not valid in XHTML.