/

HTML / CSS / JavaScript Tutorial

HTML Element: <hr>

[this page | pdf | back links]

The HTML <hr> element indicates a thematic change in the content. Often it is rendered as a line across the window.

 

The attributes it can take are HTML global attributes and HTML event attributes.

 

It used to support the align, noshade, size and width attributes, but these are no longer supported in HTML 5.

 

To create or access such an element in JavaScript see here. The corresponding HTML DOM object supports standard DOM properties and methods. The default style applicable to this element is shown here.

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Elements


Desktop view | Switch to Mobile