I have a box in HTML and I want to add more text to it on a new line using CSS.
I tried creating another HTML tag but that just gets messy and not part of the box. Also tried content: "ex";
but that did nothing.
.Device1 {
position: relative;
left: 8%;
top: 20px;
text-align: center;
}
<div class="Device1" style="width: 400px; height: 100px;border: 1px solid #000000;">Device 1</div>
I want a box that says device 1 on top and under it I would like to add other texts.