|
SVG-Anbindung
<?php
header("Content-Type: application/xhtml+xml; charset=utf-8");
echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Einfaches php-svg-Beispiel</title>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<meta name="author" content="robert.rothhardt" />
<meta name="generator" content="Hugos-php-enviroment" />
<link rel ='stylesheet' type='text/css' href='/styles/card.css' />
</head>
<body>
<svg width='150mm' height='150mm' viewBox='0 0 1500 1500'
xmlns:xlink='http://www.w3.org/1999/xlink'
xmlns='http://www.w3.org/2000/svg'>
<line x1='0' y1='0' x2='1000' y2='1000' stroke='blue' />
</svg>
</body>
</html>
|