SlideShare une entreprise Scribd logo
1  sur  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_mayette

Contenu connexe

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

En vedette

Lecture 1 layers
Lecture 1 layersLecture 1 layers
Lecture 1 layersdlit
 
Chalet en roche
Chalet en rocheChalet en roche
Chalet en rochepjsanfer
 
Web page development (day1)
Web page development (day1)Web page development (day1)
Web page development (day1)mayettesapungan
 
Els actors i les actrius
Els actors i les actriusEls actors i les actrius
Els actors i les actriusEva Pastor
 
Web page development (day1)
Web page development (day1)Web page development (day1)
Web page development (day1)mayettesapungan
 
指導要録管理システム
指導要録管理システム指導要録管理システム
指導要録管理システムinfocation
 
Powerpoint interactive whiteboards
Powerpoint   interactive whiteboardsPowerpoint   interactive whiteboards
Powerpoint interactive whiteboardsnicchabot
 
保険代理店向け顧客管理システム
保険代理店向け顧客管理システム保険代理店向け顧客管理システム
保険代理店向け顧客管理システムinfocation
 
Guaman 47 to ´´ d´´
Guaman 47 to ´´ d´´Guaman 47 to ´´ d´´
Guaman 47 to ´´ d´´angelauquilla
 

En vedette (15)

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

Similaire à Web page_mayette (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
 

Dernier

Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 

Dernier (20)

Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 

Web page_mayette

  • 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