Professional English Prompt for HTML Conversion
"Generate a visually appealing HTML page with a modern, tech-inspired design that integrates text and images seamlessly. Requirements:
- Input: [Insert your Chinese text content here]
- Output: Structured HTML with semantic tags (e.g.,
<article>, <section>, <div>), responsive layout, and dynamic styling.
- Design Elements:
- Layout: Use CSS Grid/Flexbox for a clean, modular structure.
- Styling: Apply subtle gradients, shadows, and hover effects for a tech-forward aesthetic.
- Typography: Use sans-serif fonts (e.g., Arial, Roboto) for readability.
- Image Integration:
- Source images from free, royalty-free platforms (e.g., Pixabay, Unsplash, Pexels).
- Ensure images are contextually relevant to the text.
- Include proper attribution if required by the source.
- Constraints:
- Preserve the core message and structure of the original text.
- Use Chinese language for all text content.
- Avoid altering the meaning or intent of the source material.
- Technical Specifications:
- Validate HTML5 compliance.
- Optimize for cross-browser compatibility.
- Include meta tags for SEO (title, description, keywords).
Example Output Structure:
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8"/>
<title>[Page Title]</title>
<style>
/* Modern CSS styling */
</style>
</head>
<body>
<header>...</header>
<main>
<section class="content-grid">
<div class="text-block">...</div>
<div class="image-container">
<img alt="[Alt Text]" src="[Free Image URL]"/>
</div>
</section>
</main>
</body>
</html>
Note: Replace placeholders with actual content and image URLs. Ensure images comply with licensing terms from sources like Pixabay or Unsplash."
中文提示词
"将中文文字内容转换为带有现代科技感设计的HTML页面,要求图文并茂、美观且结构清晰。具体要求:
- 输入内容:[插入您的中文文字]
- 输出格式:使用语义化HTML标签(如
<article>、<section>),响应式布局,动态样式。
- 设计要素:
- 布局:采用CSS Grid/Flexbox实现模块化排版。
- 样式:应用渐变色、阴影效果及悬停动画,增强科技感。
- 字体:使用无衬线字体(如Arial、Roboto)提升可读性。
- 图片处理:
- 从免费图片平台(如Pixabay、Unsplash、Pexels)获取相关图片。
- 确保图片与文字内容相关联。
- 如需标注来源,需正确注明图片出处。
- 限制条件:
- 保留原文核心信息与结构。
- 所有文本使用中文。
- 不得篡改原文意图。
- 技术规范:
- 遵循HTML5标准。
- 确保跨浏览器兼容性。
- 添加SEO元标签(标题、描述、关键词)。
示例输出结构:
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8"/>
<title>[页面标题]</title>
<style>
/* 现代CSS样式 */
</style>
</head>
<body>
<header>...</header>
<main>
<section class="content-grid">
<div class="text-block">...</div>
<div class="image-container">
<img alt="[图片描述]" src="[免费图片URL]"/>
</div>
</section>
</main>
</body>
</html>
注意:替换占位符为实际内容及图片链接。确保图片遵守来源平台(如Pixabay或Unsplash)的授权条款。"
工具推荐
若需辅助工具,可使用: