SlideShare ist ein Scribd-Unternehmen logo
1 von 25
WHAT IS HTML?
 HTML is a language for describing web pages.
 HTML stands for Hyper Text Markup Language
 HTML is not a programming language, it is a
  markup language
 A markup language is a set of markup tags
 The purpose of the tags are to describe page
  contents.
HTML TAGS
   HTML markup tags are usually called HTML tags
   HTML tags are keywords (tag names) surrounded by
    angle brackets like <html>
   HTML tags normally come in pairs like <b> and </b>
   The first tag in a pair is the start tag, <b>, the second
    tag is the end tag, </b>.
   The end tag is written like the start tag, with a
    forward slash before the tag name
HTML DOCUMENTS = WEB PAGES
 HTML documents describe web pages
 HTML documents contain HTML tags and
  plain text
 HTML documents are also called web
  pages
HTML PAGE STRUCTURE
  <html>
    <head>
    </head>
       < body>
                  < h1>This a Heading</h1>
                  < p>This is a paragraph.</p>
                  < p>This is another paragraph.</p>
       < /body>
  </html>
HTML
 Introduction part 2 Of 3

       By: Muhammad Ikram Niaz
http://youtu.be/MUodbKsEWA0
HTML - <HEAD> ELEMENT
   The <head> is usually the first element contained
    inside the <html> element. While it is also an element
    container that encapsulates other HTML
    elements, these elements are not directly displayed
    by a web browser, they function behind the
    scenes, providing more descriptive information about
    the HTML document, like page title and other meta
    data.
   Elements used for scripting (JavaScript) and
    formatting (CSS) are also contained within the
HTML - <TITLE> ELEMENT
   The <title> element adds a title to a web page. Web
    page titles are displayed at the top of any browser
    window or at the top of browser tabs. They are
    probably the first thing seen by web surfers as pages
    are loaded,
   web pages bookmark/Favorites ___saved using the
    web pages' titles.
   A proper title makes a good first impression, and any
    page caught without a title is considered
    unprofessional.
<title> Dawha School </title>
HTML - <BODY> ELEMENT
   The body elements contain all of the page's
    viewable content.

    (paragraphs, pictures, tables, heading, bullet
    s, numbering, unorderlist, colors, etc.)
BACKGROUND COLOUR AND GRAPHICS
   Attributes of <BODY>
       BGCOLOR=”code”
         Specify    color for background of the screen
       BACKGROUND=”path/file”
         Tiles   the graphic in the file to fit the screen
<BODY BGCOLOR=”green”>
<BODY BGCOLOR=”#00FF00”>
<BODY BACKGROUND=”abcpict.jpg”>
CHANGING FONT
   <FONT>…</FONT>
     Attributes
        SIZE=“…”(font size, 1 through 7)
        COLOR=“…” (font colour)
        FACE=“…” (font type)

   <FONT SIZE=“3” COLOR=“#FF9933”
    FACE=“tahoma”> …</FONT>
TAGS & ATTRIBUTES
 <body> Started Body of the webpage
 </body>
 bgcolor Attribute
 <body bgcolor= "Red" > Started Red colored
  Body of the webpage </body>
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
 HTML links are defined with the <a> tag. The
  link address is specified in the href attribute:
 <a href="http://www.dawhaschool.ae">This is
  a my school website</a>
HTML HEADINGS
 Headings are defined with the <h1> to <h6>
  tags.
 <h1>   This is a heading 1</h1>
 < h2>This   is a heading 2</h2>
 < h3>This   is a heading 3</h3>
HTML TEXT FORMATTING TAGS
 <b>Defines bold text
 <big>Defines big text
 <em>Defines emphasized text
 <i>Defines italic text
 <small>Defines small text
 <strong>Defines strong text
 <sub>Defines subscripted text
 <sup>Defines superscripted text
HTML IMAGES
 <img src="url" alt="some_text"/>
 Src mean source of the image.

 alt attribute specifies an alternate text for an
  image, if the image cannot be displayed.
 <img src= " image29.jpg" alt= “Ikram Pic"
  width="304" height="228" />
HTML HYPERLINKS (LINKS)
 A hyperlink (or link) is a word, group of
  words, or image that you can click on to jump
  to a new document or a new section within
  the current document.
 When you move the cursor over a link in a
  Web page, the arrow will turn into a little
  hand.
 Links are specified in HTML using the <a> tag.
 The <a> tag can be used in two ways:

1. To create a link to another document, by using
   the href attribute.
2. To create a bookmark inside a document, by
   using the name attribute.
 <a href="url">Link text</a>

 <a href=“http://www.dawhaschool.ae">Dawha
   School, Sharjah</a>
