Partager via


IHTMLHRElement interface

This interface draws a horizontal rule.

Members

The IHTMLHRElement interface inherits from the IDispatch interface. IHTMLHRElement also has these types of members:

  • Properties

Properties

The IHTMLHRElement interface has these properties.

Property Description

align

Sets or retrieves the alignment of the object relative to the display or table.

color

Sets or retrieves the color to be used by the object.

noShade

Sets or retrieves whether the horizontal rule is drawn with 3-D shading.

size

Sets or retrieves the height of the hr object.

width

Sets or retrieves the width of the object.

 

Remarks

The hr element is a block element.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch