Hosting Solutions
mobile_logo Table of Contents


The <hr> thematic break element is used to designate a horizontal rule(line) for specifying a change in topic or section. It lets the viewer know that a new section has arrived. This element should be styled completely using CSS if you want to change the default line you get.

Code Example

<style> hr{ margin: 50px 0px; border:1px solid orange; } </style> <p>... valuable information in the next chapter.</p> <hr> <h3>HTML5 Websocket</h3> <p>Websocket is designed to allow authors to...</p> open in code editor


globals - the global attributes common to all elements possible values: see global attribute list

Official Documentation



aabbraddressareaasidearticleaudiobbasebdobdiblockquotebodybrbuttoncanvascaptioncitecodecolcolgroupdatadatalistdddeldetailsdfndialogdivdldtemembedfieldsetfigcaptionfigurefooterformh1 h2 h3 h4 h5 h6headheaderhrhtmliiframeimginputinskbdkeygenlabellegendlilinkmainmapmarkmetameternavnoscriptobjectoloptgroupoptionoutputpparampreprogressqrb rp rt rtc rubyssampscriptsectionselectsmallsourcespanstrongstylesub supsummarytabletbodytdtemplatetextareatfootththeadtimetitletrtrackuulvarvideowbr