About Prompt
- Prompt Type – Dynamic
- Prompt Platform – ChatGPT, Grok, Deepseek, Gemini, Copilot, Midjourney, Meta AI and more
- Niche – Specific AI Prompts
- Language – English
- Category – E-commerce
- Prompt Title – AI Prompt for Generating Product Comparison Tables Automatically
Prompt Details
This prompt generates HTML code for a product comparison table suitable for e-commerce websites. It dynamically adapts to various product categories and features, ensuring comprehensive and informative comparisons.
**Prompt Structure:**
“`
## Generate an HTML product comparison table for the following:
**1. Product Category:** [Product Category Name – e.g., “Wireless Headphones”, “Gaming Laptops”, “Hiking Backpacks”]
**2. Products to Compare:** [List of Products with details separated by semicolons. Format: “Product Name|Product URL|Image URL; Product Name|Product URL|Image URL; …”] (Minimum 2 products)
**3. Features to Compare:** [List of features separated by commas – e.g., “Price, Battery Life, Noise Cancellation, Weight, Water Resistance”]
**4. Table Style:** [Specify preferred table style – e.g., “Modern, minimalist”, “Classic, clean”, “Bold, colorful”, “Simple and responsive”]
**5. Call to Action (CTA) Button Text:** [Specify text for product links/buttons – e.g., “Buy Now”, “Learn More”, “See Details”]
**6. Additional Instructions (Optional):** [Provide any specific requirements, e.g., “Highlight the best value product in each row”, “Include product ratings”, “Use specific CSS classes for styling”, “Limit the table width to 800px”]
**Output Format:** HTML code for the comparison table, ready to be embedded into a webpage. Include necessary CSS for styling within `