HTML table in SVG

2

Is it possible to create an HTML table within the <svg> tag? I have an example, but I can not see the objects.

Example: link

asked by anonymous 27.03.2015 / 12:15

1 answer

2

try to include the code in the foreinObject tag

<foreignobject x="10" y="10" width="800" height="500" >
  <table border=1><tr> 
    <td> Olá mundo </td>    
    <td> <svg width="400" height="450">
            <rect id="rect1" width="300px" height="400px" fill="blue" />
        </svg> </td>
      </tr>
  </table>
</foreignobject>
    
27.03.2015 / 13:46