---
title: type
framework: webkitjs
role: symbol
role_heading: Instance Property
path: webkitjs/stylemedia/1634102-type
---

# type

A string that represents the media type of the current view used for rendering the document.

## Declaration

```data
readonly attribute DOMString type;
```

## Discussion

Discussion For pages being displayed on screen, this property value is screen. When printing, this property value is print.

## See Also

### Related Documentation

- [Safari Web Content Guide](apple-archive/documentation/AppleApplications/Reference/SafariWebContent/Introduction.md)
