如何以简单的联系表格显示粗体文本?

I would like to know how to bold face certain text in a contact form. I am sort of new at this. I would like categorize the output of the form. For example:

Contact Information: (in bold) Name:
Email: . . . Event / Trip Details: (in bold) Num of passengers: . . .

So far I have only "Contact information:" and "Event / Trip Details" below. I am not sure what to do to bold face them.

    $formcontent="Contact Information:  
 
Name: $name 
 
Email: $email 
    
 
Phone: $phone 
 
Company / Group Name: $cmpny 
 
Street Name: 
    $street 
 
City, State, Zip Code: $city_st_zip 
 
Respond Via:  
    $respond 
 
Event / Trip Details: 
 
Number of Passengers:  
    $num_passengers 
 
Trip Type:  $trip_type 
 
Number of Pickups:  
    $num_pickups 
 
Bus Size:  $bus_size 
 
Name:  $pickup_name 
 
    
Street Name:  $pickup_street_name 
 
City, State, Zip Code:  
    $pickup_city_st_zip 
 
Depart Date:  $depart_date 
 
Depart Time:  
    $depart_time 
 
Name:  $dropoff_name 
 
Street Name:  
    $dropoff_street_name 
 
City, State, Zip Code:  $dropoff_city_st_zip 
    
 
Return Date:  $dropoff_date 
 
Return Time:  $dropoff_time 
 
    
Itinerary / Special Instructions / Additional Info:  $spec_instr 
 
    
Airport Meet & Greet:  $meet_greet 
 
ADA Accessible Coach:  $ada 
 
    
Extra Storage:  $extra 
 
How did you find us?  $find_us";
    $recipient = "jldouglas58@gmail.com";
    $subject = "Request for a Quote";
    $mailheader = "From: $email 
";
    mail($recipient, $subject, $formcontent, $mailheader) or die("Error!");
    header( 'Location: http://www.distancebrothers.com/quote-
    confirmation.html') ;?>

First of all the email header shoud state that the mail is in HTML format.

$headers .= "Content-Type: text/html; charset=ISO-8859-1
";

Then you format your message in HTML eg:

$formcontent="<html> <body>Contact Information:  
 
Name: <strong>$name </strong>
 
Email: $email 
    
 
Phone: $phone 
 
Company / Group Name: $cmpny 
 
Street Name: 
    $street 
 
City, State, Zip Code: $city_st_zip 
 
Respond Via:  
    $respond 
 
Event / Trip Details: 
 
Number of Passengers:  
    $num_passengers 
 
Trip Type:  $trip_type 
 
Number of Pickups:  
    $num_pickups 
 
Bus Size:  $bus_size 
 
Name:  $pickup_name 
 
    
Street Name:  $pickup_street_name 
 
City, State, Zip Code:  
    $pickup_city_st_zip 
 
Depart Date:  $depart_date 
 
Depart Time:  
    $depart_time 
 
Name:  $dropoff_name 
 
Street Name:  
    $dropoff_street_name 
 
City, State, Zip Code:  $dropoff_city_st_zip 
    
 
Return Date:  $dropoff_date 
 
Return Time:  $dropoff_time 
 
    
Itinerary / Special Instructions / Additional Info:  $spec_instr 
 
    
Airport Meet & Greet:  $meet_greet 
 
ADA Accessible Coach:  $ada 
 
    
Extra Storage:  $extra 
 
How did you find us?  $find_us </body> </html>";

As I can understand you would like to print that ugly text as a HTML code. Use <strong> tag to make text bold:

<strong>Name:</strong>
<strong> Contact Information:</strong> Name:
<strong> Email: . . . Event / Trip Details:</strong>  Num of passengers: . .

Content must be HTML. You can find free email templates in this website to make it appereance better;

https://colorlib.com/wp/responsive-html-email-templates/

And your content is a variable, it means your variables(like name,email) can not be readable for PHP. You need to parse the content variable.