# How do we set what media/device the linked document is optimized for in HTML?

HTMLWeb DevelopmentFront End Technology

Use the media attribute to specify what media/ device the linked document is optimized for in HTML. The attribute can be used with the following elements − <area>, <a>, <link>, etc.

## Example

<html>
</html>