Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

HTML: data-config attribute in head tag?

Options
  • 09-05-2016 5:01pm
    #1
    Registered Users Posts: 1,908 ✭✭✭


    I may have a just bad day but come across data-config attribute in head tag and cant figure out what it is for? attribute value is "facebook":0 - any idea?
    Tagged:


Comments

  • Administrators Posts: 53,438 Admin ✭✭✭✭✭awec


    zom wrote: »
    I may have a just bad day but come across data-config attribute in head tag and cant figure out what it is for? attribute value is "facebook":0 - any idea?

    Data attributes are app specific and you can use them to store custom information.

    In this instance facebook have decided to store some config information in a data-config attribute. They could just have easily called it data-burger or data-goat.


  • Registered Users Posts: 1,908 ✭✭✭zom




Advertisement