SlideShare une entreprise Scribd logo
1  sur  16
Web Designing & Internet Marketing
Session 2: Overview of HTML



                               What we are gone cover in this session ?

                               Overview of HTML
                               Introduction to HTML
                               Creating an HTML Document
Overview of HTML

•   What is HTML?

•   Hyper Text Markup Language

     –   Specifically created to make World Wide Web pages
     –   Telling the browser what to do, and what props to use.
     –   A series of tags that are integrated into a text document.
     –   Created by Tim Berners-Lee

•   HTML files
     – Text files
     – Contain mark-up tags
     – Tags direct how page is to be displayed by browser
     – Can be created from a simple text editor
     – File extension .htm or .html




                                    Web Designing & Internet Marketing
Introduction to HTML

•   Creating an HTML file
•   Notepad or Wordpad (PC) or SimpleText (Mac)

•   First tag: <html>
      – Indicates that you are starting an HTML document
•   Last tag: </html>
      – Indicates that you are ending an HTML document
      – *Note* the open & close structure to HTML
      – Fictional example: <sleep> and </sleep>

•   Save file as index.html
     – This is a typical default title for home pages
     – Windows may seem to prefer .htm but .html will also work just fine.

Relationship with SGML

•   SGML (Standard Generalized Markup Language) was created by the folks at IBM in the 1960’s.
•   SGML can truly be called the parent of HTML.
•   SGML is an International Standard that describes the relationship between a document's content and its
    structure.

                                   Web Designing & Internet Marketing
Usage of HTML


•   More than 100 Million web pages
•   Supported by all major browsers
•   Simple and Cheap

•   Purpose of HTML
     –   Rich enough to support multimedia embedding in documents
     –   Flexible enough to support hypertext linking




                                 Web Designing & Internet Marketing
General form of an HTML document


Opening tag
                      <html>                    Displayed on
                                                The title bar of
                         <head>                 A page!!!

                Head          <title> Title of the document </title>
                Section  </head>                          Title is not
                                                          A heading!!!
                Body
                         <body>
                Section           Content of the page goes here
                          </body>

Corresponding
Closing tag
                     </html>

                            Web Designing & Internet Marketing
Tags

•    surrounded with angle brackets like this
      – <B> or <I>
•   Most tags come in pairs
      – exceptions: <P>, <br>, <li> tags …
•   The first tag turns the action on, and the second turns it off
•   The second tag(off switch) starts with a forward slash.
      – For example ,<B> text </B>
•   can embedded, for instance, to do this:
      – <HEAD><TITLE> Your text </HEAD></TITLE> it won't work.
      – The correct order is <HEAD><TITLE> Your text </TITLE></HEAD>
•   not case sensitivity.
•   Many tags have attributes.
      – For example, <P ALIGN=CENTER> centers the paragraph following it.
•   Some browsers don't support the some tags and some attributes.




                                  Web Designing & Internet Marketing
Creating Text in HTML

                                         Index.html Example
                                            <html>

                                            </html>


•   Header information                                        Body Tags
     – <head> to begin, and </head> to end                          <body> and </body>
     – Gives information about the page that is                     *Note* that all text that
         not displayed on the page itself                           appears on the page must be
•   Page Title                                                      encapsulated within the
     – <title> to begin, and </title> to end                        body tags
     – Example: <title>IIPM, Cochin</title>                   Text headings
                                                                    <h1> and </h1>
                                                                    There are six defined
                                                                    heading sizes
                                                                    <h1> (largest) through <h6>
                                                                    (smallest)
                                                              Paragraphs
                                                                    <p> and </p>




                                  Web Designing & Internet Marketing
Text Example

<html>
<head>
    <title>IIPM, Cochin</title>
</head>
<body>

    <h1>This is a big heading!</h1>
    <h2>This is a smaller heading</h2>
    <p>This is an example of a paragraph.</p>

</body>
</html>

•   Output

This is a big heading!
This is a smaller heading!

This is an example of a paragraph.




                                     Web Designing & Internet Marketing
Switch back and forth between the Source and the HTML


•   switch to Notepad with the Document Source
•   make changes
•   save the document again
•   switch back to Browser
•   click on RELOAD and view the new HTML Document
•   switch to Notepad with the Document Source......




                              Web Designing & Internet Marketing
HTML Organization

•   Spacing
     – Spacing organizes your work!
     – Spacing makes your files easy to read!
     – Spacing makes no functional difference to your web browser
•   Comments
     – Comments are notes in your HTML file
     – Comments make no functional difference to your web browser
     – “<!--” begins a comment, and “ -->” ends it
•   Ex <!-- This is an example of a
    comment.-->




                             Web Designing & Internet Marketing
How to make colors changes?


•   Hexadecimal number :
•   Color names : <Font color=white>
•   Changing the Background color
     –    <BODY BGCOLOR=#19378a>
•   Changing Text color
•       <BODY BGCOLOR=#19378a TEXT=#ffffff LINK=#ffff66            VLINK=#66ffff>
     –    Spot color
•        <FONT COLOR=#66ffcc>WENT'99</FONT>
     –    Image Background
•        <BODY BACKGROUND=bgimg.gif >




                              Web Designing & Internet Marketing
Tables

Example:
<table cellspacing="0" cellpadding="4" border="1" style="border-color:#000;">
   <thead>
      <td style="color:#FFFFFF; background-color:#993333; font-weight:bold">Tag Name</td>
      <td style="color:#FFFFFF; background-color:#993333; font-weight:bold">Example</td>
   </thead>
   <tr>
      <td>&lt;strong&gt;</td><td><strong>This text is bold</strong></td>
   </tr>
   <tr>
      <td>&lt;em&gt;</td><td><em>This text is emphasized</em></td>
   </tr>
   <tr>
      <td>&lt;small&gt;</td><td><small>This text is small</small></td>
   </tr>
   <tr>
        <td>&lt;sub&gt;</td><td><sub>This text is subscripted.</sub> This text is not.</td>
   </tr>
   <tr>
      <td>&lt;sup&gt;</td><td><sup>This text is superscripted.</sup> This text is not.</td>
   </tr>
   <tr>
      <td>&lt;ins&gt;</td><td><ins>This text is inserted</ins></td>
   </tr>
   <tr>
      <td>&lt;del&gt;</td><td><del>This text is deleted</del></td>
   </tr>
</table>




                                                            Web Designing & Internet Marketing
Tag List – Basic Tags



Start Tag       Purpose
<!DOCTYPE>      Defines the document type
<html>          Defines an html document
<head>          Defines the header element
<title>         Defines the page title
<body>          Defines the body of the page
<h1> to <h6>    Defines the body element
<p>             Defines header 1 to header 6
<br />          Defines a paragraph
<hr />          Inserts a single line break
<!--...-->      Defines a comment



                            Web Designing & Internet Marketing
Tag List – Character Formatting


Start Tag                            Purpose
<b>                                  Defines bold text
<font>                               Deprecated
<i>                                  Defines italic text
<em>                                 Defines emphasized text
<big>                                Defines big text
<strong>                             Defines strong/bold text
<small>                              Defines small text
<sup>                                Defines superscripted text
<sub>                                Defines subscripted text
<u>                                  Deprecated



                      Web Designing & Internet Marketing
Tag List – Links


Start Tag                           Purpose
<a>                                 Defines an anchor
<link>                              Defines a resource reference




                     Web Designing & Internet Marketing
Thank you !!!

        Contact:
maheshpanchal.1@gmail.com

Contenu connexe

Plus de Mahesh Panchal (9)

Wd & im session a1_internet infrastructure_march 03,2010
Wd & im session a1_internet infrastructure_march 03,2010Wd & im session a1_internet infrastructure_march 03,2010
Wd & im session a1_internet infrastructure_march 03,2010
 
AIS, Airline Information System, Pilot Project
AIS, Airline Information System, Pilot ProjectAIS, Airline Information System, Pilot Project
AIS, Airline Information System, Pilot Project
 
RIA
RIARIA
RIA
 
SaaS
SaaSSaaS
SaaS
 
Software Product Life Cycle
Software Product Life CycleSoftware Product Life Cycle
Software Product Life Cycle
 
Use of RUP for Small Projects
Use of RUP for Small ProjectsUse of RUP for Small Projects
Use of RUP for Small Projects
 
my SAP
my SAPmy SAP
my SAP
 
Sox In Telecom Industry
Sox In Telecom IndustrySox In Telecom Industry
Sox In Telecom Industry
 
software configuratiom management role n resposnbilities
software configuratiom management role n resposnbilitiessoftware configuratiom management role n resposnbilities
software configuratiom management role n resposnbilities
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

