I know br tags are used for new lines of texts. But i tried it between elements i.e. different boxes, and it seems to work. Is it ok to use it like this? Would browser read it well?
Here’s my HTML code:
<!doctype html>
<html>
<head>
<title>Something</title>
<link rel="stylesheet" type="text/css" href="Index.css">
</head>
<body>
<div class="wrapper">
<div class="service">
<h2>Service 1</h2>
<p>this is service 1</p>
</div>
<div class="service">
<h2>Servie 1</h2>
<p>this is service 2</p>
</div>
<div class="service">
<h2>Service 1</h2>
<p>this is service 3</p>
</div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div class="container">
<div class="service">
<h2>Service 1</h2>
<p>this is service 1</p>
</div>
<div class="service">
<h2>Service 2</h2>
<p>this is service 2</p>
</div>
<div class="service">
<h2>Service 3</h2>
<p>this is service 3</p>
</div>
</div>
</body>
</html>
This is how it looks like in a pic:
As you can see i moved nested container with brownish background color down bellow the text above it (services).