• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Summary

Proper syntax and structure are critical for creating an SVG document that can be displayed correctly. Remembering to close all your tags, use the proper case, and quote your attribute values will help reduce the amount of errors you'll inevitably face when beginning to learn SVG. Paying attention to the ordering of your code can also explain mysterious disappearances of your artwork, as display order is hinged on code order. Lastly, be sure to include the XML declaration and DTD information. Although many viewers can display your document without this information, this approach is short sighted. Some viewers allow this, but some don't, and future viewers may not be so forgiving; code once correctly and you won't need to revise all your documents down the road.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint