SlideShare a Scribd company logo
1 of 14
H      Basic language of the World Wide Web


       English roots



T      Invented in 1989 by Tim Berners-Lee, Swiss


       Uses embedded code tags to describe elements



M      Simple ASCII text files


       Scripting and NOT PROGRAMMING



L   Versions   - HTML 2.0, HTML 3.0, and HTML 3.5


                                                       1
Basic Tools to setup a Web Site

Text editor   - Page Spinner for Macintosh
              - NotePad for Windows

Web Browser - Google Chrome
            - Internet Explorer
            - Mozilla Firefox
A graphic program - Graphic Animator
                  - Photo Editor
                    Photoshop
                                             2
HTML Document Template
 <HTML> - tells the web browser on
               the type of document

 <HEAD> - technical information about the
               document is stated.

 <TITLE> - gives the document a name.

 <BODY> - where the actual document
               contents are placed
                                             3
HTML Document Example

<HTML>
<HEAD><TITLE> A BASIC HTML FILE </TITLE></HEAD>
<BODY>
This is a very basic HTML file showing the use
of document template tags. It’s very easy!
</BODY>
</HTML>



                                                  4
HTML Tag

 - Any Object or Element enclosed in < > angle brackets



   <tag attribute=“value“>
    Webpage       Property        Value
    Element       or Format       assigned
    or Object                     to attribute
Items enclosed by this tag is the
<BODY>                  actual document content.
  BACKGROUND = “image file”
      - the image file to be used as page background
      - this will be tiled if it is smaller than the viewing screen
  BGCOLOR = “color or Hexa Decimal”
      - defines the background color of the page
  TEXT = “color or Hexa Decimal”
      - defines the color of the normal body text
  LINK = “color string”
      - defines the text color of the hypertext link
  VLINK = “color string”
      - defines the text color of the visited links
  ALINK = “color string”
      - defines the text color of the active link
        (it’s the color that briefly flashes when the link text is clicked)
                                                                              6
formats the texts of the
<Font>...</Font>               web page

                    • Size = n (n = 1 to 7) normal size is 3
  Attributes :      • Color = “#rrggbb” or “color name”
                    • Face = “font name”

Other Text Control Tags
     <Small>...</Small>       makes text smaller
         <Big>...</Big>       makes text bigger
       <SUB>...</SUB>         makes text subscript
       <SUP>...</SUP>         makes text superscript
              <I>...</I>      makes text italic
            <B>...</B>        makes text bold
            <U>...</U>        makes text underlined
                           
                                                           7
    <STRIKE>...</STRIKE>       makes text strike
&nbsp;   - syntax for declaring single space


<br>     - bring object to the next line (line break)



              PARAGRAPHS
<P>       defines the paragraph element
          </P> is optional since a new <P>
  :      implies the end of the preceding
  :      paragraph
</P>
         <P align = left / center / right >
                                                        8
HEADING TAGS
<H1>….</H1>
<H2>….</H2>        heading tag marks
<H3>….</H3>       texts as heads
                   it has 6 level H1 to H6
<H4>….</H4>        H1 has the largest font
<H5>….</H5>       size while H6 the smallest
<H6>….</H6>

<H4 ALIGN = left / center / right >…. </H4>

                                               9
HORIZONTAL RULED LINE
                    used to separate different areas
<HR>               of a web page
                    it does not have a closing tag
Attributes :
       color = “#ffffff” defines the color of the line
      width = n (pixel width)
              = n% (certain percent of screen width)
       size = n (line thickness in pixel)

       NOSHADE ---- to turn off line shading

       align = left / center / right

Example: <HR width=80% size=4 align=right NOSHADE>
                                                         10
List

Ordered List (Numbered)
Syntax: <ol>… </ol>

Unordered List (Bulleted)
 Syntax: <ul>… </ul>
<ol >
  <li> ..list items </li>
  <li> ..list items </li>
  <li> ..list items </li>
</ol>
ANCHORED LINKS

 <A>  indicates an anchor for a piece of
   : text or image that serves as the
 </A> origin of the hyperlink
<A href = “URL”>linking text and/or image</A>

           •This URL can be another HTML document, a
           program, an image, an audio, or video file.


                                                  13
<A>…</A> attributes :
HREF = “link destination”
     • specifies the hyperlink reference : the file to be accessed, in the
        form of a filename or URL.
NAME = “bookmark”
    • gives a name to the link destination marker. It is used to identify
        a bookmark destination within an HTML file.
TARGET = “frame label”
    • Indicates the name of a specific frame into which you load the
        linked document.
Special TARGETS :
“_BLANK”             link is loaded into a new blank window
“_SELF”              link is loaded into the current browser window
“_TOP”               link is loaded into the frame where link was clicked on
“_PARENT”            link is loaded into in the immediate frameset parent

                                                                         14

