The question is illustrated below:
<ul data-my-div='true><li></li></ul> <!-- this is surely okay -->
<ul data-my-div><li></li></ul> <!-- but is this? -->
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just test it! See, e.g. this fiddle. Short tests showed, that you can use in at least Firefox and Chrome.
result:
In general, the reference explicitly allows for empty attributes here: