哪些svg元素可以是子元素,哪些不能 [英] Which svg elements can be child, and which cant be

查看:116
本文介绍了哪些svg元素可以是子元素,哪些不能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在html中,我们说内联元素应位于block元素内. 类似地,我可以使用任何规则来找出哪些svg元素可以是子元素,哪些不能.

In html we say, the inline elements should be within the block elements. Similiarly, is there any rule that i can use, to find out which svg elements can be child, and which cant be.

推荐答案

规范包含每个元素的描述,包括哪些元素可以作为子元素.

The specification contains a description of each each element, including which elements are allowed as children.

这篇关于哪些svg元素可以是子元素,哪些不能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