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 3 of 3
  1. #1
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts

    Exclamation Validator does not like it.

    My validator does not like the "H" codes in red, How should I control the clockboxes etc.

    <body>
    <div id="wrap">
    <h4><span id="clockbox0"></span><span id="clockbox1"></span></h4><br />
    <span id="greet"><h1>
    <center>
    <script type="text/javascript">

    greet();

    </script>
    effpeetee
    Last edited by effpeetee; 05-16-2007 at 09:57 AM.

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,471
    Thanks
    0
    Thanked 634 Times in 624 Posts
    The h1 block level tag is not allowed inside a span. I would need to see more of the page to work out howe it should be coded because that code doesn't make any sense by itself.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts

    Exclamation Wrong version.

    Sorry friend,

    I had put the wrong version into my validator, the correct version is OK.
    Coded for me by VIPStephan.

    You can see it at-

    www.exitfegs.co.uk

    Once again sorry and thank you fror replying.

    effpeetee


  •  

    Posting Permissions

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