+ 4

What are <g> tags used for in html?

Is it new in html 5 or it has been removed from html, I want to know.

11th Feb 2020, 1:15 PM
Duncan
Duncan - avatar
10 Antworten
11th Feb 2020, 1:24 PM
NightFox
NightFox - avatar
+ 2
Where did you see these tags?
11th Feb 2020, 1:22 PM
Sonic
Sonic - avatar
+ 2
I was reading the sololearn online source code and i saw it, but google did not give me any good explanation for it
11th Feb 2020, 1:23 PM
Duncan
Duncan - avatar
+ 2
Marzan thanks.
11th Feb 2020, 1:27 PM
Sonic
Sonic - avatar
+ 2
Duncan yes, to group svg elements together so that the same transformation can be applied to the whole group at once.
11th Feb 2020, 1:30 PM
Sonic
Sonic - avatar
+ 1
Thanks you, I think it has something to do with SVG
11th Feb 2020, 1:28 PM
Duncan
Duncan - avatar
+ 1
Also the g tag might be found in XLIFF files to prevent that contents to be trabslated.
12th Feb 2020, 5:50 PM
GeraltdeRivia
+ 1
Use in svg to group elements to single element
13th Feb 2020, 11:29 AM
Dove
Dove - avatar