---
title: src
framework: tvml
role: article
role_heading: Article
path: tvml/src
---

# src

Specifies the URL for an image.

## Overview

Overview The URL can point to an image on a server or to the resource scheme in your app. For a list of resource images provide by Apple, see the Resource Icons section of TVML. Here’s an example that displays the United States general admission movie rating icon. <img src="resource://mpaa-g" /> note: When this attribute loads an image using an HTTP URL, you must add height and width attributes to the element. Values for src Elements that Use src badge decorationImage fullscreenImg heroImg img

## See Also

### Image Retrieval

- [srcset](tvml/srcset.md)
