SlideShare a Scribd company logo
HTML 4.0
   Wayne Thomas
   The Community Idea Stations




04/18/13                         1
It's All In The Angles
   If you look at the source code for any webpage, you'll notice
   different HTML commands all through the document.


                              <  >
   These commands are called TAGS and tell the browser how to
   display the text, layout, and images of the document.

   HTML tags are easy to recognize because they are always
   between a lesser than sign and greater than sign, or as I like to
   call them, Angle Brackets.



04/18/13                                            2
<B>
   The first you should learn is the BOLD tag.
   IT's simply the letter "B", sandwiched between two angle
   brackets and looks like <B>
   Tags almost always work in pairs. There are a few exceptions
   we'll discuss later, but most of the time there is an opening tag
   and a closing tag. The closing tag for Bold looks like </B>

   They look the same as the opening tag except for the added
   slash right after the lesser than sign. Any text placed between
   the opening and closing Bold tags will look thicker than the rest
   of the text on the page.
                         This is NORMAL text.
                       <B>This is BOLD text</B>

04/18/13                                            3
Two more real simple tags are
    EMPHASIS and BIG.

           <EM>EMPHASIS</EM>
             <BIG>BIG</BIG>,




04/18/13                  4
Every Webpage written in HTML has
         essentially two parts:

   The Head
    The Body




04/18/13                     5
<HTML> </HTML>

   The HTML tag tells your computer that everything
   between these two tags is an HTML document.


   You'll always begin your page with the opening HTML
   tag and end it with the closing HTML tag




04/18/13                                  6
<HEAD>    </HEAD>
   The very first part of your document is
   the Head.

   This is where you'll put the title that
   comes up on somebody's navigation
   bar when they call up your page


04/18/13                          7
<BODY>    </BODY>
   After the Head is the Body.

   This is the real meat of the page.

   It's where all your visible text will be,
   and all your images and links too. Don't
   forget to put a body in your Homepage!

04/18/13                          8
The Skeleton
   Here is the HTML for a VERY simple webpage. See if you can
   figure it out using what You've learned so far.


   <HTML>
   <HEAD>
   <TITLE> </TITLE>
   </HEAD>
   <BODY>
   </BODY>
   </HTML

04/18/13                                       9
Remember the BODY tags?
   That's the pair of tags which shows where the body of
   the document begins and ends. All of your content
   goes between the opening and closing Body tags.
    <BODY> </BODY>

   The Body Tag controls a lot of what your page will
   look like. Here's an example:

   <BODY BGCOLOR=white TEXT=black
   LINK=blue ALINK=green VLINK=red>
   </BODY>

04/18/13                                  10
An HTML Tag has different parts, but they are
     all set up in a very standard way.

   <ELEMENT ATTRIBUTE=value>

   <BODY BGCOLOR=white TEXT=black
   LINK=blue ALINK=green VLINK=red>
   </BODY>


   In the Body tag example above, BODY is the
   element, and BGCOLOR, TEXT, LINK, ALINK, and
   VLINK are the attributes.


04/18/13                             11
The Element tells what the tag is in a general way, and
the Attributes describe the tag more specifically.


   BGCOLOR=white

   This determines the background color for the entire
   page. I use white here, but you could use red, blue,
   green, black, almost any common color. Or
   hexadecimal!

   TEXT=black

   Obviously, this controls the color of the page's text.
   Again, you can use almost any common color.


04/18/13                                     12
Cont..
   VLINK=red

   Once a link has been visited, the color will be
   whatever color the VLINK attribute specifies.




04/18/13                                    13
Cont..
   LINK=blue

   This will be the color of your hyperlink before it's clicked on.
   Links have to be a different color than the text, so that your
   visitor knows that it's a link.

   ALINK=purple

   Ever notice a link turn a different color while it's being clicked?
   That's because the ALINK attribute was set to a certain color.



04/18/13                                              14
BACKGROUND Attribute
 Using the BACKGROUND Attribute, you can tell the browser to go find
 a certain image file on your server, and use that image for the
 background.

 In order to use the Background attribute, you need to have the address
 of an image file on the web.


<BODY BGCOLOR=white TEXT=black
  LINK=blue ALINK=green VLINK=red
  BACKGROUND="http://dis.dozier.com/chalk.jpg">
  </BODY>


04/18/13                                          15
Stand Alone Tags


   Most HTML tags work in pairs, but that
   there are a few exceptions?

    <P> - Paragraph
    <BR> Line Break
    <HR> Horizontal Rule


04/18/13                        16
Headings
   Headings come in six sizes.

           <H1>Your Heading</H1>

             <H2>Your Heading</H2>

               <H3>Your Heading</H3>

                <H4>Your Heading</H4>

                 <H5>Your Heading</H5>


                  <H6>Your Heading</H6>
04/18/13                                  17
Center tags
   You can center your Heading by
   nesting it inside a set of CENTER
   tags, like in the example below.

   <CENTER><H1>Your Heading</H1></CENTER>

   You can also center text or images by placing them
   inside center tags.




04/18/13                                  18
Font Tags <FONT></FONT>
   The size and color of text on an HTML
   document can be controlled by using the
   FONT tag.

   you can enclose indivdual words, sentances,
   or even sections of your page in between
   FONT tags




04/18/13                           19
ATTRIBUTE
 COLOR is an Attribute, as is SIZE.

 <FONT COLOR=RED> YOUR
 TEXT</FONT>

 In this example, FONT is the tag name, COLOR is
 the attribute, and RED is the value of that
 attribute.


04/18/13                          20
Hexidecimal
   HexidecimalColor names are six digit codes used to
   specify how much of the colors RED, BLUE, and
   GREEN are in the desired color.




04/18/13                                  21
HexidecimalCont…
   You can use the Hexidecimalcode in
   place of the color's name in your font
   tag like this:

   < FONT COLOR="#FF0000"> Your Text </FONT>




04/18/13                            22
Font Size
   Use the size attribute just like the font color
   attribute, by inserting it into your opening
   font tag.
   <FONT SIZE=5> YOUR TEXT</Font>

   You can put all of it's attributes in the same
   tag. So in our font tag we can put both the
   size and color attributes like this:

   <FONT SIZE=5 COLOR=#FF0000>

04/18/13                               23
Font Size Cont…
   There are seven font sizes you can
   use with 7 being the largest and 1
   being the smallest.
                 SIZE=7
                  SIZE=6
                  SIZE=5
                   SIZE=4
                   SIZE=3
                   SIZE=2
                   SIZE=1



04/18/13                       24
Hyperlink or Link for Short
   A link tag looks like this:

   <A HREF="URL"> TEXT </A>

   http://ideastations.org

   So the tags would look like:

   <A HREF= “ http://ideastations.org ">WCVE</A>


04/18/13                                      25
E-Mail
   You can place a special link in your
   page that, when clicked, allows your
   visitor to email you
   Do by placing a MAILTO value in your
   link tag.
   <A HREF="Mailto:John@Yahoo.com">




04/18/13                       26
Image Tag <IMG>
   To place an image on your page, use the
   image tag. Like the font tag, the image tag
   requires attributes.
   Unlike the font tag, IMG is a stand alone tag
   which does not require a closing tag.




04/18/13                             27
Two attributes you'll need to
know:

   SRC and ALIGN
   SRC stands for source. This attribute
   needs a value, so you'll use the url of
   the GIF or JPG file where your image is
   located.
   <IMG SRC="url">


04/18/13                        28
ALIGN dictates how you want your text to
line up in relation to your graphic


   <IMG SRC="url" ALIGN=top>
   <IMG SRC="url" ALIGN=middle>
   <IMG SRC="url" ALIGN=bottom>




04/18/13                        29
Positioning Your Image
   To place your image along the right side
   of the page, you can use the ALIGN
   attribute again.
   <IMG SRC="url" ALIGN=right>
   To place the image in the center of the
   page, use this
   <IMG SRC="url" ALIGN=center>

04/18/13                        30

More Related Content

What's hot

HTML
HTMLHTML
Session4
Session4Session4
Session4
Denise Garofalo
 
Creating a webpage in html
Creating a webpage in htmlCreating a webpage in html
Creating a webpage in htmlShrey Goswami
 
