0

hllo guys i want to text in the next line ,how can we do that?

<body><div> //this is my code <h1 id="border"> DIFFRENT TYPES OF PHONE </h1> <TAble> <th>COMPANIES NAMES</th><b></b> <td>APPLE</td> <td>SAMSUNG</td> <td>MOTOROLA</td> </TAble> </div> </body> COMPANIES NAMES APPLE SAMSUNG MOTOROLA //this is the output ,I want each name in the next line not in the same line

11th Aug 2022, 1:02 AM
Mani Singh
Mani Singh - avatar
4 Antworten
0
Have you learned the HTML Basics? https://www.sololearn.com/Course/HTML/?ref=app
11th Aug 2022, 1:09 AM
Chris Coder
Chris Coder - avatar
0
I did this before but this time I can't able do that I forgot how I did that before
11th Aug 2022, 1:12 AM
Mani Singh
Mani Singh - avatar
0
Tables are defined by using the <table> tag. Tables are divided into table rows with the <tr> tag. Table rows are divided into table columns (table data) with the <td> tag.
11th Aug 2022, 1:15 AM
Chris Coder
Chris Coder - avatar
0
Oh I missed <tr>
11th Aug 2022, 1:18 AM
Mani Singh
Mani Singh - avatar