Azrael-pro

如何让div弄成可以输入文字

加一个contenteditable="true"属性即可。

 
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>demo</title>
</head>
<body>
   <div contenteditable="true"></div>
</body>
</html>
posted on 2018-02-05 13:51  Azraeel  阅读(1716)  评论(1编辑  收藏  举报

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-02-08
  • 2021-11-02
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2021-12-15
  • 2021-12-29
  • 2021-11-19
  • 2021-10-16
相关资源
相似解决方案