Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Apr 2008
    Posts
    16
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Question Index.htm file will not show on webserver

    Hi Everyone,

    I've uploaded the site to the webserver, but I dont get anything on the screen... I used the browser validator and it came up with the following 5 errors messages, I would really appreciate if someone could HELP me decipher the messages (seperated by line numbers) and lead me in the right direction and fixing the problem(s).

    Code:
    Validation Output: 5 Errors
    
    
    
     Line 13, Column 82: character "<" is the first character of a delimiter but occurred as data
    … type="text/javascript" src="js/scriptaculous.js?load=effects,builder></script>
    ✉
    This message may appear in several cases:
    
    You tried to include the "<" character in your page: you should escape it as "&lt;"
    You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    Another possibility is that you forgot to close quotes in a previous tag.
     Line 14, Column 5: character "<" is the first character of a delimiter but occurred as data
        <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="scree…
    ✉
    This message may appear in several cases:
    
    You tried to include the "<" character in your page: you should escape it as "&lt;"
    You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
    Another possibility is that you forgot to close quotes in a previous tag.
     Line 14, Column 26: an attribute value literal can occur in an attribute specification list only after a VI delimiter
        <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="scree…
    ✉
    Have you forgotten the "equal" sign marking the separation between the attribute and its declared value? Typical syntax is attribute="value".
    
    
    
     Line 15, Column 66: document type does not allow element "link" here
      	<link href="/css/style.css" rel="stylesheet" type="text/css" />
    ✉
    The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
    
    One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
    
    
    
     Line 16, Column 24: document type does not allow element "style" here
    	<style type="text/css">
    ✉
    The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
    
    One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
    
    
    
     Line 30, Column 7: end tag for "script" omitted, but OMITTAG NO was specified
    </head>
    ✉
    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
    
    
     Line 13, Column 5: start tag was here
        <script type="text/javascript" src="js/scriptaculous.js?load=effects,builde…
     Line 142, Column 36: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
              <div class="quform-outer">
    ✉
    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
    
    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

  • #2
    New Coder
    Join Date
    Apr 2012
    Posts
    67
    Thanks
    12
    Thanked 1 Time in 1 Post
    well for a start it has to be index.htm not Index.htm - it is case sensitive


  •  

    Tags for this Thread

    Posting Permissions

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