Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG in HTML-file errors and namespaces #23

Open
ghbondar opened this issue Nov 17, 2018 · 0 comments
Open

SVG in HTML-file errors and namespaces #23

ghbondar opened this issue Nov 17, 2018 · 0 comments
Labels

Comments

@ghbondar
Copy link
Owner

For those receiving errors from oXygen when inserting SVG into your HTML-files, I suspect that the problem was from needing the svg-namespace to be declared, the attribute inside the SVG-element:
<svg xmlns="http://www.w3.org/2000/svg">
A namespace looks like a URL link, but it actually tells your web browser what kind of code to expect. Similarly, there is an HTML-namespace declaration in your HTML-files:
<html xmlns="http://www.w3.org/1999/xhtml">
Those of you who were having errors, I suspect, were either missing the namespace declaration, had it in the wrong place, or had multiple declarations of the same namespace.
I you are still getting errors in oXygen about your SVG in your HTML-files, please post your code in the Troubleshooting folder.
@KhuongNgx

@ghbondar ghbondar added the HINT! label Nov 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant