<link
id="el"
rel="apple-touch-icon"
sizes="114x114"
href="apple-icon-114.png"
type="image/png" />HTMLLinkElement: type property / notebook
HTMLLinkElement: type property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
const el = document.getElementById("el");
console.log(el.type); // Output: "image/png"