Radial gradient is used to apply collection of colors on a single shape or object in circular formate.
<radialGradient id="idName">
<stop offset="value" stop-color="color" />
<stop offset="value" stop-color="color" />
</radialGradient>
You can use any number of stop colors in stop element.
You can use SVG linear gradient any where within an HTML document.
Open notepad or any other text editor, follow the following points.
save file with name task.html or task.htm and then open it using any browser and see results.