HTML UNORDERED LISTS
 An unordered list starts with the <ul> tag.
  Each list item starts with the <li> tag.
 The list items are marked with bullets
  (typically small black circles).
              <ul>
              < li>Coffee</li>   • Coffee
              < li>Milk</li>     • Milk
              < /ul>
EXAMPLES
<ol>                              <ol type="A">
                   1. Apples                           A. Apples
<li>Apples</li>                     <li>Apples</li>
                   2. Banana                           B. Banana
<li>Bananas</li>                    <li>Bananas</li>
                      s                                   s
<li>Lemons</li>                     <li>Lemons</li>
                   3. Lemons                           C. Lemons
<li>Oranges</li>                    <li>Oranges</li>
                   4. Orange                           D. Orange
</ol>                             </ol>
                      s                                   s

    <ul type="circle">
       <li>Apples</li>    o   Apples
       <li>Bananas</li>   o   Bananas
       <li>Lemons</li>    o   Lemons
       <li>Oranges</li>   o   Oranges
    </ul>
Thanks for Watching this video ! Please comments.




                   MUHAMMAD IKRAM NIAZ
HTML
 Introduction part 3 Of 3

       By: Muhammad Ikram Niaz
Objectives:
1. Heading tags <h1>   6. Definition list<dl>
2. Paragraphs tags     7. Unordered list<ul>
   <p>                 8. Formatting tags
3. Links <a>           9. Colors
4. Image tag <img>     10.Tables
5. Ordered list <ol>

Weitere ähnliche Inhalte

Was ist angesagt?

HTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifitsHTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifitsPro Guide
 
Introduction to html course digital markerters
Introduction to html course digital markertersIntroduction to html course digital markerters
Introduction to html course digital markertersSEO SKills
 
Intro to HTML & CSS
Intro to HTML & CSSIntro to HTML & CSS
Intro to HTML & CSSSyed Sami
 
How to Make HTML and CSS Files
How to Make HTML and CSS FilesHow to Make HTML and CSS Files
How to Make HTML and CSS FilesLearningNerd
 
Web designing (1) - Html Basic Codding
Web designing (1) - Html Basic CoddingWeb designing (1) - Html Basic Codding
Web designing (1) - Html Basic CoddingRabiul robi
 
Web design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introductionWeb design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introductionMustafa Kamel Mohammadi
 
Web designing using html
Web designing using htmlWeb designing using html
Web designing using htmljulicris021488
 
How to create basic webpage
How to create basic webpageHow to create basic webpage
How to create basic webpageJames Erro
 
Intro to HTML (Kid's Class at TIY)
Intro to HTML (Kid's Class at TIY)Intro to HTML (Kid's Class at TIY)
Intro to HTML (Kid's Class at TIY)Marjorie Sample
 
Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you needDipen Parmar
 
basic introduction of html tags
basic introduction  of html tagsbasic introduction  of html tags
basic introduction of html tagsManish jariyal
 
Hyper text markup Language
Hyper text markup LanguageHyper text markup Language
Hyper text markup LanguageNaveeth Babu
 

Was ist angesagt? (20)

Web Page Designing Using HTML
Web Page Designing Using HTMLWeb Page Designing Using HTML
Web Page Designing Using HTML
 
HTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifitsHTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifits
 
Introduction to html course digital markerters
Introduction to html course digital markertersIntroduction to html course digital markerters
Introduction to html course digital markerters
 
Intro to HTML & CSS
Intro to HTML & CSSIntro to HTML & CSS
Intro to HTML & CSS
 
How to Make HTML and CSS Files
How to Make HTML and CSS FilesHow to Make HTML and CSS Files
How to Make HTML and CSS Files
 
Web designing (1) - Html Basic Codding
Web designing (1) - Html Basic CoddingWeb designing (1) - Html Basic Codding
Web designing (1) - Html Basic Codding
 
Web design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introductionWeb design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introduction
 
Web designing using html
Web designing using htmlWeb designing using html
Web designing using html
 
HTML
HTMLHTML
HTML
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
How to create basic webpage
How to create basic webpageHow to create basic webpage
How to create basic webpage
 
Intro to HTML (Kid's Class at TIY)
Intro to HTML (Kid's Class at TIY)Intro to HTML (Kid's Class at TIY)
Intro to HTML (Kid's Class at TIY)
 
Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you need
 
basic introduction of html tags
basic introduction  of html tagsbasic introduction  of html tags
basic introduction of html tags
 
Html coding
Html codingHtml coding
Html coding
 
Html
HtmlHtml
Html
 
Learning Html
Learning HtmlLearning Html
Learning Html
 
Html introduction
Html introductionHtml introduction
Html introduction
 
HTML Lesson 1
HTML Lesson 1HTML Lesson 1
HTML Lesson 1
 
Hyper text markup Language
Hyper text markup LanguageHyper text markup Language
Hyper text markup Language
 

Andere mochten auch

Andere mochten auch (20)

Ejercicio final unidad 2
Ejercicio final unidad 2Ejercicio final unidad 2
Ejercicio final unidad 2
 
Knockout js
Knockout jsKnockout js
Knockout js
 
Knockout JS Development - a Quick Understanding
Knockout JS Development - a Quick UnderstandingKnockout JS Development - a Quick Understanding
Knockout JS Development - a Quick Understanding
 
Knockout.js
Knockout.jsKnockout.js
Knockout.js
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Knockout (support slides for presentation)
Knockout (support slides for presentation)Knockout (support slides for presentation)
Knockout (support slides for presentation)
 
Knockout js
Knockout jsKnockout js
Knockout js
 
(Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS
 
Knockoutjs
KnockoutjsKnockoutjs
Knockoutjs
 
Knockout js
Knockout jsKnockout js
Knockout js
 
An introduction to KnockoutJS
An introduction to KnockoutJSAn introduction to KnockoutJS
An introduction to KnockoutJS
 
Knockout js
Knockout jsKnockout js
Knockout js
 
Knockout js (Dennis Haney)
Knockout js (Dennis Haney)Knockout js (Dennis Haney)
Knockout js (Dennis Haney)
 
01. session 01 introduction to html
01. session 01   introduction to html01. session 01   introduction to html
01. session 01 introduction to html
 
Knockout
KnockoutKnockout
Knockout
 
Knockout Introduction
Knockout IntroductionKnockout Introduction
Knockout Introduction
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
Fundaments of Knockout js
Fundaments of Knockout jsFundaments of Knockout js
Fundaments of Knockout js
 

Ähnlich wie HTML Introduction

Ähnlich wie HTML Introduction (20)

Beginning html
Beginning  htmlBeginning  html
Beginning html
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Web Design-III IT.ppt
Web Design-III IT.pptWeb Design-III IT.ppt
Web Design-III IT.ppt
 
Html presentation
Html presentationHtml presentation
Html presentation
 
HTML
HTMLHTML
HTML
 
Html
HtmlHtml
Html
 
Learn html Basics
Learn html BasicsLearn html Basics
Learn html Basics
 
Html presentation
Html presentationHtml presentation
Html presentation
 
Learn HTML Easier
Learn HTML EasierLearn HTML Easier
Learn HTML Easier
 
learnhtmlbyvipuladissanayake-170516061515 (1).pptx
learnhtmlbyvipuladissanayake-170516061515 (1).pptxlearnhtmlbyvipuladissanayake-170516061515 (1).pptx
learnhtmlbyvipuladissanayake-170516061515 (1).pptx
 
Introduction to html fundamental concepts
Introduction to html fundamental conceptsIntroduction to html fundamental concepts
Introduction to html fundamental concepts
 
HTML Tags
HTML TagsHTML Tags
HTML Tags
 
html1.ppt
html1.ppthtml1.ppt
html1.ppt
 
html5.ppt
html5.ppthtml5.ppt
html5.ppt
 
html1.ppt
html1.ppthtml1.ppt
html1.ppt
 
html1.ppt
html1.ppthtml1.ppt
html1.ppt
 
html1.ppt
html1.ppthtml1.ppt
html1.ppt
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalore
 

Kürzlich hochgeladen

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 

Kürzlich hochgeladen (20)

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 

HTML Introduction

  • 1. WHAT IS HTML?  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language, it is a markup language  A markup language is a set of markup tags  The purpose of the tags are to describe page contents.
  • 2. HTML TAGS  HTML markup tags are usually called HTML tags  HTML tags are keywords (tag names) surrounded by angle brackets like <html>  HTML tags normally come in pairs like <b> and </b>  The first tag in a pair is the start tag, <b>, the second tag is the end tag, </b>.  The end tag is written like the start tag, with a forward slash before the tag name
  • 3. HTML DOCUMENTS = WEB PAGES  HTML documents describe web pages  HTML documents contain HTML tags and plain text  HTML documents are also called web pages
  • 4. HTML PAGE STRUCTURE <html> <head> </head> < body> < h1>This a Heading</h1> < p>This is a paragraph.</p> < p>This is another paragraph.</p> < /body> </html>
  • 5. HTML Introduction part 2 Of 3 By: Muhammad Ikram Niaz
  • 7. HTML - <HEAD> ELEMENT  The <head> is usually the first element contained inside the <html> element. While it is also an element container that encapsulates other HTML elements, these elements are not directly displayed by a web browser, they function behind the scenes, providing more descriptive information about the HTML document, like page title and other meta data.  Elements used for scripting (JavaScript) and formatting (CSS) are also contained within the
  • 8. HTML - <TITLE> ELEMENT  The <title> element adds a title to a web page. Web page titles are displayed at the top of any browser window or at the top of browser tabs. They are probably the first thing seen by web surfers as pages are loaded,  web pages bookmark/Favorites ___saved using the web pages' titles.  A proper title makes a good first impression, and any page caught without a title is considered unprofessional.
  • 10. HTML - <BODY> ELEMENT  The body elements contain all of the page's viewable content. (paragraphs, pictures, tables, heading, bullet s, numbering, unorderlist, colors, etc.)
  • 11. BACKGROUND COLOUR AND GRAPHICS  Attributes of <BODY>  BGCOLOR=”code”  Specify color for background of the screen  BACKGROUND=”path/file”  Tiles the graphic in the file to fit the screen <BODY BGCOLOR=”green”> <BODY BGCOLOR=”#00FF00”> <BODY BACKGROUND=”abcpict.jpg”>
  • 12. CHANGING FONT  <FONT>…</FONT>  Attributes  SIZE=“…”(font size, 1 through 7)  COLOR=“…” (font colour)  FACE=“…” (font type)  <FONT SIZE=“3” COLOR=“#FF9933” FACE=“tahoma”> …</FONT>
  • 13. TAGS & ATTRIBUTES  <body> Started Body of the webpage  </body>  bgcolor Attribute  <body bgcolor= "Red" > Started Red colored Body of the webpage </body>
  • 14. 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"
  • 15. ATTRIBUTE EXAMPLE  HTML links are defined with the <a> tag. The link address is specified in the href attribute:  <a href="http://www.dawhaschool.ae">This is a my school website</a>
  • 16. HTML HEADINGS  Headings are defined with the <h1> to <h6> tags. <h1> This is a heading 1</h1> < h2>This is a heading 2</h2> < h3>This is a heading 3</h3>
  • 17. HTML TEXT FORMATTING TAGS  <b>Defines bold text  <big>Defines big text  <em>Defines emphasized text  <i>Defines italic text  <small>Defines small text  <strong>Defines strong text  <sub>Defines subscripted text  <sup>Defines superscripted text
  • 18. HTML IMAGES  <img src="url" alt="some_text"/>  Src mean source of the image.  alt attribute specifies an alternate text for an image, if the image cannot be displayed.  <img src= " image29.jpg" alt= “Ikram Pic" width="304" height="228" />
  • 19. HTML HYPERLINKS (LINKS)  A hyperlink (or link) is a word, group of words, or image that you can click on to jump to a new document or a new section within the current document.  When you move the cursor over a link in a Web page, the arrow will turn into a little hand.
  • 20.  Links are specified in HTML using the <a> tag.  The <a> tag can be used in two ways: 1. To create a link to another document, by using the href attribute. 2. To create a bookmark inside a document, by using the name attribute.  <a href="url">Link text</a>  <a href=“http://www.dawhaschool.ae">Dawha School, Sharjah</a>
  • 21. HTML UNORDERED LISTS  An unordered list starts with the <ul> tag. Each list item starts with the <li> tag.  The list items are marked with bullets (typically small black circles). <ul> < li>Coffee</li> • Coffee < li>Milk</li> • Milk < /ul>
  • 22. EXAMPLES <ol> <ol type="A"> 1. Apples A. Apples <li>Apples</li> <li>Apples</li> 2. Banana B. Banana <li>Bananas</li> <li>Bananas</li> s s <li>Lemons</li> <li>Lemons</li> 3. Lemons C. Lemons <li>Oranges</li> <li>Oranges</li> 4. Orange D. Orange </ol> </ol> s s <ul type="circle"> <li>Apples</li> o Apples <li>Bananas</li> o Bananas <li>Lemons</li> o Lemons <li>Oranges</li> o Oranges </ul>
  • 23. Thanks for Watching this video ! Please comments. MUHAMMAD IKRAM NIAZ
  • 24. HTML Introduction part 3 Of 3 By: Muhammad Ikram Niaz
  • 25. Objectives: 1. Heading tags <h1> 6. Definition list<dl> 2. Paragraphs tags 7. Unordered list<ul> <p> 8. Formatting tags 3. Links <a> 9. Colors 4. Image tag <img> 10.Tables 5. Ordered list <ol>