Fabian Raj
Fabian Raj

Reputation: 49

Image does not display with directory but displays with the image code

Chrome does not display my .svg image but displays once the code of the image is inserted along with html.

For example (without image code)

enter image description here

with image code enter image description here

Why does this happen and what is the cause of it?

Upvotes: 1

Views: 67

Answers (1)

Orange Orange
Orange Orange

Reputation: 1991

these are 2 different possible solutions
1) be sure that your path is correct
2) try removing that height and write style="height:20px;"

Upvotes: 1

Related Questions