I am using php with wordpress to create a custom post type (a menu for a restaurant)
The below code makes the dynamic content I inputted in wordpress admin show up:

<?php
$args = array( 'post_type' => 'restaurant_menu' );
$loop = new WP_Query( $args );

while ( $loop->have_posts() ):
$loop->the_post();
?>
<h3><?php the_title(); ?></h3>
<?php the_post_thumbnail('thumbnail'); ?>
<?php the_content(); ?>
<?php
endwhile;
?>

I am wondering if there is a way I can format the output content into a table using another php function or css or whichever way possible. There are 15 posts. I want to make 3 columns, 5 rows.