# Create a detailed travel itinerary in HTML format

| Field | Value |
| --- | --- |
| Content type | [Writing](https://dopamine-prompt.com/en/type/writing) |
| Models | [GPT](https://dopamine-prompt.com/en/model/gpt) |
| License | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) |
| Source | Submitted by [theo\_p](https://dopamine-prompt.com/en/u/ed016516-cd9b-45ea-8fe3-9a0a576f8798) |
| Last updated | 2026-11-26 |

## Prompt

```
<!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>
```

## Words you can change

The words in brackets in the prompt can be replaced with your own.

- `{startDate}`: Type your own.
- `{endDate}`: Type your own.
- `{budget}`: Type your own.
- `{flightDetails}`: Type your own.
- `{hotelName}`: Type your own.
- `{weatherForecast}`: Type your own.
- `{packingRecommendations}`: Type your own.
- `{attraction1}`: Type your own.
- `{ticketPrice1}`: Type your own.
- `{openTime1}`: Type your own.
- `{restaurant1}`: Type your own.
- `{attraction2}`: Type your own.
- `{ticketPrice2}`: Type your own.
- `{openTime2}`: Type your own.
- `{restaurant2}`: Type your own.
- `{transportDetails}`: Type your own.
- `{returnFlightDetails}`: Type your own.

Web page: <https://dopamine-prompt.com/en/prompts/create-a-detailed-travel-itinerary-in-html-format>
