Html/css- canva

Hi all,

I was wondering if you guys know how to add a logo you made in Canva into your html. I have tried multiple ways and no luck.

This seems pretty straight forward. What have you tried so far? Because if you download the logo, you can use it in your html img element.

The easiest way to do this is to put the image file into your website’s public directory and link it to your html through the image element and it will display.

Have you tried this already or maybe there is something am missing?

If you’re just starting out, and creating a project locally or in an environment like CodePen, you won’t have a public directory. I am not too familiar with Canva. But do they have embed codes? If so, you should be able to use the direct link as the src in your html. If Canva doesn’t have links, you’ll have to download the image, and then host it on another site like imgbb.com, which will provide you with embed codes.

Hope this helps.

Hi thank you, this method work. I’m just doing my 3rd project and wanted to make it will all my own designs.

1 Like