22 AnswersNew Answer
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.
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
vaxo chachua Sorry for the misunderstanding
there isn't difference only for comfort
hey guys I think that's enough please
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
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
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
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.
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>
vaxo chachua Please read the answers carefully Understand what is being said, Thank you
agent, i know what is closing tag and how i must open and close tags.
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.
Jesus Christ... <facepalm>
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?
There is no such thing as <hr/>
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 ❤
people, who have mind. please read all this what i asked and what they saying :
no any browser perception or something like that yes? just writing wich one you want?
arminas, i dont asked what visual difference is in there. understand what asked and then say facepalms genius