Create a detailed travel itinerary in HTML format
Generate a comprehensive travel itinerary from Nanjing to Changchun, covering flights, accommodation, daily itineraries, attractions, and dining, presented in HTML.
Example outputs
Prompt template
- Format
- Html Parameterized
- Outputs
- result (image)
<!DOCTYPE html>
<html>
<head>
<title>Travel Itinerary: Nanjing to Changchun</title>
<style>
body { font-family: Arial, sans-serif; }
.itinerary { margin: 20px; }
.day { margin-bottom: 20px; }
.header { font-size: 24px; font-weight: bold; }
.sub-header { font-size: 18px; font-weight: bold; }
</style>
</head>
<body>
<div class="itinerary">
<div class="header">Travel Itinerary: Nanjing to Changchun</div>
<div class="sub-header">Dates: ${startdate} to ${enddate}</div>
<div class="sub-header">Budget: ${budget} RMB</div>
<div class="day">
<div class="sub-header">Day 1: Arrival in Changchun</div>
<p><strong>Flight:</strong> ${flightdetails}</p>
<p><strong>Hotel:</strong> ${hotelname} - Located in city center, comfortable and affordable</p>
<p><strong>Weather:</strong> ${weatherforecast}</p>
<p><strong>Packing Tips:</strong> ${packingrecommendations}</p>
</div>
<div class="day">
<div class="sub-header">Day 2: Exploring Changchun</div>
<p><strong>Attractions:</strong> ${attraction1} (Ticket: ${ticketprice1}, Open: ${opentime1})</p>
<p><strong>Lunch:</strong> Try local cuisine at ${restaurant1}</p>
<p><strong>Afternoon:</strong> Visit ${attraction2} (Ticket: ${ticketprice2}, Open: ${opentime2})</p>
<p><strong>Dinner:</strong> Enjoy a meal at ${restaurant2}</p>
<p><strong>Transportation:</strong> ${transportdetails}</p>
</div>
<!-- Repeat similar blocks for Day 3, Day 4, etc. -->
<div class="day">
<div class="sub-header">Day 5: Departure</div>
<p><strong>Return Flight:</strong> ${returnflightdetails}</p>
</div>
</div>
</body>
</html>
Replace the ${…} placeholders with your values
before using this prompt. See parameters
and defaults below
Parameters
Replace each placeholder with your own value, or use its default when one is provided
${startdate}
startdate
Required
${enddate}
enddate
Required
${budget}
budget
Required
${flightdetails}
flightdetails
Required
${hotelname}
hotelname
Required
${weatherforecast}
weatherforecast
Required
${packingrecommendations}
packingrecommendations
Required
${attraction1}
attraction1
Required
${ticketprice1}
ticketprice1
Required
${opentime1}
opentime1
Required
${restaurant1}
restaurant1
Required
${attraction2}
attraction2
Required
${ticketprice2}
ticketprice2
Required
${opentime2}
opentime2
Required
${restaurant2}
restaurant2
Required
${transportdetails}
transportdetails
Required
${returnflightdetails}
returnflightdetails
Required
What you'll create
A styled HTML itinerary organizes the trip by day and includes editable dates, budget, flights, accommodation and packing information.
Frequently asked questions
What format is the itinerary designed for?
It is an HTML page with CSS styling and separate header and daily itinerary sections.
Comments
Tried this prompt? Share what you made, compare results, or ask a question