Footer "Contacting Us" not validating?

A place to ask questions and get help. Be the first on your block to post ...

Footer "Contacting Us" not validating?

Postby caggens2 » Thu Sep 08, 2011 5:09 pm

When I validate my site in Dreamweaver I get the following validation error for each "<br/>" in my footerContactInfo.html file.

"The tag: "br" has an XML style closing syntax for an empty element even though version: "HTML4" is not an XML tag language.[HTML 4.0]"

When I validate my site using the batch validator, I don't get any errors.

Should I be concerned about this? If so, is there a different way to break a line of text?
Posts: 6
Joined: Tue Dec 21, 2010 5:26 pm

Re: Footer "Contacting Us" not validating?

Postby kabel2 » Thu Sep 22, 2011 5:08 pm

Christy, the Dreamweaver validator will validate your files on an individual basis and will make assumptions about the "DOCTYPE" of a file if its missing. That means that even though your footerContactInfo.html file is included in a normal XHTML 1.1 file it is individually validated as an HTML4 file. This is simply a limitation of the Dreamweaver software.

As you can tell from the official validator (W3C's) ... u%2Fart%2F correctly identifies the entire HTML (from the server-side-includes) as valid.
Posts: 47
Joined: Tue Jan 17, 2006 10:33 pm
Location: University Communications

Return to Help & Assistance

Who is online

Users browsing this forum: No registered users and 2 guests