How can we draw lines (e.g. google map) in standard HTML, CSS for an example offline application?
The RaphaΓ«l library (vector graphics) for JavaScript can let you do this quite easily:
http://raphaeljs.com/
You can not. You should use canvas api.
Methods: MoveTo () LineTo ()