# Enabled Elements
In Cornerstone, an Enabled Element is an HTMLElement (opens new window) (typically a div (opens new window)) which we display an interactive medical image inside of.
To display an image, a web developer needs to do the following:
- Reference the Cornerstone JavaScript library file via a script tag in a web page
- Reference the JavaScript file for one or more Image Loaders that Cornerstone will use to actually load the pixel data (e.g. WADO, WADO-RS, custom) in the web page
- Add an element to the DOM that will be used to display the image inside of
- Use CSS to position the element on the page along with the desired width and height
- Call the enable() API to prepare the element to display images
- Load an image using the loadImage() API
- Display the loaded image using the displayImage() API
See the minimal example (opens new window) for the minimum code required to use cornerstone.
You may also want to include the Cornerstone Tools Library (opens new window) for ready-to-go tools such as windowing, pan, zoom and measurements.