---
title: "createDocumentType(_:publicId:systemId:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domimplementation/createdocumenttype(_:publicid:systemid:)"
---

# createDocumentType(_:publicId:systemId:)

## Declaration

```swift
func createDocumentType(_ qualifiedName: String!, publicId: String!, systemId: String!) -> DOMDocumentType!
```
