answersLogoWhite

0

Does a horizontal rule tag need a close tag?

Updated: 1/19/2020
User Avatar

Wiki User

10y ago

Best Answer

No the HR tag does not need a close tag.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Does a horizontal rule tag need a close tag?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is tag used to create horizontal separators?

Horizontal separators are created by the HR tag. It creates a horizontal line after the element.


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:


What is HR tag in HTML and attributes of HRtag?

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:


Can a HR tag add a horizontal line in a webpage?

Yes


How do you get a line across a page using HTML?

The simplest way is by using a horizontal rule. That element looks like this:In XHTML, that tag will follow the empty tag pattern, so instead. In HTML 4 and HTML 5, the above code is perfectly correct.


What is horizontal tag in HTML?

The tag creates a Horizontal line, 100% the size of the cell or page. You can change the properties of the line. To change the width by percentage add the width command (for 50 percent) or in pixels (for 50 pixels long) Change the height: using the size= command, for example would be 5 pixels in height or thickness. You could also use the align= "" command; left center, and right.and to change the color use the color= command (hr color="#FF000"> The following Horizontal line tag will leave you with a red line 5 pixels thick (height) 80 pixels long centered:


What are 10 basic HTML tags?

My titleBold textItalicized textUnderlined textText between two horizontal barsStrike-through textLarge header 1 textSmall header 6 textCustom text font and sizeAbove is a sample HTML document.The title tag sets the text displayed on the top browser bar.The b tag sets text to bold.The br tag creates a new line and does not need a close tag.The i tag italicizes text.The u tag underlines text.The hr tag creates a horizontal bar.The s tag creates strike-through text.The h1 tag creates large header 1 text.The h6 tag creates small header 6 text.The font tag allows one to create text of a custom font and size.


Do you need to have an end tag for a list tag?

Lists started with an <ol> or <ul> tag must use the closing tags </ol> or </ul>, respectively. If you do not close the list with the appropriate close tag, it should automatically be closed when the parent element (usually <body>) is closed; this is considered incorrect and invalid, but browsers will generally render it this way anyway.


Can you tag a player with a ball in dodgeball?

From research there is no rule stating that you can't tag a player with a ball and they will be out. Although... there is a rule stating if you cross your boundary lines you are out. If you can tag a player without crossing the line they should be out.


Close the door qustion tag?

will you


Which HTML tag does not use as an end tag?

You have to close everything with another tag such as openingtag:<marquee> closingtag:</marquee>.


What tag you used for background color OLIVE?

body bgcolor="#E6E6FA"and close the entire tag in < and >.