Tools, FAQ, Tutorials:
HTML 'hr' Tags/Elements
What Are "hr" Tags/Elements?
✍: FYIcenter.com
A "hr" element is a block level element that can be used directly as
a sub-element in the body element. You can use "hr" elements to specify
horizontal rulers.
Here are basic rules about "hr" elements:
Here is a good example of "hr" elements:
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Horizontal Rulers</title> </head> <body> <p>Knock, knock Who's there? ...</p> <hr/> <p>Why did the turtle cross the road? ...</p> </body> </html>
If you save the above document as rulers.html, and view it with
Internet Explorer, you will see that a horizontal line is displayed as shown below:
Â
⇒HTML Body Tag and Block Level Tags
⇒⇒HTML Tutorials
2017-08-03, 1135👍, 0💬
Popular Posts:
How to read RSS validation errors at w3.org? If your RSS feed has errors, the RSS validator at w3.or...
Where to see resource detailed information of my API Management Service on Azure Portal? Once you ha...
What properties and functions are supported on http.client.HTTPResponse objects? If you get an http....
What Is Azure API Management Service? Azure API Management as a turnkey solution for publishing APIs...
How to use "link" command tool to link objet files? If you have object files previously compiled by ...