Wd & im session a2 _overview of html_march 08,2010

  • 1. Web Designing & Internet Marketing Session 2: Overview of HTML What we are gone cover in this session ? Overview of HTML Introduction to HTML Creating an HTML Document
  • 2. Overview of HTML • What is HTML? • Hyper Text Markup Language – Specifically created to make World Wide Web pages – Telling the browser what to do, and what props to use. – A series of tags that are integrated into a text document. – Created by Tim Berners-Lee • HTML files – Text files – Contain mark-up tags – Tags direct how page is to be displayed by browser – Can be created from a simple text editor – File extension .htm or .html Web Designing & Internet Marketing
  • 3. Introduction to HTML • Creating an HTML file • Notepad or Wordpad (PC) or SimpleText (Mac) • First tag: <html> – Indicates that you are starting an HTML document • Last tag: </html> – Indicates that you are ending an HTML document – *Note* the open & close structure to HTML – Fictional example: <sleep> and </sleep> • Save file as index.html – This is a typical default title for home pages – Windows may seem to prefer .htm but .html will also work just fine. Relationship with SGML • SGML (Standard Generalized Markup Language) was created by the folks at IBM in the 1960’s. • SGML can truly be called the parent of HTML. • SGML is an International Standard that describes the relationship between a document's content and its structure. Web Designing & Internet Marketing
  • 4. Usage of HTML • More than 100 Million web pages • Supported by all major browsers • Simple and Cheap • Purpose of HTML – Rich enough to support multimedia embedding in documents – Flexible enough to support hypertext linking Web Designing & Internet Marketing
  • 5. General form of an HTML document Opening tag <html> Displayed on The title bar of <head> A page!!! Head <title> Title of the document </title> Section </head> Title is not A heading!!! Body <body> Section Content of the page goes here </body> Corresponding Closing tag </html> Web Designing & Internet Marketing
  • 6. Tags • surrounded with angle brackets like this – <B> or <I> • Most tags come in pairs – exceptions: <P>, <br>, <li> tags … • The first tag turns the action on, and the second turns it off • The second tag(off switch) starts with a forward slash. – For example ,<B> text </B> • can embedded, for instance, to do this: – <HEAD><TITLE> Your text </HEAD></TITLE> it won't work. – The correct order is <HEAD><TITLE> Your text </TITLE></HEAD> • not case sensitivity. • Many tags have attributes. – For example, <P ALIGN=CENTER> centers the paragraph following it. • Some browsers don't support the some tags and some attributes. Web Designing & Internet Marketing
  • 7. Creating Text in HTML Index.html Example <html> </html> • Header information Body Tags – <head> to begin, and </head> to end <body> and </body> – Gives information about the page that is *Note* that all text that not displayed on the page itself appears on the page must be • Page Title encapsulated within the – <title> to begin, and </title> to end body tags – Example: <title>IIPM, Cochin</title> Text headings <h1> and </h1> There are six defined heading sizes <h1> (largest) through <h6> (smallest) Paragraphs <p> and </p> Web Designing & Internet Marketing
  • 8. Text Example <html> <head> <title>IIPM, Cochin</title> </head> <body> <h1>This is a big heading!</h1> <h2>This is a smaller heading</h2> <p>This is an example of a paragraph.</p> </body> </html> • Output This is a big heading! This is a smaller heading! This is an example of a paragraph. Web Designing & Internet Marketing
  • 9. Switch back and forth between the Source and the HTML • switch to Notepad with the Document Source • make changes • save the document again • switch back to Browser • click on RELOAD and view the new HTML Document • switch to Notepad with the Document Source...... Web Designing & Internet Marketing
  • 10. HTML Organization • Spacing – Spacing organizes your work! – Spacing makes your files easy to read! – Spacing makes no functional difference to your web browser • Comments – Comments are notes in your HTML file – Comments make no functional difference to your web browser – “<!--” begins a comment, and “ -->” ends it • Ex <!-- This is an example of a comment.--> Web Designing & Internet Marketing
  • 11. How to make colors changes? • Hexadecimal number : • Color names : <Font color=white> • Changing the Background color – <BODY BGCOLOR=#19378a> • Changing Text color • <BODY BGCOLOR=#19378a TEXT=#ffffff LINK=#ffff66 VLINK=#66ffff> – Spot color • <FONT COLOR=#66ffcc>WENT'99</FONT> – Image Background • <BODY BACKGROUND=bgimg.gif > Web Designing & Internet Marketing
  • 12. Tables Example: <table cellspacing="0" cellpadding="4" border="1" style="border-color:#000;"> <thead> <td style="color:#FFFFFF; background-color:#993333; font-weight:bold">Tag Name</td> <td style="color:#FFFFFF; background-color:#993333; font-weight:bold">Example</td> </thead> <tr> <td>&lt;strong&gt;</td><td><strong>This text is bold</strong></td> </tr> <tr> <td>&lt;em&gt;</td><td><em>This text is emphasized</em></td> </tr> <tr> <td>&lt;small&gt;</td><td><small>This text is small</small></td> </tr> <tr> <td>&lt;sub&gt;</td><td><sub>This text is subscripted.</sub> This text is not.</td> </tr> <tr> <td>&lt;sup&gt;</td><td><sup>This text is superscripted.</sup> This text is not.</td> </tr> <tr> <td>&lt;ins&gt;</td><td><ins>This text is inserted</ins></td> </tr> <tr> <td>&lt;del&gt;</td><td><del>This text is deleted</del></td> </tr> </table> Web Designing & Internet Marketing
  • 13. Tag List – Basic Tags Start Tag Purpose <!DOCTYPE> Defines the document type <html> Defines an html document <head> Defines the header element <title> Defines the page title <body> Defines the body of the page <h1> to <h6> Defines the body element <p> Defines header 1 to header 6 <br /> Defines a paragraph <hr /> Inserts a single line break <!--...--> Defines a comment Web Designing & Internet Marketing
  • 14. Tag List – Character Formatting Start Tag Purpose <b> Defines bold text <font> Deprecated <i> Defines italic text <em> Defines emphasized text <big> Defines big text <strong> Defines strong/bold text <small> Defines small text <sup> Defines superscripted text <sub> Defines subscripted text <u> Deprecated Web Designing & Internet Marketing
  • 15. Tag List – Links Start Tag Purpose <a> Defines an anchor <link> Defines a resource reference Web Designing & Internet Marketing
  • 16. Thank you !!! Contact: maheshpanchal.1@gmail.com