Solved

SVG Logo

Posted on 2016-11-22
4
19 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 82

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 82

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now