0
Welcome Guest! Login
0 items Join Now

Invalid Markup Validation Question

  • Invalid Markup Validation Question

    Posted 17 years 3 months ago
  • Re: Invalid Markup Validation Question

    Posted 17 years 2 months ago
    • Well it seems more like coding issues: Who coded this page.

      1. <Script language="Javascript"> - That is wrong, it should be <script type="text/javascript">
      1.1 language = cdata Deprecated. This attribute specifies the scripting language of the contents of this element. Its value is an identifier for the language, but since these identifiers are not standard, this attribute has been deprecated in favor of type.

      2. Same as above
      3. You place a javascript inside a <div> tag, move the javascript above the <div>
      4. Same as 1 & 2
      5. The title tag goes inside the <head></head> tags

      These are just some examples of your site, if you would like to have it properly done maybe consider reading up a little more, or paying someone to get the start of it done.

      The easiest way I have found to do this, is to look at the error then go to www.w3.org/TR/html401/index/elements.html to find the element that is causing the error. It will tell you how it needs to work.

      Good luck
    • Jessica Kennedy
  • Re: Invalid Markup Validation Question

    Posted 17 years 2 months ago
    • Jeff,

      So this is wrong with the centering? how would I make this centered then if I put the java script above? It's for pulling in ad's from my ad company

      <div align="center">
      <SCRIPT LANGUAGE="JavaScript1.1">
      <!--
      var oas_jx_pos = "Top,Right,Right1!Top";
      document.write('<scr' + 'ipt language=JavaScript1.1 src="' + oas_jx_url +
      'adstream_jx.ads/' + oas_jx_sitepage + '/1' + RNS + '@' + oas_jx_pos + '?'
      + oas_jx_query + '"><\/script>');// -->
      </SCRIPT></div>
  • Re: Invalid Markup Validation Question

    Posted 17 years 2 months ago
    • Go into the oas_jx_url +
      'adstream_jx.ads/' + oas_jx_sitepage + '/1' + RNS + '@' + oas_jx_pos + '?'
      + oas_jx_query file and add the document.write('<div align="center">') at the top and than at the bottom of the script, add: document.write('</div">')

      That is what I would probably do.

      But if you don't have access to the oas_jx_url +
      'adstream_jx.ads/' + oas_jx_sitepage + '/1' + RNS + '@' + oas_jx_pos + '?'
      + oas_jx_query file, than I would probably create a table something like this:

      <table width="100%" align="center">
      <tr>
      <td>
      <SCRIPT LANGUAGE="JavaScript1.1">
      <!--
      var oas_jx_pos = "Top,Right,Right1!Top";
      document.write('<scr' + 'ipt language=JavaScript1.1 src="' + oas_jx_url +
      'adstream_jx.ads/' + oas_jx_sitepage + '/1' + RNS + '@' + oas_jx_pos + '?'
      + oas_jx_query + '"><\/script>');// -->
      </SCRIPT>
      </td>
      </tr>
      </table>

      These are untested methods but should work
    • Jessica Kennedy

Time to create page: 0.069 seconds