<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
*{
margin: 1px;
}
input{
width: 200px;
height: 40px;
border: 1px solid gray;
}
#jc,#qx,#xhx{
cursor: pointer;
width: 30px;
width: 30px;
}
#output{
width: 200px;
height: 200px;
border: 1px solid gray;
}
button{
cursor: pointer;
}
</style>
<script>
fun
在输入框输入内容,点击加粗,斜体,下划线,显示在div中
最新推荐文章于 2023-08-21 14:18:51 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)