SlideShare a Scribd company logo
1 of 28
DAY1: HTML Basics, HTML Text,
      HTML List, HTML Images
   SPEAKERS: Caren R./Elizabeth P.
 WebPages are written in HTML - a simple
  scripting language.
 HTML is short for HyperText Markup Language.
 Hypertext is simply a piece of text that works as
  a link.
 Markup Language is a way of writing layout
  information within documents.
 Basically an HTML document is a plain text file
  that contains text and nothing else.
  Since HTML documents are just text files they
  can be written in even the simplest text editor.
 To
   tell the browser that an "A" should be bold
 we need to put a markup in front of the A.

 Such a markup is called a Tag.

 All HTML tags are enclosed in < and >.

 Thisis an example of <b>bold</b> text.
 OUTPUT:
 This is an example of bold text.
   All normal webpages consist of a head and a body.

    The head is used for text and tags that do not show directly on
    the page.

   The body is used for text and tags that are shown directly on the
    page.

      <html>
      <head>
      <!-- This section is for the title and technical info of the page. -->
      </head>
      <body>
      <!-- This section is for all that you want to show on the page. -->
      </body>
      </html>
 Thehead section of the webpage includes all
 the stuff that does not show directly on the
 resulting page.

 The <title> and </title> tags encapsulate the
 title of your page.

 Metatagsare used for, among other things, to
 improve the rankings in search engines.
   BASE FONT - To specify the overall font for your page add
    the <basefont> tag at the beginning of the <body> section.

    <html>
      <head>
      <title> My Autobiography</title>
      </head>
      <body>
      <basefont face="arial, verdana, courier" size="4" color="green">
      <“ your info. Goes here”>
      </body>
      </html>

    OUTPUT:

    Hello! This is my page.
    All text looks the same
    since I only specified a basefont.
   The <font> tag will change the font.

       <html>
       <head>
       <title>My Page</title>
       </head>
       <body>
       <basefont color="green" face="arial" size="4">
       Hello! This is my page.<br><br>
       <font color="red" face="arial" size="2">
       This local text looks different.
       </font>
       <br><br>
       This text looks like the first line.
       </body>
       </html>

OUTPUT:
  My Autobiography
    This local text looks different.

    This text looks like the first line.
 Thetags used to produce links are the <a>
 and </a>.
 The <a> tells where the link should start and
 the </a> indicates where the link ends.
 The target of the link is added to the <a> tag
 using the
 href="http://www.whateverpage.com"setting

 Click <a href="http://www.yahoo.com">here</a> to go to
   yahoo.
<b>text</b>             writes text as bold

<i>text</i>             writes text in italics

<u>text</u>             writes underlined text

<sub>text</sub>         lowers text and makes it smaller

<sup>text</sup>         lifts text and makes it smaller

<blink>text</blink>     guess yourself! (Note: Netscape only.)

<strike>text</strike>   strikes a line through the text

<tt>text</tt>           writes text as on a classic typewriter

<pre>text</pre>         writes text exactly as it is, including spaces.

