0

<hr /> <hr> difference

hello, what difference <hr /> <hr> <hr/> or anyway same?

30th Jun 2018, 11:04 PM
vaxo chachua
vaxo chachua - avatar
22 ответов
+ 3
vaxo chachua The tag doesn't require an end tag, and the slash / is optional in HTML5. You can type it as <hr> just fine.
1st Jul 2018, 10:32 PM
Hoàng Nguyễn Văn
Hoàng Nguyễn Văn - avatar
+ 4
Edit: Sorry, a typo in the most important part =,= just edited Hey y'all, don't be overdramatic, kk? <hr /> is a self-closing tag. This is a shortened form of <hr> </hr> and is only valid for void content (which is, no content inside) elements. You can find a list of them on w3schools or here: http://xahlee.info/js/html5_non-closing_tag.html
1st Jul 2018, 12:51 AM
Hoàng Nguyễn Văn
Hoàng Nguyễn Văn - avatar
+ 4
vaxo chachua Sorry for the misunderstanding
1st Jul 2018, 7:50 PM
Agent
Agent - avatar
+ 2
there isn't difference only for comfort
30th Jun 2018, 11:07 PM
Naty
+ 2
hey guys I think that's enough please
30th Jun 2018, 11:29 PM
Naty
+ 2
For the last time vaxo chachua The tags <hr /> <hr> and <hr/> are not valid closing tags The opening tag is <hr> The closing tag is </hr> Them three you mentioned are not the same as they do not work as a closing tag Please remember ‘/‘ comes first then the tag name Naty only copied their last response to your previous deleted post as this one is very similar Stop complaining please Vaxo Thank you
1st Jul 2018, 12:51 AM
Agent
Agent - avatar
+ 2
thanks nguyen, if i don't close this tag it's still working and can continue writing.. then what matter i will close or not? i can do with all of them without closing
1st Jul 2018, 3:44 PM
vaxo chachua
vaxo chachua - avatar
+ 1
vaxo chachua Please stop posting very similar questions and then deleating them Your answer to all of your questions you have deleated are the same: In an end tag you use / before the name such as </hr> With no spaces Please read this https://www.sololearn.com/discuss/1316935/?ref=app
30th Jun 2018, 11:13 PM
Agent
Agent - avatar
+ 1
So sad I can’t refer to you in the same way. Why don’t you learn proper English first? All of the answers to your questions can be easily found online in seconds anyway.
30th Jun 2018, 11:26 PM
Armin
+ 1
vaxo chachua As previously mentioned the end tag looks like this </TagName> so for your example it would be </hr> Not any of the others you mentioned However the begining tag looks like this <hr>
30th Jun 2018, 11:28 PM
Agent
Agent - avatar
+ 1
vaxo chachua Please read the answers carefully Understand what is being said, Thank you
30th Jun 2018, 11:30 PM
Agent
Agent - avatar
+ 1
agent, i know what is closing tag and how i must open and close tags.
1st Jul 2018, 3:47 PM
vaxo chachua
vaxo chachua - avatar
+ 1
agent, it's ok. just try understand begginer thinks.. nguyen, yes that what i asked, thanks. so if i use just <hr> without any additional thinks it woudn't be mistake to any languages and browsers.
1st Jul 2018, 10:49 PM
vaxo chachua
vaxo chachua - avatar
0
Jesus Christ... <facepalm>
30th Jun 2018, 11:05 PM
Armin
0
agent, first question was a mistake thats why i deleted.. this tag is horizontal line, so in lesson is that "<hr /> and i am asking is there any difference between <hr /> this <hr> this and <hr/> this. is this question too hard for understand?
30th Jun 2018, 11:25 PM
vaxo chachua
vaxo chachua - avatar
0
There is no such thing as <hr/>
30th Jun 2018, 11:30 PM
Armin
0
i asked difference between 3same tag, but no one understands currectly. asked what difference was. browser perception,all of them same and no any difference or something else(not visual side).. when begginer asking something please don't look like that "look new penguin came let's fun" sorry for bad english ❤
30th Jun 2018, 11:41 PM
vaxo chachua
vaxo chachua - avatar
0
people, who have mind. please read all this what i asked and what they saying :
1st Jul 2018, 12:46 AM
vaxo chachua
vaxo chachua - avatar
- 1
no any browser perception or something like that yes? just writing wich one you want?
30th Jun 2018, 11:11 PM
vaxo chachua
vaxo chachua - avatar
- 1
arminas, i dont asked what visual difference is in there. understand what asked and then say facepalms genius
30th Jun 2018, 11:14 PM
vaxo chachua
vaxo chachua - avatar