JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="multiply" type="service/math" src="path/to/service">
<link rel="substract" type="service/math" src="path/to/service">
<link rel="other" type="somethingelse/other" src="path/to/service">
JavaScript
var linksWithService = document.querySelectorAll("link[type^=service]");
Array.prototype.forEach.call(linksWithService,function(el){
document.body.innerHTML+=" "+el.rel;
});