Welcome to the Browser-Base Game Zone forums!
for the web, you use svg which is an xml based format, but not too many browsers support it yet. what most people do is just save vectors as pngs.