CLASS VII COMPUTERS HTML
CLASS VII COMPUTERS HTML CLASS VII COMPUTERS HTML
CLASS VII COMPUTERS HTML
Rc Os
 
Web Page Designing
Web Page DesigningWeb Page Designing
Web Page Designing
Amit Mali
 
Html basics
Html basicsHtml basics
Html basics
Vjay Vijju
 
Html tags or elements
Html tags or elementsHtml tags or elements
Html tags or elements
Webtech Learning
 
Html Tutorial
Html Tutorial Html Tutorial
Html Tutorial
DenMas Hengky
 
Html heading
Html headingHtml heading
Html headingsaichii27
 
Html project report12
Html project report12Html project report12
Html project report12varunmaini123
 
Html
HtmlHtml
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
Sun Technlogies
 
How to create a html webpage using notepad
How to create a html webpage using notepadHow to create a html webpage using notepad
How to create a html webpage using notepad
SophieBarwick1999
 
HTML basics
HTML basicsHTML basics
HTML basics
Akhil Kaushik
 
Html project
Html projectHtml project
Html projectarsh7511
 
WDD
WDDWDD

What's hot (20)

HTML
HTMLHTML
HTML
 
Session4
Session4Session4
Session4
 
Creating a webpage in html
Creating a webpage in htmlCreating a webpage in html
Creating a webpage in html
 
CLASS VII COMPUTERS HTML
CLASS VII COMPUTERS HTML CLASS VII COMPUTERS HTML
CLASS VII COMPUTERS HTML
 
Web Page Designing
Web Page DesigningWeb Page Designing
Web Page Designing
 
Html basics
Html basicsHtml basics
Html basics
 
Html tags or elements
Html tags or elementsHtml tags or elements
Html tags or elements
 
Html Tutorial
Html Tutorial Html Tutorial
Html Tutorial
 
Html heading
Html headingHtml heading
Html heading
 
Html project report12
Html project report12Html project report12
Html project report12
 
Html
HtmlHtml
Html
 
Html ppt
Html pptHtml ppt
Html ppt
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
 
How to create a html webpage using notepad
How to create a html webpage using notepadHow to create a html webpage using notepad
How to create a html webpage using notepad
 
HTML basics
HTML basicsHTML basics
HTML basics
 
HTML Email
HTML EmailHTML Email
HTML Email
 
Html project
Html projectHtml project
Html project
 
Html
HtmlHtml
Html
 
WDD
WDDWDD
WDD
 
Css
CssCss
Css
 

Similar to Html 4.0

HTML and DHTML
HTML and DHTMLHTML and DHTML
HTML and DHTML
SURBHI SAROHA
 
html
htmlhtml
Project report
Project reportProject report
Project report
Jagannath Gorai
 
Basic Html Notes
Basic Html NotesBasic Html Notes
Basic Html Notes
NextGenr
 
Html ppt computer
Html ppt computerHtml ppt computer
Html ppt computer
Anmol Pant
 
Web pageassignment
Web pageassignmentWeb pageassignment
Web pageassignmentbeachtch
 
Html
HtmlHtml
Html
NithyaD5
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
asdfhgjh1
 
Notes4
Notes4Notes4
Html basics 1
Html basics 1Html basics 1
Html basics 1
google
 
Html basics
Html basicsHtml basics
Html basics
Adityaroy110
 
Html basics
Html basicsHtml basics
Html basics
Vivek Khandelwal
 
HTML_Basics.pdf
HTML_Basics.pdfHTML_Basics.pdf
HTML_Basics.pdf
Bhavani Testone
 
Html BASICS
Html BASICSHtml BASICS
Html basics
Html basicsHtml basics
Html basics
Adityaroy110
 
Html basics
Html basicsHtml basics
Html basic file
Html basic fileHtml basic file
Html basic file
Md Mozaddidul Karim
 

Similar to Html 4.0 (20)

HTML and DHTML
HTML and DHTMLHTML and DHTML
HTML and DHTML
 
html
htmlhtml
html
 
Project report
Project reportProject report
Project report
 
Basic Html Notes
Basic Html NotesBasic Html Notes
Basic Html Notes
 
Html ppt computer
Html ppt computerHtml ppt computer
Html ppt computer
 
