The SVG images will have the default width and height of 1px in WordPress like below the screenshot

If you want to display SVG image in AMP you need to enter the specific width and height like –

The output of SVG Image in AMP

That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.