Can I change the blinking caret in a form/text area in a browser? [duplicate]
问题 This question already has answers here : How to use this square cursor in a HTML input field? (5 answers) Closed 3 years ago . I want to have a custom text caret in my text field for my web page. I would like to have an old school block type blinking caret. Is this possible? 回答1: The simple answer is you can't (change the user's blinking caret) via javascript, html, or css as that is created and managed by the chrome (the browser beyond the DOM) Wanna fake it? http://www.dynamicdrive.com