I was wondering if we could use Unicode images in the src
attribute of img
tag instead of a path. Will the browser be able to identify the code?
No. Images need to be images, not characters from a font.
The value assigned to src
needs to be the URL to an image. It can't be some text. It can't be the URL to a font.