# How to draw SVG Logo in HTML5?

HTMLWeb DevelopmentFront End Technology

SVG stands for Scalable Vector Graphics and is a language for describing 2D-graphics and graphical applications in XML and the XML is then rendered by an SVG viewer. Most of the web browsers can display SVG just like they can display PNG, GIF, and JPG.

You can draw shapes like circle, rectangle, line, etc using SVG in HTML5 easily. Let’s see an example to draw SVG logo. For that, we will be creating a linear gradient:

## Example

You can try to run the following code to draw SVG logo −

<!DOCTYPE html>
<html>
<title>HTML5 SVG logo</title>
<body>
<svg height="170" width="400">
<defs>
<stop offset="0%"
style="stop-color:rgb(184,78,43);stop-opacity:1" />
<stop offset="50%"
style="stop-color:rgb(241,241,241);stop-opacity:1" />
<stop offset="100%"
style="stop-color:rgb(255,141,52);stop-opacity:1" />
</html>