More Related Content

What's hot

What's hot (19)

Hf html-cheat-sheet
Hf html-cheat-sheetHf html-cheat-sheet
Hf html-cheat-sheet
 
Web page concept final ppt
Web page concept  final pptWeb page concept  final ppt
Web page concept final ppt
 
HTML - LinkedIn
HTML - LinkedInHTML - LinkedIn
HTML - LinkedIn
 
HTML
HTMLHTML
HTML
 
HTML Tags
HTML Tags HTML Tags
HTML Tags
 
HTML Lecture Part 1 of 2
HTML Lecture Part 1 of 2HTML Lecture Part 1 of 2
HTML Lecture Part 1 of 2
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
HTML Web design english & sinhala mix note
HTML Web design english & sinhala mix noteHTML Web design english & sinhala mix note
HTML Web design english & sinhala mix note
 
HTML
HTMLHTML
HTML
 
HTML Coding
HTML CodingHTML Coding
HTML Coding
 
The complete-html-cheat-sheet
The complete-html-cheat-sheetThe complete-html-cheat-sheet
The complete-html-cheat-sheet
 
Links - IntraPage
Links - IntraPageLinks - IntraPage
Links - IntraPage
 
ID01 / W01
ID01 / W01ID01 / W01
ID01 / W01
 
html for beginners
html for beginnershtml for beginners
html for beginners
 
Html tag ref
Html tag refHtml tag ref
Html tag ref
 
Html formatting
Html formattingHtml formatting
Html formatting
 
html
htmlhtml
html
 
Html
HtmlHtml
Html
 
Html and Xhtml
Html and XhtmlHtml and Xhtml
Html and Xhtml
 

Viewers also liked

Viewers also liked (6)

Html 101
Html 101Html 101
Html 101
 
Prototyping is an attitude
Prototyping is an attitudePrototyping is an attitude
Prototyping is an attitude
 
10 Insightful Quotes On Designing A Better Customer Experience
10 Insightful Quotes On Designing A Better Customer Experience10 Insightful Quotes On Designing A Better Customer Experience
10 Insightful Quotes On Designing A Better Customer Experience
 
How to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media PlanHow to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media Plan
 
Learn BEM: CSS Naming Convention
Learn BEM: CSS Naming ConventionLearn BEM: CSS Naming Convention
Learn BEM: CSS Naming Convention
 
SEO: Getting Personal
SEO: Getting PersonalSEO: Getting Personal
SEO: Getting Personal
 

Similar to HTML 101

Html update1(30 8-2009)
Html update1(30 8-2009)Html update1(30 8-2009)
Html update1(30 8-2009)
himankgupta31
 
HTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).pptHTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).ppt
Dianajeon3
 
presentation_html_ppt_1534512076_351187.pptx
presentation_html_ppt_1534512076_351187.pptxpresentation_html_ppt_1534512076_351187.pptx
presentation_html_ppt_1534512076_351187.pptx
ssuser8001a61
 

Similar to HTML 101 (20)

Unit 2 (html)
Unit 2  (html)Unit 2  (html)
Unit 2 (html)
 
Web page concept Basic
Web page concept  BasicWeb page concept  Basic
Web page concept Basic
 
Html update1(30 8-2009)
Html update1(30 8-2009)Html update1(30 8-2009)
Html update1(30 8-2009)
 
Web Design.ppt
Web Design.pptWeb Design.ppt
Web Design.ppt
 
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdfHSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
 
intro-to-html
intro-to-htmlintro-to-html
intro-to-html
 
Deepshikha html
Deepshikha htmlDeepshikha html
Deepshikha html
 
Html session1,2,3
Html session1,2,3Html session1,2,3
Html session1,2,3
 
Html cia
Html ciaHtml cia
Html cia
 
41915024 html-5
41915024 html-541915024 html-5
41915024 html-5
 
Web Design-III IT.ppt
Web Design-III IT.pptWeb Design-III IT.ppt
Web Design-III IT.ppt
 
03 HTML #burningkeyboards
03 HTML #burningkeyboards03 HTML #burningkeyboards
03 HTML #burningkeyboards
 
introdution-to-htmlppt.ppt
introdution-to-htmlppt.pptintrodution-to-htmlppt.ppt
introdution-to-htmlppt.ppt
 
HTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).pptHTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).ppt
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2
 
Html Basic Tags
Html Basic TagsHtml Basic Tags
Html Basic Tags
 
Lecture1and2
Lecture1and2Lecture1and2
Lecture1and2
 
HTML Presentation
HTML Presentation HTML Presentation
HTML Presentation
 
presentation_html_ppt_1534512076_351187.pptx
presentation_html_ppt_1534512076_351187.pptxpresentation_html_ppt_1534512076_351187.pptx
presentation_html_ppt_1534512076_351187.pptx
 
HTML PPT.pdf
HTML PPT.pdfHTML PPT.pdf
HTML PPT.pdf
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

HTML 101

  • 1. H  Basic language of the World Wide Web  English roots T  Invented in 1989 by Tim Berners-Lee, Swiss  Uses embedded code tags to describe elements M  Simple ASCII text files  Scripting and NOT PROGRAMMING L Versions - HTML 2.0, HTML 3.0, and HTML 3.5 1
  • 2. Basic Tools to setup a Web Site Text editor - Page Spinner for Macintosh - NotePad for Windows Web Browser - Google Chrome - Internet Explorer - Mozilla Firefox A graphic program - Graphic Animator - Photo Editor Photoshop 2
  • 3. HTML Document Template  <HTML> - tells the web browser on the type of document  <HEAD> - technical information about the document is stated.  <TITLE> - gives the document a name.  <BODY> - where the actual document contents are placed 3
  • 4. HTML Document Example <HTML> <HEAD><TITLE> A BASIC HTML FILE </TITLE></HEAD> <BODY> This is a very basic HTML file showing the use of document template tags. It’s very easy! </BODY> </HTML> 4
  • 5. HTML Tag - Any Object or Element enclosed in < > angle brackets <tag attribute=“value“> Webpage Property Value Element or Format assigned or Object to attribute
  • 6. Items enclosed by this tag is the <BODY> actual document content. BACKGROUND = “image file” - the image file to be used as page background - this will be tiled if it is smaller than the viewing screen BGCOLOR = “color or Hexa Decimal” - defines the background color of the page TEXT = “color or Hexa Decimal” - defines the color of the normal body text LINK = “color string” - defines the text color of the hypertext link VLINK = “color string” - defines the text color of the visited links ALINK = “color string” - defines the text color of the active link (it’s the color that briefly flashes when the link text is clicked) 6
  • 7. formats the texts of the <Font>...</Font> web page • Size = n (n = 1 to 7) normal size is 3 Attributes : • Color = “#rrggbb” or “color name” • Face = “font name” Other Text Control Tags <Small>...</Small>  makes text smaller <Big>...</Big>  makes text bigger <SUB>...</SUB>  makes text subscript <SUP>...</SUP>  makes text superscript <I>...</I>  makes text italic <B>...</B>  makes text bold <U>...</U>  makes text underlined  7 <STRIKE>...</STRIKE> makes text strike
  • 8. &nbsp; - syntax for declaring single space <br> - bring object to the next line (line break) PARAGRAPHS <P>  defines the paragraph element  </P> is optional since a new <P> : implies the end of the preceding : paragraph </P> <P align = left / center / right > 8
  • 9. HEADING TAGS <H1>….</H1> <H2>….</H2>  heading tag marks <H3>….</H3> texts as heads  it has 6 level H1 to H6 <H4>….</H4>  H1 has the largest font <H5>….</H5> size while H6 the smallest <H6>….</H6> <H4 ALIGN = left / center / right >…. </H4> 9
  • 10. HORIZONTAL RULED LINE  used to separate different areas <HR> of a web page  it does not have a closing tag Attributes : color = “#ffffff” defines the color of the line width = n (pixel width) = n% (certain percent of screen width) size = n (line thickness in pixel) NOSHADE ---- to turn off line shading align = left / center / right Example: <HR width=80% size=4 align=right NOSHADE> 10
  • 11. List Ordered List (Numbered) Syntax: <ol>… </ol> Unordered List (Bulleted) Syntax: <ul>… </ul>
  • 12. <ol > <li> ..list items </li> <li> ..list items </li> <li> ..list items </li> </ol>
  • 13. ANCHORED LINKS <A>  indicates an anchor for a piece of : text or image that serves as the </A> origin of the hyperlink <A href = “URL”>linking text and/or image</A> •This URL can be another HTML document, a program, an image, an audio, or video file. 13
  • 14. <A>…</A> attributes : HREF = “link destination” • specifies the hyperlink reference : the file to be accessed, in the form of a filename or URL. NAME = “bookmark” • gives a name to the link destination marker. It is used to identify a bookmark destination within an HTML file. TARGET = “frame label” • Indicates the name of a specific frame into which you load the linked document. Special TARGETS : “_BLANK”  link is loaded into a new blank window “_SELF”  link is loaded into the current browser window “_TOP”  link is loaded into the frame where link was clicked on “_PARENT”  link is loaded into in the immediate frameset parent 14