17 lines
405 B
HTML
17 lines
405 B
HTML
<!DOCTYPE html>
|
|
<html subLang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Create a Line with HTML5 SVG</title>
|
|
<style type="text/css">
|
|
svg {
|
|
border: 1px solid black;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<svg width="300" height="200">
|
|
<line x1="50" y1="50" x2="250" y2="150" style="stroke:red; stroke-width:3;" />
|
|
</svg>
|
|
</body>
|
|
</html> |