I have read that HTML5 canvas and SVG tags were introduced. My question is, how were graphics made before SVG and canvas were introduced?
Were only CSS and HTML used?
//CIRCLE CANVAS
<!DOCTYPE html>
<html>
<body>
<canvas id="myCanvas" width="200" height="100" style="border:1px solid #d3d3d3;">
Your browser does not support the HTML5 canvas tag.</canvas>
<script>
var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");
ctx.beginPath();
ctx.arc(95,50,40,0,2*Math.PI);
ctx.stroke();
</script>
</body>
</html>
// CIRCLE SVG
<!DOCTYPE html>
<html>
<body>
<svg width="100" height="100">
<circle cx="50" cy="50" r="40"
stroke="black" stroke-width="1" fill="white" />
Sorry, your browser does not support inline SVG.
</svg>
</body>
</html>
How would this be done without canvas and svg tags.