<!DOCTYPE html> <html> <head> <meta content="text/html;charset=utf-8" http-equiv="Content-Type"> <title>svg line</title> </head> <body> <svg height="500" width="500"> <line x1= "10" y1= "10" x2="490" y2="490" style="stroke:rgb(255,90,50); stroke-width:5" /> </svg> </body> </html>