CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
scalable vector graphic
shilpi
Permalink to comment
#
March 2012
hi, what is your opinion about svg usage. upto what limits it should be used in html file keeping in view its lengthy code.
TT_Mark
Permalink to comment
#
March 2012
I quite like using SVGs, however I don't believe you should embed the code directly in the html file, rather you should reference an external file.
That way it doesn't matter how lengthy the code is
cpyle0819
Permalink to comment
#
March 2012
You can use SVGs in your HTML? O.O Pardon my ignorance but please explain...if I need to post another discussion I will.
chrisburton
Permalink to comment
#
March 2012
@cpyle0819
In Illustrator you can save as an svg and then click "Show SVG Code".
cnwtx
Permalink to comment
#
March 2012
I like the idea of using SVG a lot, although I've never had the time to really learn it, and I'm not to sure of it's browser support.
@cpyle0819
, HTML5 allows you to directly embed SVG (and MathML for that matter) into HTML.
Add a Comment
That way it doesn't matter how lengthy the code is
@cpyle0819, HTML5 allows you to directly embed SVG (and MathML for that matter) into HTML.