treehouse : what would you like to learn today?
Web Design Web Development iOS Development

scalable vector graphic

  • hi, what is your opinion about svg usage. upto what limits it should be used in html file keeping in view its lengthy code.
  • 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
  • You can use SVGs in your HTML? O.O Pardon my ignorance but please explain...if I need to post another discussion I will.
  • @cpyle0819 In Illustrator you can save as an svg and then click "Show SVG Code".

    image
  • 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.