Create action name as attributes instead of tag names