+ 12
What is the difference between </br> and <br/>in html
12 ответов
+ 13
</br> doesn't give any sense!
It has no meaning!
<br> is a self closing tag. So,
</br> is not necessary! ☺
+ 14
No difference!
Better if you use <br/> because, <br> is error in XHTML!
+ 6
I know what you mean but br tag dont have closing tag like its optional bro so you have to just use one tag means <br> this tag but some versions like XHTML supports <br /> so thats why it is a good practise to use / in your codes so therefore we just use this symbol to /> if you give it first like </br> this your opening tag will be hidden there is only closing tag you see there so for browser an opening tag is more important therefore we use <br> <br /> tag to show as an opening tag because we have optional closing tag in html or XHTML..... :)
+ 6
<br> html
<br/> XHTML or html
Used always <br/>
+ 5
<br> no I'm asking </br> and <br/>
+ 5
OK thanks bro😊😊
+ 3
</br> is not a real tag...
<br/> is a real tag...
The <br> tag inserts a single line break.
https://www.w3schools.com/tags/tag_br.asp
+ 3
</br> doesn't make sense.
+ 3
In earlier versions of HTML, this tag <br/> could be read , but this entry is outdated!<br/> - this is a mistake that will be ignored by HTML5
There is a <br /> tag in the XHTML specification.
+ 2
<br> is a normal HTML tag which means break while <br/> is also break while coding in XHTML
+ 1
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- Responsive -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
</body>
</html>
- 3
You can use both <br> | <br/> but I would recommand to use <br>