The slider behavior inserts a slider control into a Web page and is a method for Web authors to allow users to select a value from a gradient. A slider can be placed on the page with a vertical or horizontal orientation. Values are selected by dragging the slider with the mouse. Tick marks are provided according to an author-specified range.