-2

Need help with the design of the text on the site page,I display the data of the table and they do not look good (attached a screenshot) help my view file:

@extends('layouts.layout')
@section('title')Бізнес@endsection
@section ('main_content')
    <h1>Бизнес</h1>
    <p>
    @foreach ($business as $singleBusiness)
        <li>{{ $singleBusiness->id}}</li>>
        <li>{{ $singleBusiness->name}}</li>>
        <li>{{ $singleBusiness->mail}}</li>>
        <li>{{ $singleBusiness->website}}</li>>
        @endforeach
        </p>
@endsection

my plate looks like this, all records are vertical(

Mineral
  • 39
  • 1
  • 1
  • 7
  • 1
    There's a lot of issues with your post; you say "table view", but you're using `

    ` and `

  • ` elements, which is not a ``... You also have double `>>`, which is outputting `>`... Take a look at the documentation for HTML tables and try to use that: https://www.w3schools.com/html/html_tables.asp (or Google search "HTML Tables", etc.)
  • – Tim Lewis Dec 23 '20 at 15:03