---
title: "createCDATASection(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domdocument/createcdatasection(_:)"
---

# createCDATASection(_:)

## Declaration

```swift
func createCDATASection(_ data: String!) -> DOMCDATASection!
```
