Hacker News new | past | comments | ask | show | jobs | submit login

Yup. You can also do <svg src="some.svg"/>

But I was talking about embedding which is, I think much nicer.

The only difference between both cases I was able to find is that if SVG is loaded via src, it will be a separate `document`. If it's embedded, it's part of DOM tree of HTML document that is being viewed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: