Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are non standard attributes use for?

Today, I was parsing google's HTML and faced with some non standard HTML's attributes. Take a look at this:

enter image description here

As you know, there isn't either jsname or jsdata or .. attributes in HTML. Well I'm just curious, what google use them for?

like image 516
stack Avatar asked Jan 18 '17 10:01

stack


Video Answer


1 Answers

jsaction attribute is added by Google's jsaction library. It's source code can be found on project's GitHub page: https://github.com/google/jsaction

I have no idea about the other attributes though.

like image 193
Sylwester Gebczyk Avatar answered Sep 28 '22 04:09

Sylwester Gebczyk