Method 1: Directly add the following code to the head section of the HTML document.
Copy content to clipboard:
```html
html { filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); }
```
Method 2: Add the following code to the CSS document.