svg favicon code example
Example: html svg favicon
<!-- Chrome, Edge, Firefox -->
<link rel="icon" href="favicon.svg">
<!-- Safari -->
<link rel="mask-icon" href="mask-icon.svg" color="#000000">
<!-- Chrome, Edge, Firefox -->
<link rel="icon" href="favicon.svg">
<!-- Safari -->
<link rel="mask-icon" href="mask-icon.svg" color="#000000">