I'm getting these errors when trying to validate my website:
The center element is obsolete. Use CSS instead.
Bad value lightbox-PhocaGalleryPl1 for attribute rel on element a: The string lightbox-phocagallerypl1 is not a registered keyword or absolute URL.
No p element in scope but a p end tag seen.
I have phocagallery 3.2.3 component and plugin installed. How can I fix those errors?
W3C Validation Errors
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: W3C Validation Errors
Hi, see similar posts in this forum or other forums, where this was explained. In short - these are not errors - becasue of SEO, you should be able to display your site in most of used browsers which users use (e.g. in non standard browsers like IE is). To display the site for most people right/equally (which is good for SEO) you need to use codes which are mostly not compatilbe with some validation tools. So some used code is not used because it is wrong but because to display the site equally in different sreens/environments (include old/obsolete browsers - it is good for SEO to display the site for most pople the same way) ... so this is the case of e.g. center tag, and others like special code techniques for search indexes, etc.
To be limited by validation tools and ignore SEO importancy, you need to customize the code and change it
(to understand it correctly, while coding components, of course we don't want to break html/xhtml or other rules and standards but of course we cannot be limited by strict rules which are mostly not important and have no influence on displaying the code)
For example: if you use some specific attribute for e.g. Google or Facebook in your HTML, you will improve your SEO (you will get more traffic on your site) but you will break validation rules as validator does not know attributes for specific external services)
Jan
To be limited by validation tools and ignore SEO importancy, you need to customize the code and change it
For example: if you use some specific attribute for e.g. Google or Facebook in your HTML, you will improve your SEO (you will get more traffic on your site) but you will break validation rules as validator does not know attributes for specific external services)
Jan
If you find Phoca extensions useful, please support the project
