Switch to full style
HTML code examples
Post a reply

draw a horizontal line in your html page

Wed Feb 15, 2012 8:43 pm

Following example show you how to create a horizontal line in your web page using HR html tag.
Code:
<html>
<
head>
<
title>hr element example</title>
</
head>
<
body>
     <
p>
      
Hr tag is used to draw a horizontal line in your html pageNotice the line
       below
.
     </
p>
     <
hr>
     <
p>
       
You can use the noshade attribute to define a line with no shadeNotice 
       the line below
.
     </
p>
     <
hr  color="red">
      <
p>
       
You can use the color attribute to define the line colorNotice the line 
       below
.
      </
p>
      
     <
hr noshade >
</
body>
</
html>
    
 




Post a reply
  Related Posts  to : draw a horizontal line in your html page
 Draw Oval,Arc,Polygon,string,Line,Round and 3D Rectangle     -  
 start a new line in html     -  
 add pagination to html page using JQuery     -  
 keywords and description of HTML page using meta tag     -  
 Reading a File Line by Line in php     -  
 Image Scroller-scrollbar-LINE_UP,LINE_DOWN-PAGE-UP-PAGE-DOWN     -  
 Line Translation 2D     -  
 Line Rotation 2D     -  
 Line Styles in java     -  
 DDA Line Drawing Algorithm     -  

Topic Tags

HTML Paragraph