我想要添加到canvas元素中的一些东西,我想使用HTML来创建数据,因为我使用框架来获取用户数据,并且它不能将数据放在画布中对象
<html>
<head>
</head>
<body>
<div id="load-this-to-canvas">
<div style="background: rgb(55, 55, 55); width: 350px; height: 400px;">
<img src="https://cdn.discordapp.com/avatars/160709493032878080/20b3333152f8b57ad0da549ffd0a6757.png?size=64" style="width: 64px; height: 64px; position: relative; top: 10px; left: 10px; float: left; border-radius: 64px;" />
<div style="color: rgb(51, 153, 255); position: relative; top: 30px; left: 26px; float: left; font-size: 22px; font-family: sans-serif;">
✪ΔTMΘZFΞΔR✪
</div>
<br><br><br><br><br>
<div style="margin-left: 10px; color: white; font-family: 'Helvetica'; font-size: 14px;">
Full name: My Secret Name<br>
Email: mysecretemail@theteamcoders.com<br>
Age: 17<br>
Birth: 06.03 (1999)<br>
Status: <span style="color: rgb(255, 50, 50); font-weight: bold;">Administrator</span><br>
Website: https://theteamcoders.com/Home<br>
Banned: Never<br>
Ban date: ()<br>
Motto: "No programming, no life."<br>
<br>
Password salt: "Cookies taste good"<br>
Startup directory: "/VM/vm1/drive/startup.snnly"
</div>
</div>
</div>
</body>
</html>
&#13;
我如何让这个html进入画布元素?
请注意!没有数据以与HTML页面相同的方式显示,但数据将加载到JS