I've found out that I am having an issue with SVG tags, not because of the tags themselves, but because of the Live Server extension that I am using. Credit and thanks go to herrstrietzel for giving me a hint for this particular issue.
To solve this problem, I needed to use the Live Preview extension instead of the Live Server extension.
To use it, I needed to right-click on the starting page of my template/website (e.g., index.html). Since I am using VS Code, it is embedded within the editor's side panel (or side bar). To view it in a browser (such as Google Chrome), I needed to either copy the link address from the top of the page or click the menu and then select "Open in Browser".
See examples below: