I am making 'Projects' Page for my Portfolio website, I am adding a SVG Icon before the every Project's name. Since the code for SVG Icon is very large, I want something which can do something similar to what functions do in programming languages but I don't know how to do it.

Here's a part of my code:

```html
 <section>
    <div class="container">
        <div class="row">
            <div>
                <h5 class="card-title">
                    <svg role="img" viewBox="0 0 20 20" height="20px" width="20px">
                        <path fill="#000000" d="M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z">
                        </path>
                    </svg>
                </h5>
                <!-- More Stuff here -->
            </div>

            <div>
                <h5 class="card-title">
                    <svg role="img" viewBox="0 0 20 20" height="20px" width="20px">
                        <path fill="#000000" d="M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z">
                        </path>
                    </svg>
                </h5>
                <!-- More Stuff here -->
            </div>
        </div>
    </div>
</section>
```

This snippet contains two SVG icons but there are lot more icons in the page (having larger code) which are used multiple times. So, it is inefficient to write the same code multiple times. It would be nice if we have to write code only once and then it can be used anywhere in the whole HTML file.

I've seen a few answers but they are using JQuery, Php etc. I am wondering if this can be done using **HTML/CSS/Bootstrap only**.

If not, then Is it possible to do it with **JavaScript** (I am a beginner in JS).

In case you need to check the whole code: <https://devansh-07.github.io/projects.html>