answersLogoWhite

0


Best Answer

The hr tag in HTML is the "Horizontal Rule" tag. Essentially, the tag creates a horizontal line. This line was often used in print to separate chapters and the like.

You can style the tag in various ways, giving it color and borders, width and height. By default, the tag displays something like this:

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

The HTML <hr/> tag shows a break in themes. Some people call it a Hard Rule and use it to insert a line on their webpage. HTML 4 tags are: align, noshade, size, and width. HTML 5 does not support these attributes, but requires style to control the <hr/> tag.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is HR tag in HTML and attributes of HRtag?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the HTML tags in hr abap?

HR tag places a break between the page in HTML. It is however not supported in the modern versions.


Which is not a pair tag in HTML?

&lt;br /&gt; &lt;meta /&gt; &lt;link /&gt; &lt;hr /&gt; Are three of these.


Explain Hr and Img tag in HTML tags?

The hr tag is the horizontal rule tag. It puts a line across the page.The img tag displays an image in a page. If you wanted to display an image called photo.jpg, you could do it like this:


Why do you need a BR tag in HTML when you already have an HR tag?

Because they do different things. A BR tag creates a new line break, putting the next thing you do onto a new line. The HR tag draws an actual line across the screen, something the BR tag does not do.


What attribute is used to specify the thickness of a hr tag?

Use the size attribute to specify the height (or thickness) of the rule.For example:Note: Since HTML 4.01, the align, noshade, size and width attributes are deprecated. Use style properties instead.


What is the general syntax for two sided HTML tags?

For two-sided HTML tags, the general syntax is the tag name, any attributes, the tags content, and then the closing tag. Like so:Tag ContentSome attributes are optional. Others are required. It depends entirely on which tag you're using.


Which HTML code does not require a closing tag?

There are many of them. The convention now is to add a front slash into the tag, after the tagname and any attributes that might be in them. Examples include: &lt;hr/&gt; &lt;br/&gt; &lt;img src="picture.jpg" /&gt; &lt;input type="text" /&gt; &lt;button /&gt;


Which symbol is used for a closing tag in html?

The front slash is added to a tag, before the tagname, to indicate that it is a closing tag: &lt;html&gt; is an opening tag. &lt;/html&gt; is a closing tag. &lt;title&gt; is an opening tag. &lt;/title&gt; is a closing tag.


What is definition of singular tag?

There doesn't seem to be an official definition but a singular tag is a tag that is not used as a pair of tags. XHTML validating examples of singular tags are: &lt;br /&gt; &lt;hr /&gt; &lt;img /&gt; Note that the &lt;img /&gt; tag will require additional attributes to display an image.


Which tag is used to divide the webpages into multiple parts?

to divide the html, use &lt;div&gt; to divide the page, i think you use &lt;hr&gt;... right?


What is a tag when using Html?

A Tag in HTML can be compared to a keyword in any programming language. It instructs the browser about how the subsequent pieces of text must be parsed and displayed. A Tag in HTML is enclosed within the &lt;&gt; symbols. Any text between the &lt;HTML&gt; and &lt;/HTML&gt; tags is considered HTML content and the browser will handle it the way HTML code is to be handled. There are numerous tags available in HTML. Some are * &lt;BR&gt; - Line Break * &lt;HR&gt; - Horizontal Line * &lt;TABLE&gt; - To display a table (Like a spreadsheet with heading &amp; cells) * &lt;FORM&gt; - To display UI forms * etc...


What attributes in HTML let you specify the thickness and width of a horizontal rule?

In HTML 4.01, the "size" attribute specifies thickness and the "width" attribute specifies width, as measured in pixels. For example: &lt;hr size="20" width="800" /&gt; However, these attributes are deprecated in XHTML Strict and HTML 5--you should use CSS instead.