---
id: "document-write"
kind: "web-feature"
canonical: "https://timetostable.com/feature/document-write"
baseline: "limited"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# document.write() (`document-write`)

The document.open(), document.write(), document.writeln(), and document.close() methods write content to a document, possibly while that document is still loading.

- **Group**: other
- **Baseline**: Limited Availability
- **Specification**: https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html
- **Constituent BCD keys**: 6

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Edge | 12 | 2015-07-29 |
| Chrome | 45 | 2015-09-01 |
| Chrome Android | 45 | 2015-09-01 |
| Safari | 11 | 2017-09-19 |
| Safari on iOS | 11 | 2017-09-19 |
| Firefox | 69 | 2019-09-03 |
| Firefox for Android | 79 | 2020-07-28 |

