SlideShare a Scribd company logo
4
Most read
8
Most read
9
Most read
www.eshikshak.co.in
Introduction to HTML
•   HTML stands for Hyper Text Markup Language
•   Language interpreted by a web browser
•   Web-pages are also called HTML Documents.
•   It defines the structure and layout of a Web
    document by using a variety of tags and
    attributes.



                                   www.eshikshak.co.in
Features of HTML
• Create a Web page using tags.
• Use graphics and display text in different fonts, sizes, and
  color.
• Enhance the presentation of the document using HTML
  elements.
• Create hyperlinks to navigate to different documents
  present on the Web.
• Display data in a tabular format.
• Create multiple windows in a Web page to display
  information from multiple sources in different windows

                                             www.eshikshak.co.in
HTML tags
• A command inserted in a document that
  specifies how the document, or a portion of
  the document, should be formatted.
• HTML tags begin with an open angle bracket
  (<) and end with a close angle bracket (>).
• HTML tags are of two types
  – Paired Tags
  – Singular Tags

                                 www.eshikshak.co.in
HTML attributes
• A language construct that programmers use
  to add additional information (i.e., metadata)
  to code elements (e.g., assemblies, modules,
  members, types, return values, and
  parameters) to extend their functionality.
• Attributes are written immediately following
  the tag
• Multiple attributes can be associated

                                   www.eshikshak.co.in
Types of HTML tag – Paired tag
• A tag is said to be a paired tag if the text is
  placed between a tag and its companion tag.
• In paired tags, the first tag is referred to as
  Opening Tag and the second tag is referred to
  as Closing Tag.
  – Example: <i>This text is in italics. </i>
  – Note: Here,
     • <i> is called opening tag
     • </i>          is       called   closing         tag.

                                           www.eshikshak.co.in
Types of HTML tag – Singular tag
• A standalone tag does not have a companinon
  tag.



  – Example: <BR /> - This tag will insert a line break
  – This tag does not require any companion tag.




                                         www.eshikshak.co.in
The structure of HTML document
<html>                                   This page is written in HTML
  <head>                                 Head tag contians information
       <title>                           about web page

                 Title of the web page                    title tag contains
      </title>                                            title of a web page

  </head>
                                         body tag contains contents of
  <body>                                 web page
       Content of the Page
       <address> Your address </address>                  This is the footer of
                                                          the web page
  </body>
</html>
                                                            www.eshikshak.co.in
The structure of HTML document
• The basic structure for all HTML documents is
  simple and should include the following
  minimum elements or tags:
  – <html> : The main container for HTML pages
  – <head> : The container for page header
    information
  – <title> : The title of the page
  – <body> : The main body of the page


                                  www.eshikshak.co.in
DOCTYPE
• The HTML !doctype tag is used for specifying
  which version of HTML the document is using.
  This is referred to as the document type
  declaration (DTD).
• <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
  Transitional//EN“ "http://www.w3.
  org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html>




                                         www.eshikshak.co.in
The <html> Element
• The <html> element is the containing element
  for the whole HTML document. Each HTML
  document should have one <html> and each
  document should end with a closing </html>
  tag.
• Following two elements appear as direct
  children of an <html> element:
  – <head>
  – <body>
                                 www.eshikshak.co.in
The <head> Element
• The <head> element is just a container for all
  other header elements.

• It should be the first thing to appear after the
  opening <html> tag.

• Each <head> element should contain a <title>
  element indicating the title of the document

                                    www.eshikshak.co.in
The <head> Element
• The <title> tag is used to give title to the document.

• The <link> tag is used to link to an external file, such
  as a style sheet or JavaScript file.

• The <style> tag is used to include CSS rules inside the
  document.

• The <script> tag is used to include JAVAScript or
  VBScript inside the document.
                                          www.eshikshak.co.in
The <head> Element
• The <base> tag is used to create a "base" url for all
  links on the page.

• The <object> tag is designed to include images,
  JavaScript objects, Flash animations, MP3 files,
  QuickTime movies and other components of a page.




                                        www.eshikshak.co.in
The <title> Element:
• To specify a title for every page that you write
  inside the <title> element.
• This element is a child of the <head> element.
• It is used in several ways:
  – It displays at the very top of a browser window.
  – It is used as the default name for a bookmark in
    browsers such as IE and Netscape.
  – Its is used by search engines that use its content
    to help index pages.
                                       www.eshikshak.co.in
The <title> Element:
• Here is the example of using title tag.

  <html>
        <head>
              <title>Welcome to MyWebsite</title>
        </head>
  </html>




                                        www.eshikshak.co.in
The <body> Element:
• The <body> element appears after the <head>
  element.
• It contains the part of the Web page that you
  actually see in the main browser window.
• A <body> element may contain anything from
  a couple of paragraphs under a heading to
  more complicated layouts containing forms
  and tables.

                                  www.eshikshak.co.in
The <body> Element:
• Here is the example of using body tag.
  <html>
        <head>
              <title>Welcome to MyWebsite</title>
        </head>

        <body>
              You are welcome to MyWebsite.
        </body>
  </html>


                                       www.eshikshak.co.in

More Related Content

PPTX
Learn html Basics
PPTX
PPT
PPTX
Html ppt
PDF
Natural Language Processing (NLP)
ODT
PREPARATION OF SOYBEAN MILK AND ITS COMPARISION WITH NATURAL MILK
PPTX
Database Management System
PPT
Introduction to Internet
Learn html Basics
Html ppt
Natural Language Processing (NLP)
PREPARATION OF SOYBEAN MILK AND ITS COMPARISION WITH NATURAL MILK
Database Management System
Introduction to Internet

What's hot (20)

PPT
Introduction to CSS
PPTX
Basic HTML
PPTX
PPTX
Html coding
PPT
Eye catching HTML BASICS tips: Learn easily
PPT
CSS Basics
PPTX
Javascript 101
PPTX
PPTX
Html links
ODP
Introduction of Html/css/js
PDF
Javascript basics
PPT
Web Development using HTML & CSS
PPTX
Basic Html Knowledge for students
PPT
HTML Tags
PPTX
Html form tag
PPT
Html presentation
PPTX
Html n CSS
PDF
Basic Html Notes
PDF
Basics of JavaScript
Introduction to CSS
Basic HTML
Html coding
Eye catching HTML BASICS tips: Learn easily
CSS Basics
Javascript 101
Html links
Introduction of Html/css/js
Javascript basics
Web Development using HTML & CSS
Basic Html Knowledge for students
HTML Tags
Html form tag
Html presentation
Html n CSS
Basic Html Notes
Basics of JavaScript
Ad

Viewers also liked (20)

PPT
Introduction to HTML
PDF
Lesson 1: Introduction to HTML
KEY
HTML presentation for beginners
PPT
Introduction to html
PPTX
Internet and html
PPTX
Introduction to HTML
PDF
PPTX
Introduction to HTML
PPTX
HTML Introduction
PPT
Html for beginners part I
PPT
Mesics lecture 5 input – output in ‘c’
PDF
Html phrase tags
PDF
Lecture15 comparisonoftheloopcontrolstructures.ppt
PDF
Lecture21 categoriesof userdefinedfunctions.ppt
PPT
Mesics lecture 3 c – constants and variables
PDF
Lecture 7 relational_and_logical_operators
PDF
Lecture7relationalandlogicaloperators 110823181038-phpapp02
PPT
Introduction to html
PPT
Mesics lecture files in 'c'
PDF
Algorithm
Introduction to HTML
Lesson 1: Introduction to HTML
HTML presentation for beginners
Introduction to html
Internet and html
Introduction to HTML
Introduction to HTML
HTML Introduction
Html for beginners part I
Mesics lecture 5 input – output in ‘c’
Html phrase tags
Lecture15 comparisonoftheloopcontrolstructures.ppt
Lecture21 categoriesof userdefinedfunctions.ppt
Mesics lecture 3 c – constants and variables
Lecture 7 relational_and_logical_operators
Lecture7relationalandlogicaloperators 110823181038-phpapp02
Introduction to html
Mesics lecture files in 'c'
Algorithm
Ad

Similar to Introduction to html (20)

