javascript queryselectorall get attribute code example Example: queryselectorall in javascript to get data attribute value //javascript get html data attribute