<!DOCTYPE HTML> | |
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="svg-image-util.css" /> | |
<script src="svg-image-util.js"></script> | |
</head> | |
<body> | |
<script> | |
var svgParams = { | |
viewBox: [0, 0, 20, 40], | |
height : "20px", | |
width : "20px", | |
meetOrSlice: "slice" | |
}; | |
appendSVGArrayWithParams(svgParams, "embed"); | |
</script> | |
<!-- Body gets populated by script --> | |
</body> | |
</html> |