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

Más contenido relacionado

La actualidad más candente (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
 

Destacado

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
 

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

Similar a 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
 

Último

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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 2024The Digital Insurer
 
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 CVKhem
 
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.pdfEnterprise Knowledge
 
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 MenDelhi Call girls
 
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.pptxHampshireHUG
 
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?Igalia
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
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 AutomationSafe Software
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
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...Miguel Araújo
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
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 slidevu2urc
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 

Último (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
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
 
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
 
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
 
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
 
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?
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
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...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 

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