สำหรับเรื่องนี้ คุณสามารถใช้องค์ประกอบ SVG <foreignObject> ได้ ตัวอย่าง:
<svg xmlns="https://www.w3.org/2000/svg">
<foreignObject x="0" y="0" height="500" width="500">
<body xmlns="https://www.w3.org/1999/xhtml">
<p>DEMO</p>
<input type="date"/>
</body>
</foreignObject>
</svg>