<em>text</em>`          usually makes text italic

<strong>text<strong>    usually makes text bold
<big>text</big>              increase the size by one
<small>text</small>          decrease the size by one

<h1>text          </h1>      writes text in biggest heading

<h6>text</h6>                writes text in smallest heading
<font size="1">text</font>   writes text in smallest fontsize. (8 pt)
<font size="7">



text              </font>
                             writes text in biggest fontsize (36 pt)
 These       tags will let you control the layout.

                 HTML                      EXPLANATION
                              Adds a paragraph break after the text.
<p>text</p>
                              (2 linebreaks).
<p align="left">text</p>      Left justify text in paragraph.
<p align="center">text</p>    Center text in paragraph.

<p align="right">text</p>     Right justify text in paragraph.
                              Adds a single linebreak where the tag
text<br>
                              is.
                              Turns off automatic linebreaks
<nobr>text</nobr>
                              - even if text is wider than the window.
HTML                            EXPLANATION
text<wbr>                        Allows the browser to insert a
                                 linebreak at exactly this point
                                 - even if the text is within <nobr>
                                 tags.
<center>text</center>            Center text.
<div align="center">text</div>   Center text.
<div align="left">text</div>     Left justify text.
<div align="right">text</div>    Right justify text.
 Tocreate a bulleted list you need to add a
 <ul> and a </ul> tag at the beginning and the
 end of the list.

 Numbered   lists have <ol> tags instead of <ul>
 tags.

 Toseparate single list items use <li> and
 </li> tags
You have the following bullet options:

         disc
         circle
         Square
HTML CODE           EXAMPLE/EXPLANATION
                            Makes a bulleted list using the default bullet
<ul>
                            type:
<li>text</li>
                                text
<li>text</li>
<li>text</li>                   text
</ul>
                                text
                            Starts a bulleted list using discs as bullets:
                                This is one line
<ul type="disc">
                                This is another line

                                And this is the final line
                            Starts a bulleted list using circles as bullets:
                            o   This is one line
<ul type="circle">
                            o   This is another line

                            o   And this is the final line
                            Starts a bulleted list using squares as
                            bullets:
<ul type="square">           This is one line
                             This is another line
                             And this is the final line
You have the following number options:

       Plainnumbers
       Capital Letters
       Small Letters
       Capital Roman Numbers
       Small Roman Numbers
HTML CODE           EXAMPLE/EXPLANATIOM
                             Makes a numbered list using the default
<ol>
                             number type:
<li>text</li>
                             1. text
<li>text</li>
<li>text</li>                2. text
</ol>
                             3. text
                             Starts a numbered list, first # being 5.
                             5. This is one line
<ol start="5">
                             6. This is another line

                             7. And this is the final line
                             Starts a numbered list, using capital letters.
                             A. This is one line
<ol type="A">
                             B. This is another line

                             C. And this is the final line
                             Starts a numbered list, using small letters.
                             a. This is one line
<ol type="a">
                             b. This is another line

                             c. And this is the final line
HTML CODE           EXAMPLE/EXPLANATION
                            Starts a numbered list, using capital roman
                            numbers.
                            I. This is one line
<ol type="I">
                            II. This is another line

                            III. And this is the final line
                            Starts a numbered list, using small roman
                            numbers.
                            i. This is one line
<ol type="i">
                            ii. This is another line

                            iii. And this is the final line
                            Starts a numbered list, using normal numbers.
                            1. This is one line
<ol type="1">
                            2.   This is another line

                            3.   And this is the final line
                            An example of how type and start can be
                            combined.
                            VII. This is one line
<ol type="I" start="7">
                            VIII.This is another line

                            IX. And this is the final line
 Thissection will show how to add images to
 your pages.
 We will start out with a presentation of the
 two main image types on webpages: jpg and
 gif.

  GIF                               JPG
  256 colors                        Unlimited colors
  Can handle transparent areas      Can't handle transparent areas
  This format is not good at        Excellent for compressing
  compressing photographs           photographs and complex images
  In general, it is excellent for   In general, it is not good for
  banners, buttons and clipart      banners, buttons and clipart.
 Banners,buttons, dividers, clipart and other
 simple images usually work best as GIF's.

 Photographs and other complex images
 usually work best as JPG's.
 The   tag used to insert an image is called img.

   <img src="http://www.echoecho.com/rainbow.gif">
   HTML code used to insert the image on this webpage:

   <img src="rainbow.gif">
   If the image is stored in the same folder as the HTML
      page, you can leave out the domain reference
      (http://www.echoecho.com/) and simply insert the
      image with this code:
 Youcan change the size of an image using
 the width and height attributes.

   <img src="http://www.echoecho.com/rainbow.gif"
     width="60" height="60">
   Real width and height

    <img src="http://www.echoecho.com/rainbow.gif"
      width="120" height="120">
    If you leave out the settings for width and
      height, the browser will automatically use
      the real size of the image.
<img src="http://www.echoecho.com/rainbow.gif"
   border="5">


Adding a border to your image might help the
 visitor recognize that the image is a link.
<img src="http://www.echoecho.com/rainbow.gif"
   alt="This is a text that goes with the image">


You can add an alternative text to an image
  using the alt setting shown in the example
  above.
You should always add alternative texts to your
  images, so the users can get an idea of what
  the image is about before it is loaded.
 You can easily add space over and under your
  images with the Vspace attribute.
 In a similar way you can add space to the left
  and right of the image using the Hspace
  attribute.`

  <img src="rainbow.gif" Hspace="30" Vspace="10">
These settings allow you to add spacing around your
  image.

  <img src="pixel.gif" width="10" height="1"><img
    src="rainbow.gif">
The 1x1 pixel transparent gif image is simply stretched to
  whatever size you want the spacing to have.
HTML CODES

 <img src="rainbow.gif" align="texttop">
 <img src="rainbow.gif" align="top">
 <img src="rainbow.gif" align="middle">
 <img src="rainbow.gif" align="absmiddle">
 <img src="rainbow.gif" align="bottom">
 <img src="rainbow.gif" align="absbottom">
 <img src="rainbow.gif" align="baseline">
HTML-CODE                         OUTPUT


                                       bla bla bla bla bla blabla bla
<img src="rainbow.gif"   bla bla bla bla bla bla bla bla bla bla bla
align="left">            bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla      bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla      bla bla bla bla bla bla bla
bla bla bla bla bla



                         bla bla bla bla bla blabla bla bla bla bla bla
<img src="rainbow.gif"   bla bla bla bla bla bla bla bla bla bla bla
align="right">           bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla      bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla      bla bla bla
bla bla bla bla bla
Web page development (day1)

More Related Content

What's hot (12)

Tables and Forms in HTML
Tables and Forms in HTMLTables and Forms in HTML
Tables and Forms in HTML
 
HTML5 with PHP.ini
HTML5 with PHP.iniHTML5 with PHP.ini
HTML5 with PHP.ini
 
HTML
HTMLHTML
HTML
 
Html starting
Html startingHtml starting
Html starting
 
HTML (Hyper Text Markup Language) by Mukesh
HTML (Hyper Text Markup Language) by MukeshHTML (Hyper Text Markup Language) by Mukesh
HTML (Hyper Text Markup Language) by Mukesh
 
HTML
HTML HTML
HTML
 
Web Development Course: PHP lecture 2
Web Development Course: PHP lecture 2Web Development Course: PHP lecture 2
Web Development Course: PHP lecture 2
 
Css(handbook)
Css(handbook)Css(handbook)
Css(handbook)
 
Css Ppt
Css PptCss Ppt
Css Ppt
 
HTML Table Tags
HTML Table TagsHTML Table Tags
HTML Table Tags
 
Html
HtmlHtml
Html
 
HTML [Basic] --by Abdulla-al Baset
HTML [Basic] --by Abdulla-al BasetHTML [Basic] --by Abdulla-al Baset
HTML [Basic] --by Abdulla-al Baset
 

Viewers also liked

Viewers also liked (15)

指導要録管理システム
指導要録管理システム指導要録管理システム
指導要録管理システム
 
Els actors i les actrius
Els actors i les actriusEls actors i les actrius
Els actors i les actrius
 
Lecture 1 layers
Lecture 1 layersLecture 1 layers
Lecture 1 layers
 
Web page development (day1)
Web page development (day1)Web page development (day1)
Web page development (day1)
 
Chalet en roche
Chalet en rocheChalet en roche
Chalet en roche
 
Powerpoint interactive whiteboards
Powerpoint   interactive whiteboardsPowerpoint   interactive whiteboards
Powerpoint interactive whiteboards
 
Emotion3
Emotion3Emotion3
Emotion3
 
Taller 2
Taller 2Taller 2
Taller 2
 
Web page_mayette
Web page_mayetteWeb page_mayette
Web page_mayette
 
 
保険代理店向け顧客管理システム
保険代理店向け顧客管理システム保険代理店向け顧客管理システム
保険代理店向け顧客管理システム
 
Guaman 47 to ´´ d´´
Guaman 47 to ´´ d´´Guaman 47 to ´´ d´´
Guaman 47 to ´´ d´´
 
Slideshare
SlideshareSlideshare
Slideshare
 
Mis9 ch03 ppt (2)
Mis9 ch03 ppt (2)Mis9 ch03 ppt (2)
Mis9 ch03 ppt (2)
 
Emulsion
EmulsionEmulsion
Emulsion
 

Similar to Web page development (day1) (20)

Html tutorials
Html tutorialsHtml tutorials
Html tutorials
 
Html tutorials
Html tutorialsHtml tutorials
Html tutorials
 
Html basics 3 font align
Html basics 3 font alignHtml basics 3 font align
Html basics 3 font align
 
Beginning html
Beginning  htmlBeginning  html
Beginning html
 
Html presentation
Html presentationHtml presentation
Html presentation
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
HTML-INTRO.pptx
HTML-INTRO.pptxHTML-INTRO.pptx
HTML-INTRO.pptx
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Web Development
Web DevelopmentWeb Development
Web Development
 
Html ppt computer
Html ppt computerHtml ppt computer
Html ppt computer
 
web technology
web technologyweb technology
web technology
 
