Solved

SVG Logo

Posted on 2016-11-22
4
47 Views
Last Modified: 2016-11-27
Any idea for the usage of the code  below ?

- <defs>
- <linearGradient>
- <stop>
- <ellipse>


<!DOCTYPE html>
<html>
<body>

<svg height="130" width="500">
  <defs>
    <linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="0%">
      <stop offset="0%"
      style="stop-color:rgb(255,255,0);stop-opacity:1" />
      <stop offset="100%"
      style="stop-color:rgb(255,0,0);stop-opacity:1" />
    </linearGradient>
  </defs>
  <ellipse cx="100" cy="70" rx="85" ry="55" fill="url(#grad1)" />
  <text fill="#ffffff" font-size="45" font-family="Verdana"
  x="50" y="86">SVG</text>
Sorry, your browser does not support inline SVG.
</svg>

</body>
</html>
0
Comment
Question by:AXISHK
  • 2
  • 2
4 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41898639
The HTML part works.  What is the question?
0
 

Author Comment

by:AXISHK
ID: 41900043
I means how each line of code means ? Any refers for using this parameters ?

Thx
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 41900060
I'll give the same link from the other question: https://en.wikipedia.org/wiki/Scalable_Vector_Graphics  You probably need to find a tutorial on SVG.  I don't know it well enough to give you good answers plus it's fairly technical subject.  Most people use some kind of GUI program like CorelDraw, Inkscape, or Adobe Ilustrator to create SVG images.
0
 

Author Closing Comment

by:AXISHK
ID: 41903492
Thx
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question