Can multiple <svg> tags be used in single web page?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can multiple <svg> tags be used in single web page??

7th Oct 2017, 4:42 AM
Gopal
Gopal - avatar
11 Answers
+ 7
yes
7th Oct 2017, 5:02 AM
Abhishek Pun
Abhishek Pun - avatar
+ 6
SVG within an object can include both local requests, plus function calls that are resident in the parent HTML. These functions can perform actions in either the parent html document and/or within the object. The parent, however, cannot directly access the object's svg elements Can you post your code
7th Oct 2017, 5:28 AM
Abhishek Pun
Abhishek Pun - avatar
+ 6
i want to see your code
7th Oct 2017, 6:10 AM
Abhishek Pun
Abhishek Pun - avatar
+ 6
yes its working perfectly
7th Oct 2017, 11:33 AM
Abhishek Pun
Abhishek Pun - avatar
+ 2
Can
7th Oct 2017, 5:00 AM
Calviղ
Calviղ - avatar
+ 1
Yes
7th Oct 2017, 11:33 AM
Rishita
Rishita - avatar
0
When I tried,only the first one is seen in browser.What should I do to have all svg tags seen in browser??
7th Oct 2017, 5:24 AM
Gopal
Gopal - avatar
0
I had tried in pc,there i had faced this problem.When I tried here,it showed both svg tag effect.
7th Oct 2017, 5:53 AM
Gopal
Gopal - avatar
0
My code goes like this. Please , try it in your pc and check whether the element in second svg tag appears or not. It does not appear in mine. https://code.sololearn.com/W6FUA5tml62R/?ref=app
7th Oct 2017, 10:36 AM
Gopal
Gopal - avatar
0
Reduce the first svg height, you would see the second svg at the bottom.
7th Oct 2017, 11:35 AM
Calviղ
Calviղ - avatar
0
Thanks all of you for helping me. I am glad to get your support
7th Oct 2017, 12:03 PM
Gopal
Gopal - avatar