Results 1 to 3 of 3

Thread: Advice for error correction please

  1. #1
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default Advice for error correction please

    Here is the page,
    http://www.theremotedoctor.co.uk/victorias_attic.html

    Here is the error report,
    http://validator.w3.org/check?uri=ht...org%2Fservices

    Mainly only 2 errors but duplicated on the page.
    Trying to correct them makes the page worse for me,unless you do it correctly that is...
    Last edited by theremotedr; 05-18-2015 at 02:53 PM.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    The same 2 errors are repeated - the first relates to incorrect syntax formatting of the "break" tag.

    The break tag is a single tag so it doesn't have a closing partner. Or it can be described as self-closing. So the format should be either <br> or <br />

    Both are valid but the latter takes on the XHTML/XML syntax.

    The second error advises that the "textarea" id has been duplicated. An id is unique and should be used only once on a web page, so you will need to change your markup to use different ids or revert to the use of a class instead (and modify your CSS accordingly)

    I little tip - when using the validator, you can always Google the errors if you don't understand what they mean, and you will find answers online (probably quicker than waiting on a direct response from here)
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. The Following User Says Thank You to Beverleyh For This Useful Post:

    theremotedr (05-18-2015)

  4. #3
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Thanks,
    Waiting for a reply is no problem for me.
    If i had looked a little closer i would of seen that some of my break tags were correct and i should have spotted that.
    Css has now been put into one so now code reads
    Code:
    <div class="textarea">

Similar Threads

  1. Correction for a PHP execution file. Please help.
    By hackarena in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 05-09-2014, 12:42 AM
  2. Replies: 1
    Last Post: 01-28-2011, 03:39 AM
  3. Replies: 0
    Last Post: 04-22-2010, 05:42 PM
  4. Replies: 0
    Last Post: 01-09-2009, 08:48 PM
  5. dhtmlWindow modal little correction
    By smagghe in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 10-26-2007, 10:13 AM

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
  •