SlideShare una empresa de Scribd logo
1 de 14
H      Basic language of the World Wide Web


       English roots



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


       Uses embedded code tags to describe elements



M      Simple ASCII text files


       Scripting and NOT PROGRAMMING



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


                                                       1
Basic Tools to setup a Web Site

Text editor   - Page Spinner for Macintosh
              - NotePad for Windows

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

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

 <TITLE> - gives the document a name.

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

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



                                                  4
HTML Tag

 - Any Object or Element enclosed in < > angle brackets



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

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

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


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



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

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

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

       NOSHADE ---- to turn off line shading

       align = left / center / right

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

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

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

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

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


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

                                                                         14

Más contenido relacionado

La actualidad más candente (19)

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

Destacado

Prototyping is an attitude
Prototyping is an attitudePrototyping is an attitude
Prototyping is an attitudeWith Company
 
10 Insightful Quotes On Designing A Better Customer Experience
10 Insightful Quotes On Designing A Better Customer Experience10 Insightful Quotes On Designing A Better Customer Experience
10 Insightful Quotes On Designing A Better Customer ExperienceYuan Wang
 
How to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media PlanHow to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media PlanPost Planner
 
Learn BEM: CSS Naming Convention
Learn BEM: CSS Naming ConventionLearn BEM: CSS Naming Convention
Learn BEM: CSS Naming ConventionIn a Rocket
 
SEO: Getting Personal
SEO: Getting PersonalSEO: Getting Personal
SEO: Getting PersonalKirsty Hulse
 

Destacado (6)

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

Similar a HTML 101

Html update1(30 8-2009)
Html update1(30 8-2009)Html update1(30 8-2009)
Html update1(30 8-2009)himankgupta31
 
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdfHSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdfAAFREEN SHAIKH
 
Html session1,2,3
Html session1,2,3Html session1,2,3
Html session1,2,3vidhi mehta
 
Web Design-III IT.ppt
Web Design-III IT.pptWeb Design-III IT.ppt
Web Design-III IT.pptbanu236831
 
03 HTML #burningkeyboards
03 HTML #burningkeyboards03 HTML #burningkeyboards
03 HTML #burningkeyboardsDenis Ristic
 
introdution-to-htmlppt.ppt
introdution-to-htmlppt.pptintrodution-to-htmlppt.ppt
introdution-to-htmlppt.pptnavyar41
 
HTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).pptHTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).pptDianajeon3
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2mmvidanes29
 
presentation_html_ppt_1534512076_351187.pptx
presentation_html_ppt_1534512076_351187.pptxpresentation_html_ppt_1534512076_351187.pptx
presentation_html_ppt_1534512076_351187.pptxssuser8001a61
 

Similar a HTML 101 (20)

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

Último

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
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...Martijn de Jong
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
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
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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
 
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
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Último (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
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...
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
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
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

HTML 101

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