Why does an html checkbox always have the attribute of read-only?

  Kiến thức lập trình

The following will display a crosshair over the checkbox:

<!DOCTYPE html>
<html>
    <style>
        input:read-only {
            cursor: crosshair;
        }
    </style>
    <body>
        <input type="checkbox">
    </body>
</html>

LEAVE A COMMENT