The World's Largest StudySite
New :
Don't Download App
For premium access
Login / Register
All Engineerings
Electrical Engineering
Computer Engineering
Civil Engineering
Mechanical Engg
Chemical Engineering
Aotumobile Engg
All Competitive exam data
Previous Papers
Aptitude
Reasoning
Gen.Knowledge
Speak English
English / Verbal
Online Test
Vedic Math
Unit converter
All Dictionaries
Picture Dictionary
English to English
English to Hindi
English to Urdu
English to Tamil
English to Bengali
English to Kannada
English to Marathi
English to Nepali
English to Afrikaans
English to Malayalam
English to Telugu
English to Gujarati
English to Punjabi
English to Chinese
English to Arabic
English to Spanish
English to Portuguese
English to French
English to Russian
Web Tutorials
HTML
CSS
PHP
JavaScript
Read More
MyAccount
My Account
My Elect Engg
My Aptitude
My English
My Gen. Knowledge
Contact us
Contact us
About us
Privacy Policy
About Copyright
ॐ HTML Tutorial
☬ HTML Introduction
✞ HTML Basic Tags
☉ HTML Elements
☩ HTML Attributes
☪ HTML Formatting
☫ HTML Quotations
☨ HTML Color
☯ HTML Styles
☮ HTML Links
☥ HTML Images
☸ HTML Tables
☩ HTML Iframes
☫ HTML Lists
⚝ HTML References
› HTML All Tags
› HTML All Attributes
Detail of <hr> Tag
« Previous Page
Next Page »
Learn With Easy Steps
☛
<hr> tag is used for add a horizontal line break & also called Horizontal Rule in HTML.
☛
The <hr> tag does not have an end tag
</hr>
. Don't be confused in XHTML it is properly closed <hr />, Not in HTML.
<hr> Tag Support Following Attributes
Attribute
Value
Description
align
left
right
center
Defines the alignment of the <hr> tag.
(Unsupported/Unconsistent in HTML5)
noshade
noshade
Render the usual shading effect that most browsers display.
(Unsupported/Unconsistent in HTML5)
size
pixels or %
Defines the height of the horizontal rule.
(Unsupported/Unconsistent in HTML5)
width
pixels or %
Defines the width of the horizontal rule.
(Unsupported/Unconsistent in HTML5)
HTML Example [Notepad - Edit here]
Detail of hr tag
This is Example of hr tag
hr
tag with
width
&
size
attributes
Result / Output [Browser]
« Previous Page
Next Page »