<svg width="768" height="1024" viewBox="0,0,768,1024" xmlns="http://www.w3.org/2000/svg">
<style>
// css goes here
</style>
<foreignObject x="0" y="0" width="100%" height="100%">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{3}</title>
</head>
<body>
// xml goes here
</body>
</html>
</foreignObject>
</svg>