PDF
Day1-HTML-CSS some basic css and html.pdf
KEY
Html intro
PPT
HTML & CSS.ppt
PPTX
2. HTML Basic unit2 fundamentals of computer
PPTX
Html and Css Student Education hub point.pptx
PPT
html and css- 23091 3154 458-5d4341a0.ppt
PDF
What is HTML - An Introduction to HTML (Hypertext Markup Language)
PPTX
Web Page Designing
PDF
Intro to html revised2
PPT
Html5 css3
PPT
Intr to-html-xhtml-1233508169541646-3
PPTX
Unit2_2024.pptx are related to PHP HTML CSS
PPTX
Frontend Devlopment internship batch 2024.pptx
PPTX
Frontend Devlopment internship batch 2024-2.pptx
PPTX
Introduction to Web Techniques_Key componenets_HTML Basics
PPTX
UNIT 2 presentation for the subject ITWS-01.pptx
PPTX
Web technologies-course 02.pptx
PPTX
Introduction to html
PPTX
Full Stack_HTML- Hypertext Markup Language
PPTX
Html5.pptx
Day1-HTML-CSS some basic css and html.pdf
Html intro
HTML & CSS.ppt
2. HTML Basic unit2 fundamentals of computer
Html and Css Student Education hub point.pptx
html and css- 23091 3154 458-5d4341a0.ppt
What is HTML - An Introduction to HTML (Hypertext Markup Language)
Web Page Designing
Intro to html revised2
Html5 css3
Intr to-html-xhtml-1233508169541646-3
Unit2_2024.pptx are related to PHP HTML CSS
Frontend Devlopment internship batch 2024.pptx
Frontend Devlopment internship batch 2024-2.pptx
Introduction to Web Techniques_Key componenets_HTML Basics
UNIT 2 presentation for the subject ITWS-01.pptx
Web technologies-course 02.pptx
Introduction to html
Full Stack_HTML- Hypertext Markup Language
Html5.pptx

More from eShikshak (20)

PDF
Modelling and evaluation
PDF
Operators in python
PDF
Datatypes in python
PDF
Introduction to python
PPT
Introduction to e commerce
PDF
Chapeter 2 introduction to cloud computing
PDF
Unit 1.4 working of cloud computing
PDF
Unit 1.3 types of cloud
PDF
Unit 1.2 move to cloud computing
PDF
Unit 1.1 introduction to cloud computing
PPT
Mesics lecture 8 arrays in 'c'
PPT
Mesics lecture 7 iteration and repetitive executions
PPT
Mesics lecture 6 control statement = if -else if__else
PPT
Mesics lecture 4 c operators and experssions
PPT
Mesics lecture 5 input – output in ‘c’
PDF
Lecture20 user definedfunctions.ppt
PDF
Lecture18 structurein c.ppt
PDF
Lecture17 arrays.ppt
PDF
Lecture13 control statementswitch.ppt
PDF
Lecturer23 pointersin c.ppt
Modelling and evaluation
Operators in python
Datatypes in python
Introduction to python
Introduction to e commerce
Chapeter 2 introduction to cloud computing
Unit 1.4 working of cloud computing
Unit 1.3 types of cloud
Unit 1.2 move to cloud computing
Unit 1.1 introduction to cloud computing
Mesics lecture 8 arrays in 'c'
Mesics lecture 7 iteration and repetitive executions
Mesics lecture 6 control statement = if -else if__else
Mesics lecture 4 c operators and experssions
Mesics lecture 5 input – output in ‘c’
Lecture20 user definedfunctions.ppt
Lecture18 structurein c.ppt
Lecture17 arrays.ppt
Lecture13 control statementswitch.ppt
Lecturer23 pointersin c.ppt

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
MYSQL Presentation for SQL database connectivity
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Modernizing your data center with Dell and AMD
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
A Presentation on Artificial Intelligence
PPT
Teaching material agriculture food technology
PDF
KodekX | Application Modernization Development
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Review of recent advances in non-invasive hemoglobin estimation
20250228 LYD VKU AI Blended-Learning.pptx
CIFDAQ's Market Insight: SEC Turns Pro Crypto
MYSQL Presentation for SQL database connectivity
The AUB Centre for AI in Media Proposal.docx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Modernizing your data center with Dell and AMD
Network Security Unit 5.pdf for BCA BBA.
Unlocking AI with Model Context Protocol (MCP)
“AI and Expert System Decision Support & Business Intelligence Systems”
A Presentation on Artificial Intelligence
Teaching material agriculture food technology
KodekX | Application Modernization Development
Mobile App Security Testing_ A Comprehensive Guide.pdf
Understanding_Digital_Forensics_Presentation.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Per capita expenditure prediction using model stacking based on satellite ima...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Diabetes mellitus diagnosis method based random forest with bat algorithm
NewMind AI Weekly Chronicles - August'25 Week I
Review of recent advances in non-invasive hemoglobin estimation

Introduction to html

  • 2. Introduction to HTML • HTML stands for Hyper Text Markup Language • Language interpreted by a web browser • Web-pages are also called HTML Documents. • It defines the structure and layout of a Web document by using a variety of tags and attributes. www.eshikshak.co.in
  • 3. Features of HTML • Create a Web page using tags. • Use graphics and display text in different fonts, sizes, and color. • Enhance the presentation of the document using HTML elements. • Create hyperlinks to navigate to different documents present on the Web. • Display data in a tabular format. • Create multiple windows in a Web page to display information from multiple sources in different windows www.eshikshak.co.in
  • 4. HTML tags • A command inserted in a document that specifies how the document, or a portion of the document, should be formatted. • HTML tags begin with an open angle bracket (<) and end with a close angle bracket (>). • HTML tags are of two types – Paired Tags – Singular Tags www.eshikshak.co.in
  • 5. HTML attributes • A language construct that programmers use to add additional information (i.e., metadata) to code elements (e.g., assemblies, modules, members, types, return values, and parameters) to extend their functionality. • Attributes are written immediately following the tag • Multiple attributes can be associated www.eshikshak.co.in
  • 6. Types of HTML tag – Paired tag • A tag is said to be a paired tag if the text is placed between a tag and its companion tag. • In paired tags, the first tag is referred to as Opening Tag and the second tag is referred to as Closing Tag. – Example: <i>This text is in italics. </i> – Note: Here, • <i> is called opening tag • </i> is called closing tag. www.eshikshak.co.in
  • 7. Types of HTML tag – Singular tag • A standalone tag does not have a companinon tag. – Example: <BR /> - This tag will insert a line break – This tag does not require any companion tag. www.eshikshak.co.in
  • 8. The structure of HTML document <html> This page is written in HTML <head> Head tag contians information <title> about web page Title of the web page title tag contains </title> title of a web page </head> body tag contains contents of <body> web page Content of the Page <address> Your address </address> This is the footer of the web page </body> </html> www.eshikshak.co.in
  • 9. The structure of HTML document • The basic structure for all HTML documents is simple and should include the following minimum elements or tags: – <html> : The main container for HTML pages – <head> : The container for page header information – <title> : The title of the page – <body> : The main body of the page www.eshikshak.co.in
  • 10. DOCTYPE • The HTML !doctype tag is used for specifying which version of HTML the document is using. This is referred to as the document type declaration (DTD). • <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN“ "http://www.w3. org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> www.eshikshak.co.in
  • 11. The <html> Element • The <html> element is the containing element for the whole HTML document. Each HTML document should have one <html> and each document should end with a closing </html> tag. • Following two elements appear as direct children of an <html> element: – <head> – <body> www.eshikshak.co.in
  • 12. The <head> Element • The <head> element is just a container for all other header elements. • It should be the first thing to appear after the opening <html> tag. • Each <head> element should contain a <title> element indicating the title of the document www.eshikshak.co.in
  • 13. The <head> Element • The <title> tag is used to give title to the document. • The <link> tag is used to link to an external file, such as a style sheet or JavaScript file. • The <style> tag is used to include CSS rules inside the document. • The <script> tag is used to include JAVAScript or VBScript inside the document. www.eshikshak.co.in
  • 14. The <head> Element • The <base> tag is used to create a "base" url for all links on the page. • The <object> tag is designed to include images, JavaScript objects, Flash animations, MP3 files, QuickTime movies and other components of a page. www.eshikshak.co.in
  • 15. The <title> Element: • To specify a title for every page that you write inside the <title> element. • This element is a child of the <head> element. • It is used in several ways: – It displays at the very top of a browser window. – It is used as the default name for a bookmark in browsers such as IE and Netscape. – Its is used by search engines that use its content to help index pages. www.eshikshak.co.in
  • 16. The <title> Element: • Here is the example of using title tag. <html> <head> <title>Welcome to MyWebsite</title> </head> </html> www.eshikshak.co.in
  • 17. The <body> Element: • The <body> element appears after the <head> element. • It contains the part of the Web page that you actually see in the main browser window. • A <body> element may contain anything from a couple of paragraphs under a heading to more complicated layouts containing forms and tables. www.eshikshak.co.in
  • 18. The <body> Element: • Here is the example of using body tag. <html> <head> <title>Welcome to MyWebsite</title> </head> <body> You are welcome to MyWebsite. </body> </html> www.eshikshak.co.in