Log in

View Full Version : Resolved Advice for error correction please



theremotedr
05-18-2015, 10:37 AM
Here is the page,
http://www.theremotedoctor.co.uk/victorias_attic.html

Here is the error report,
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.theremotedoctor.co.uk%2Fvictorias_attic.html&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.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...

Beverleyh
05-18-2015, 11:11 AM
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)

theremotedr
05-18-2015, 11:44 AM
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
<div class="textarea">