Web pageassignment
Web pageassignmentWeb pageassignment
Web pageassignment
 
Html
HtmlHtml
Html
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
Html basics NOTE
Html basics NOTEHtml basics NOTE
Html basics NOTE
 
Notes4
Notes4Notes4
Notes4
 
Html basics 1
Html basics 1Html basics 1
Html basics 1
 
Html basics
Html basicsHtml basics
Html basics
 
Html basics
Html basicsHtml basics
Html basics
 
HTML_Basics.pdf
HTML_Basics.pdfHTML_Basics.pdf
HTML_Basics.pdf
 
Html BASICS
Html BASICSHtml BASICS
Html BASICS
 
Html basics
Html basicsHtml basics
Html basics
 
Html basics
Html basicsHtml basics
Html basics
 
Html basics
Html basicsHtml basics
Html basics
 
Html basics
Html basicsHtml basics
Html basics
 
Html basic file
Html basic fileHtml basic file
Html basic file
 

Recently uploaded

To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 

Recently uploaded (20)

To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 

Html 4.0

  • 1. HTML 4.0 Wayne Thomas The Community Idea Stations 04/18/13 1
  • 2. It's All In The Angles If you look at the source code for any webpage, you'll notice different HTML commands all through the document. <  > These commands are called TAGS and tell the browser how to display the text, layout, and images of the document. HTML tags are easy to recognize because they are always between a lesser than sign and greater than sign, or as I like to call them, Angle Brackets. 04/18/13 2
  • 3. <B> The first you should learn is the BOLD tag. IT's simply the letter "B", sandwiched between two angle brackets and looks like <B> Tags almost always work in pairs. There are a few exceptions we'll discuss later, but most of the time there is an opening tag and a closing tag. The closing tag for Bold looks like </B> They look the same as the opening tag except for the added slash right after the lesser than sign. Any text placed between the opening and closing Bold tags will look thicker than the rest of the text on the page. This is NORMAL text. <B>This is BOLD text</B> 04/18/13 3
  • 4. Two more real simple tags are EMPHASIS and BIG. <EM>EMPHASIS</EM> <BIG>BIG</BIG>, 04/18/13 4
  • 5. Every Webpage written in HTML has essentially two parts: The Head  The Body 04/18/13 5
  • 6. <HTML> </HTML> The HTML tag tells your computer that everything between these two tags is an HTML document. You'll always begin your page with the opening HTML tag and end it with the closing HTML tag 04/18/13 6
  • 7. <HEAD>    </HEAD> The very first part of your document is the Head. This is where you'll put the title that comes up on somebody's navigation bar when they call up your page 04/18/13 7
  • 8. <BODY>    </BODY> After the Head is the Body. This is the real meat of the page. It's where all your visible text will be, and all your images and links too. Don't forget to put a body in your Homepage! 04/18/13 8
  • 9. The Skeleton Here is the HTML for a VERY simple webpage. See if you can figure it out using what You've learned so far. <HTML> <HEAD> <TITLE> </TITLE> </HEAD> <BODY> </BODY> </HTML 04/18/13 9
  • 10. Remember the BODY tags? That's the pair of tags which shows where the body of the document begins and ends. All of your content goes between the opening and closing Body tags. <BODY> </BODY> The Body Tag controls a lot of what your page will look like. Here's an example: <BODY BGCOLOR=white TEXT=black LINK=blue ALINK=green VLINK=red> </BODY> 04/18/13 10
  • 11. An HTML Tag has different parts, but they are all set up in a very standard way. <ELEMENT ATTRIBUTE=value> <BODY BGCOLOR=white TEXT=black LINK=blue ALINK=green VLINK=red> </BODY> In the Body tag example above, BODY is the element, and BGCOLOR, TEXT, LINK, ALINK, and VLINK are the attributes. 04/18/13 11
  • 12. The Element tells what the tag is in a general way, and the Attributes describe the tag more specifically. BGCOLOR=white This determines the background color for the entire page. I use white here, but you could use red, blue, green, black, almost any common color. Or hexadecimal! TEXT=black Obviously, this controls the color of the page's text. Again, you can use almost any common color. 04/18/13 12
  • 13. Cont.. VLINK=red Once a link has been visited, the color will be whatever color the VLINK attribute specifies. 04/18/13 13
  • 14. Cont.. LINK=blue This will be the color of your hyperlink before it's clicked on. Links have to be a different color than the text, so that your visitor knows that it's a link. ALINK=purple Ever notice a link turn a different color while it's being clicked? That's because the ALINK attribute was set to a certain color. 04/18/13 14
  • 15. BACKGROUND Attribute Using the BACKGROUND Attribute, you can tell the browser to go find a certain image file on your server, and use that image for the background. In order to use the Background attribute, you need to have the address of an image file on the web. <BODY BGCOLOR=white TEXT=black LINK=blue ALINK=green VLINK=red BACKGROUND="http://dis.dozier.com/chalk.jpg"> </BODY> 04/18/13 15
  • 16. Stand Alone Tags Most HTML tags work in pairs, but that there are a few exceptions? <P> - Paragraph <BR> Line Break <HR> Horizontal Rule 04/18/13 16
  • 17. Headings Headings come in six sizes. <H1>Your Heading</H1> <H2>Your Heading</H2> <H3>Your Heading</H3> <H4>Your Heading</H4> <H5>Your Heading</H5> <H6>Your Heading</H6> 04/18/13 17
  • 18. Center tags You can center your Heading by nesting it inside a set of CENTER tags, like in the example below. <CENTER><H1>Your Heading</H1></CENTER> You can also center text or images by placing them inside center tags. 04/18/13 18
  • 19. Font Tags <FONT></FONT> The size and color of text on an HTML document can be controlled by using the FONT tag. you can enclose indivdual words, sentances, or even sections of your page in between FONT tags 04/18/13 19
  • 20. ATTRIBUTE COLOR is an Attribute, as is SIZE. <FONT COLOR=RED> YOUR TEXT</FONT> In this example, FONT is the tag name, COLOR is the attribute, and RED is the value of that attribute. 04/18/13 20
  • 21. Hexidecimal HexidecimalColor names are six digit codes used to specify how much of the colors RED, BLUE, and GREEN are in the desired color. 04/18/13 21
  • 22. HexidecimalCont… You can use the Hexidecimalcode in place of the color's name in your font tag like this: < FONT COLOR="#FF0000"> Your Text </FONT> 04/18/13 22
  • 23. Font Size Use the size attribute just like the font color attribute, by inserting it into your opening font tag. <FONT SIZE=5> YOUR TEXT</Font> You can put all of it's attributes in the same tag. So in our font tag we can put both the size and color attributes like this: <FONT SIZE=5 COLOR=#FF0000> 04/18/13 23
  • 24. Font Size Cont… There are seven font sizes you can use with 7 being the largest and 1 being the smallest. SIZE=7 SIZE=6 SIZE=5 SIZE=4 SIZE=3 SIZE=2 SIZE=1 04/18/13 24
  • 25. Hyperlink or Link for Short A link tag looks like this: <A HREF="URL"> TEXT </A> http://ideastations.org So the tags would look like: <A HREF= “ http://ideastations.org ">WCVE</A> 04/18/13 25
  • 26. E-Mail You can place a special link in your page that, when clicked, allows your visitor to email you Do by placing a MAILTO value in your link tag. <A HREF="Mailto:John@Yahoo.com"> 04/18/13 26
  • 27. Image Tag <IMG> To place an image on your page, use the image tag. Like the font tag, the image tag requires attributes. Unlike the font tag, IMG is a stand alone tag which does not require a closing tag. 04/18/13 27
  • 28. Two attributes you'll need to know: SRC and ALIGN SRC stands for source. This attribute needs a value, so you'll use the url of the GIF or JPG file where your image is located. <IMG SRC="url"> 04/18/13 28
  • 29. ALIGN dictates how you want your text to line up in relation to your graphic <IMG SRC="url" ALIGN=top> <IMG SRC="url" ALIGN=middle> <IMG SRC="url" ALIGN=bottom> 04/18/13 29
  • 30. Positioning Your Image To place your image along the right side of the page, you can use the ALIGN attribute again. <IMG SRC="url" ALIGN=right> To place the image in the center of the page, use this <IMG SRC="url" ALIGN=center> 04/18/13 30