mirror of
https://github.com/konpa/devicon.git
synced 2025-08-22 06:03:14 +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:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user