Jump to content
You're invited! Join our 4.6 Live Event on ZOOM 6/24 ×

Community

W3


EBrown
 Share

Recommended Posts

While semantic and well-structured XHTML is important and something any web developer should do, sometimes the validator flags things up which cannot be resolved. For example, Facebook uses a <link> tag with an image_src attribute to get the image to display when you share content - this isn't valid XHTML (I don't know if it's something Facebook dreamed up or a standard the W3C hasn't adopted into their specifications), and the validator will throw an error on it, but it's necessary for the feature to work.

Link to comment
Share on other sites


While semantic and well-structured XHTML is important and something any web developer should do, sometimes the validator flags things up which cannot be resolved. For example, Facebook uses a <link> tag with an image_src attribute to get the image to display when you share content - this isn't valid XHTML (I don't know if it's something Facebook dreamed up or a standard the W3C hasn't adopted into their specifications), and the validator will throw an error on it, but it's necessary for the feature to work.



If W3 can't pick up the new way Facebook is done then maybe something is wrong with W3 itself.
Link to comment
Share on other sites


If W3 can't pick up the new way Facebook is done then maybe something is wrong with W3 itself.



...Ima say reverse... Facebook does not set web standards... much as it may chagrin you, FB is NOT the internet, just because they do things a certain way does not mean at all that its the proper valid way.... FB from day 1 has universally refused to use valid xhtml in plugin code( <fb:> is NOT valid...).... laziness or some superior attitude im not certain, but FB plugin/code has never been valid.
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy