为了账号安全,请及时绑定邮箱和手机立即绑定

请问怎样才能在<style>中写注释

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>填充</title>
    <style type="text/css">
    #box1 {
        width: 100px;<!--id选择器为#-->
        height: 100px;
        padding:10px;<!--id选择器为#-->
        border: 1px solid red;
        background-color:blue;
    }
    </style>
</head>

<body>
    <div id="box1">盒子1</div>
</body>

</html>

正在回答

2 回答

ctrl+/

0 回复 有任何疑惑可以回复我~

/**/

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

请问怎样才能在<style>中写注释

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号