---
id: "api.ProcessingInstruction.toggleAttribute"
kind: "bcd"
category: "api"
canonical: "https://timetostable.com/feature/api.ProcessingInstruction.toggleAttribute"
bcd_version: "8.1.11"
---

# `api.ProcessingInstruction.toggleAttribute`

- **Category**: DOM API
- **Web Feature**: [html-processing-instructions](/feature/html-processing-instructions)
- **MDN**: https://developer.mozilla.org/docs/Web/API/ProcessingInstruction/toggleAttribute
- **Specification**: https://dom.spec.whatwg.org/#dom-processinginstruction-toggleattribute

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 150 | 2026-06-30 |
| Chrome Android | 150 | 2026-06-30 |
| WebView Android | 150 | 2026-06-30 |
| Edge | 150 | 2026-07-02 |
| Opera | 134 | 2026-08-06 |
| Opera Android | 101 | 2026-08-26 |

