SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Sep 2000
    Location
    Oregon
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <<body
    bgcolor="#CCCCAA"
    tect="#cb9b36"
    link="#cb9b36"
    vlink="#cb9b36"
    body background="images/tfgbord5.jpg" text="#cb9b36" link="#" vlink="#cb9b36" alink="#cb9b36>
    <table width="100%" border="0" cellspacing="3" cellpadding="3" align="left">
    <tr>
    <td width"150" align="left" valign=top>
    <img src="images/cgspacer.gif" width=150 height=200 border=0 alt="">
    </td>
    <td width="40" align="center" valign="middle">
    <img src="images/cgspacer.gif" width=40 height=200 border=0 alt="">
    </td>
    <td align="left" valign="top">
    <font face="arial" size="+1">
    <div align="center">
    <img src="images/news.jpg" width="137" height="31" alt="newshd">
    </div>
    </font>
    <br>
    <font face="arial" size="-1">
    <p>
    <div align="center">

    <A HREF="http://babelfish.altavista.com/index.html" TARGET="altavista.com/index.html">
    <font size="+1" color="#cb9b36">
    Translate this page
    </A>
    </center>
    </font>
    </div>
    </p>
    <p>
    <div align="center">
    <SCRIPT LANGUAGE="JavaScript">
    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! http://javascript.internet.com -->
    <!-- Begin
    if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >
    = 4)) {

    var url="http://www.javascriptsource.com";
    var title="The JavaScript Source";

    document.write('
    <A HREF="javascript:window.ext');
    document.write('ernal.AddFavorite(url,title);" ');
    document.write('onMouseOver=" window.status=');
    document.write("'Add our site to your favorites!'; return true ");
    document.write('"onMouseOut=" window.status=');
    document.write("' '; return true ");
    document.write('">
    Add our site to your favorites!
    </a>
    ');
    }
    else {
    var msg = "Don't forget to bookmark us!";
    if(navigator.appName == "Netscape") msg += " (CTRL-D)";
    document.write(msg);
    }

    // End -->
    </script>
    <br>
    <font size="+1" color="#cb9b36">
    <center>
    This page was update on 2/24/01
    </center>
    </font>
    </p>
    <P align="left">
    <font size="+1" color="#cb9b36">
    This is my Personal Site and business site in this space you will find my
    personal philosophy. The pages you are about to visit include Fantasy, The
    Worship of Goddess, Gods, Dragons, Angels, Herbs, wholistic healing, dream
    interpretation, Seth page, groups I belong to, Druid Pages, gifts and awards I
    have received, apply for my award, my personal sometimes journal, my
    newsletter, Native American
    beliefs, mythical creatures or are they and Wolves... all my favorite things in
    the world; I also have a collection of art from what I feel our some of the
    worlds greatest artists both past and present. Come on in and visit with me as
    I reveal my inner most soul to you. I hope you enjoy my site and come back
    often over the years. This is my tables and spacer what did I do wrong
    Jassmine
    http://www.jassmine.com
    Visit me on the web

  2. #2
    SitePoint Addict Drinky's Avatar
    Join Date
    Jan 2001
    Location
    England
    Posts
    338
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    With some source formatting applied to your code we can instantly see most of the problems:

    Code:
    MISSING open html tag
    Double body declaration <<body bgcolor="#CCCCAA" tect="#cb9b36" link="#cb9b36" vlink="#cb9b36" 
    <body background="images/tfgbord5.jpg" text="#cb9b36" link="#" vlink="#cb9b36" [colr=red]alink="#cb9b36[/color]>
    
    <table width="100%" border="0" cellspacing="3" cellpadding="3" align="left">
      <tr>
        <td width"150" align="left" valign=top><img src="images/cgspacer.gif" width=150 height=200 border=0 alt=""></td>
        <td width="40" align="center" valign="middle"><img src="images/cgspacer.gif" width=40 height=200 border=0 alt=""></td>
        <td align="left" valign="top">
          <font face="arial" size="+1">
            <div align="center"><img src="images/news.jpg" width="137" height="31" alt="newshd"></div>
          </font>
          <br>
          <font face="arial" size="-1">
            <p>
              <div align="center"><A HREF="http://babelfish.altavista.com/index.html" TARGET="altavista.com/index.html">
                <font size="+1" color="#cb9b36">Translate this page</A>
    orphan close center tag </center>
                </font>
              </div>
            </p>
            <p>
              <div align="center">
              <br>
                <font size="+1" color="#cb9b36">
                  <center>This page was update on 2/24/01</center>
                </font>
    MISSING close div tag
            </p>
            <P align="left">
              <font size="+1" color="#cb9b36">
    This is my Personal Site and business site in this space you will find my
    personal philosophy. The pages you are about to visit include Fantasy, The
    Worship of Goddess, Gods, Dragons, Angels, Herbs, wholistic healing, dream
    interpretation, Seth page, groups I belong to, Druid Pages, gifts and awards I
    have received, apply for my award, my personal sometimes journal, my
    newsletter, Native American
    beliefs, mythical creatures or are they and Wolves... all my favorite things in
    the world; I also have a collection of art from what I feel our some of the
    worlds greatest artists both past and present. Come on in and visit with me as
    I reveal my inner most soul to you. I hope you enjoy my site and come back
    often over the years. This is my tables and spacer what did I do wrong
    MISSING close font tag
    MISSING close p tag
    MISSING close td tag
    MISSING close tr tag
    MISSING close table tag
    MISSING close body tag
    MISSING close html tag
    What it should look like

    Code:
    <html>
    <head>
    <title>My Page Title</title>
    </head>
    <body background="images/tfgbord5.jpg" bgcolor="#CCCCAA" text="#cb9b36" link="#cb9b36" vlink="#cb9b36" alink="#cb9b36">
    
    <table width="100%" border="0" cellspacing="3" cellpadding="3" align="left">
      <tr>
        <td width"150" align="left" valign=top><img src="images/cgspacer.gif" width=150 height=200 border=0 alt=""></td>
        <td width="40" align="center" valign="middle"><img src="images/cgspacer.gif" width=40 height=200 border=0 alt=""></td>
        <td align="left" valign="top">
          <div align="center"><img src="images/news.jpg" width="137" height="31" alt="newshd"></div>
          <p align="center">
            <font face="arial" size="+1" color="#cb9b36"><A HREF="http://babelfish.altavista.com/index.html" TARGET="altavista.com/index.html">Translate this page</A></font>
          </p>
          <p align="center">
            <font face="arial" size="+1" color="#cb9b36">This page was update on 2/24/01</font>
          </p>
          <P align="left">
            <font face="arial" size="+1" color="#cb9b36">
              This is my Personal Site and business site in this space you will find my
              personal philosophy. The pages you are about to visit include Fantasy, The
              Worship of Goddess, Gods, Dragons, Angels, Herbs, wholistic healing, dream
              interpretation, Seth page, groups I belong to, Druid Pages, gifts and awards I
              have received, apply for my award, my personal sometimes journal, my
              newsletter, Native American beliefs, mythical creatures or are they and
              Wolves... all my favorite things in the world; I also have a collection
              of art from what I feel our some of the worlds greatest artists both past
              and present. Come on in and visit with me as I reveal my inner most soul to
              you. I hope you enjoy my site and come back often over the years. This is
              my tables and spacer what did I do wrong
            </font>
          </p>
        </td>
      </tr>
    </table>
    
    </body>
    </html>
    Last edited by Drinky; Feb 24, 2001 at 05:37.
    Drinky

  3. #3
    SitePoint Member
    Join Date
    Sep 2000
    Location
    Oregon
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    what is source formatting

    Thank you so much for helping me can you tell me what is source formatting. I am so glad this board is here. You help me so much thank you
    Jassmine
    http://www.jassmine.com
    Visit me on the web

  4. #4
    Irritability Defined
    Join Date
    Jul 2000
    Location
    80,000 feet below the surface
    Posts
    1,442
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Source formatting is basically what it says : just formatting and indenting your HTML so that it is readable by other people. Drinky has produced source formatting in his example
    My 2 Cents (or is that 2.2 Cents including GST?)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •