HR HTML Element

The HR element draws a horizontal rule. This is a block element and does not require a closing tag.

Attributes

Attribute Value Description
ALIGN Center (default)

Left

Right

Specifies the horizontal rule alignment.

Note   Supported only for devices running Windows Mobile 2002 software or later.

CLASS   Associates the element with a CSS style.
Note   Supported only for devices running Windows Mobile 2003 software or later.
ID   Uniquely identifies the element within a document.
Note   Supported only for devices running Windows Mobile 2003 software or later.
NOSHADE   Indicates that the horizontal rule is not drawn with 3 dimensional shading.
SIZE 0...# Specifies the horizontal rule height in pixels.
STYLE   Provides the definition of the CSS styles used for this element.
Note   Supported only for devices running Windows Mobile 2003 software or later.
WIDTH Special Specifies the horizontal rule width in pixels or a percentage width of its container.

Requirements

Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.