I\'m wondering why this bit of html doesn\'t validate (XHTML 1.0 transitional) because of the \"data\" attribute. I\'ve searched around for answers, and I\'m not using the jQuer
Because data attributes are part of the HTML 5 spec. Use <!DOCTYPE html> to specify the HTML 5 doctype.
data
<!DOCTYPE html>