1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-22 14:12:58 +02:00

Update <img> tag to self-closing format (#2156)

Update the <img> tag in REAMDME.md to a self-closing format (with a forward slash before the closing angle bracket) to ensure compatibility with JSX and stricter HTML versions, addressing potential confusion and enhancing code clarity.

Co-authored-by: Jørgen Kalsnes Hagen <43886029+Snailedlt@users.noreply.github.com>
This commit is contained in:
Layth
2024-02-27 00:01:51 +03:00
committed by GitHub
parent b30daf1899
commit 88b31c09db

View File

@@ -162,7 +162,7 @@ Add the following CSS rules in your stylesheet:
<h4>You can also use the <code>img</code> tag and reference an SVG directly from the repository:</h4> <h4>You can also use the <code>img</code> tag and reference an SVG directly from the repository:</h4>
```html ```html
<img src='https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/devicon/devicon-original.svg'> <img src='https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/devicon/devicon-original.svg' />
``` ```
<h2 id="request-icon">Requesting an icon</h2> <h2 id="request-icon">Requesting an icon</h2>