Standard html tags
Standard html tagsStandard html tags
Standard html tags
 
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
 
introduction to html.ppt
introduction to html.pptintroduction to html.ppt
introduction to html.ppt
 
Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01
 
Html introduction
Html introductionHtml introduction
Html introduction
 
Css 1
Css 1Css 1
Css 1
 
Html basics
Html basicsHtml basics
Html basics
 
Coding
CodingCoding
Coding
 

Recently uploaded

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
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
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
 
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...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Web page development (day1)

  • 1. DAY1: HTML Basics, HTML Text, HTML List, HTML Images SPEAKERS: Caren R./Elizabeth P.
  • 2.  WebPages are written in HTML - a simple scripting language.  HTML is short for HyperText Markup Language.  Hypertext is simply a piece of text that works as a link.  Markup Language is a way of writing layout information within documents.  Basically an HTML document is a plain text file that contains text and nothing else. Since HTML documents are just text files they can be written in even the simplest text editor.
  • 3.  To tell the browser that an "A" should be bold we need to put a markup in front of the A. Such a markup is called a Tag. All HTML tags are enclosed in < and >.  Thisis an example of <b>bold</b> text. OUTPUT: This is an example of bold text.
  • 4. All normal webpages consist of a head and a body. The head is used for text and tags that do not show directly on the page.  The body is used for text and tags that are shown directly on the page. <html> <head> <!-- This section is for the title and technical info of the page. --> </head> <body> <!-- This section is for all that you want to show on the page. --> </body> </html>
  • 5.  Thehead section of the webpage includes all the stuff that does not show directly on the resulting page. The <title> and </title> tags encapsulate the title of your page.  Metatagsare used for, among other things, to improve the rankings in search engines.
  • 6. BASE FONT - To specify the overall font for your page add the <basefont> tag at the beginning of the <body> section. <html> <head> <title> My Autobiography</title> </head> <body> <basefont face="arial, verdana, courier" size="4" color="green"> <“ your info. Goes here”> </body> </html> OUTPUT: Hello! This is my page. All text looks the same since I only specified a basefont.
  • 7. The <font> tag will change the font. <html> <head> <title>My Page</title> </head> <body> <basefont color="green" face="arial" size="4"> Hello! This is my page.<br><br> <font color="red" face="arial" size="2"> This local text looks different. </font> <br><br> This text looks like the first line. </body> </html> OUTPUT: My Autobiography This local text looks different. This text looks like the first line.
  • 8.  Thetags used to produce links are the <a> and </a>. The <a> tells where the link should start and the </a> indicates where the link ends. The target of the link is added to the <a> tag using the href="http://www.whateverpage.com"setting Click <a href="http://www.yahoo.com">here</a> to go to yahoo.
  • 9. <b>text</b> writes text as bold <i>text</i> writes text in italics <u>text</u> writes underlined text <sub>text</sub> lowers text and makes it smaller <sup>text</sup> lifts text and makes it smaller <blink>text</blink> guess yourself! (Note: Netscape only.) <strike>text</strike> strikes a line through the text <tt>text</tt> writes text as on a classic typewriter <pre>text</pre> writes text exactly as it is, including spaces. <em>text</em>` usually makes text italic <strong>text<strong> usually makes text bold
  • 10. <big>text</big> increase the size by one <small>text</small> decrease the size by one <h1>text </h1> writes text in biggest heading <h6>text</h6> writes text in smallest heading <font size="1">text</font> writes text in smallest fontsize. (8 pt) <font size="7"> text </font> writes text in biggest fontsize (36 pt)
  • 11.  These tags will let you control the layout. HTML EXPLANATION Adds a paragraph break after the text. <p>text</p> (2 linebreaks). <p align="left">text</p> Left justify text in paragraph. <p align="center">text</p> Center text in paragraph. <p align="right">text</p> Right justify text in paragraph. Adds a single linebreak where the tag text<br> is. Turns off automatic linebreaks <nobr>text</nobr> - even if text is wider than the window.
  • 12. HTML EXPLANATION text<wbr> Allows the browser to insert a linebreak at exactly this point - even if the text is within <nobr> tags. <center>text</center> Center text. <div align="center">text</div> Center text. <div align="left">text</div> Left justify text. <div align="right">text</div> Right justify text.
  • 13.  Tocreate a bulleted list you need to add a <ul> and a </ul> tag at the beginning and the end of the list.  Numbered lists have <ol> tags instead of <ul> tags.  Toseparate single list items use <li> and </li> tags
  • 14. You have the following bullet options:  disc  circle  Square
  • 15. HTML CODE EXAMPLE/EXPLANATION Makes a bulleted list using the default bullet <ul> type: <li>text</li> text <li>text</li> <li>text</li> text </ul> text Starts a bulleted list using discs as bullets: This is one line <ul type="disc"> This is another line And this is the final line Starts a bulleted list using circles as bullets: o This is one line <ul type="circle"> o This is another line o And this is the final line Starts a bulleted list using squares as bullets: <ul type="square">  This is one line  This is another line  And this is the final line
  • 16. You have the following number options:  Plainnumbers  Capital Letters  Small Letters  Capital Roman Numbers  Small Roman Numbers
  • 17. HTML CODE EXAMPLE/EXPLANATIOM Makes a numbered list using the default <ol> number type: <li>text</li> 1. text <li>text</li> <li>text</li> 2. text </ol> 3. text Starts a numbered list, first # being 5. 5. This is one line <ol start="5"> 6. This is another line 7. And this is the final line Starts a numbered list, using capital letters. A. This is one line <ol type="A"> B. This is another line C. And this is the final line Starts a numbered list, using small letters. a. This is one line <ol type="a"> b. This is another line c. And this is the final line
  • 18. HTML CODE EXAMPLE/EXPLANATION Starts a numbered list, using capital roman numbers. I. This is one line <ol type="I"> II. This is another line III. And this is the final line Starts a numbered list, using small roman numbers. i. This is one line <ol type="i"> ii. This is another line iii. And this is the final line Starts a numbered list, using normal numbers. 1. This is one line <ol type="1"> 2. This is another line 3. And this is the final line An example of how type and start can be combined. VII. This is one line <ol type="I" start="7"> VIII.This is another line IX. And this is the final line
  • 19.  Thissection will show how to add images to your pages. We will start out with a presentation of the two main image types on webpages: jpg and gif. GIF JPG 256 colors Unlimited colors Can handle transparent areas Can't handle transparent areas This format is not good at Excellent for compressing compressing photographs photographs and complex images In general, it is excellent for In general, it is not good for banners, buttons and clipart banners, buttons and clipart.
  • 20.  Banners,buttons, dividers, clipart and other simple images usually work best as GIF's.  Photographs and other complex images usually work best as JPG's.
  • 21.  The tag used to insert an image is called img. <img src="http://www.echoecho.com/rainbow.gif"> HTML code used to insert the image on this webpage: <img src="rainbow.gif"> If the image is stored in the same folder as the HTML page, you can leave out the domain reference (http://www.echoecho.com/) and simply insert the image with this code:
  • 22.  Youcan change the size of an image using the width and height attributes. <img src="http://www.echoecho.com/rainbow.gif" width="60" height="60"> Real width and height <img src="http://www.echoecho.com/rainbow.gif" width="120" height="120"> If you leave out the settings for width and height, the browser will automatically use the real size of the image.
  • 23. <img src="http://www.echoecho.com/rainbow.gif" border="5"> Adding a border to your image might help the visitor recognize that the image is a link.
  • 24. <img src="http://www.echoecho.com/rainbow.gif" alt="This is a text that goes with the image"> You can add an alternative text to an image using the alt setting shown in the example above. You should always add alternative texts to your images, so the users can get an idea of what the image is about before it is loaded.
  • 25.  You can easily add space over and under your images with the Vspace attribute.  In a similar way you can add space to the left and right of the image using the Hspace attribute.` <img src="rainbow.gif" Hspace="30" Vspace="10"> These settings allow you to add spacing around your image. <img src="pixel.gif" width="10" height="1"><img src="rainbow.gif"> The 1x1 pixel transparent gif image is simply stretched to whatever size you want the spacing to have.
  • 26. HTML CODES  <img src="rainbow.gif" align="texttop">  <img src="rainbow.gif" align="top">  <img src="rainbow.gif" align="middle">  <img src="rainbow.gif" align="absmiddle">  <img src="rainbow.gif" align="bottom">  <img src="rainbow.gif" align="absbottom">  <img src="rainbow.gif" align="baseline">
  • 27. HTML-CODE OUTPUT bla bla bla bla bla blabla bla <img src="rainbow.gif" bla bla bla bla bla bla bla bla bla bla bla align="left"> bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blabla bla bla bla bla bla <img src="rainbow.gif" bla bla bla bla bla bla bla bla bla bla bla align="right"> bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla