SlideShare uma empresa Scribd logo
1 de 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>

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Destaque (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
 

Semelhante a Html introduction by ikram niaz

Semelhante a Html introduction by ikram niaz (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
 

Último

Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 

Último (20)

Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 

Html introduction by ikram niaz

  • 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>