Generate [AI Prompt Library], [HTML/CSS Code Generation].
- User
Generate [AI Prompt Library], [HTML/CSS Code Generation].
- Assistant
Sure, here's a simple AI prompt library designed for HTML/CSS code generation. This can serve as a starting point to help generate various HTML/CSS code snippets based on the given prompts. Each prompt is designed to be clear and specific so that an AI model can understand and generate the appropriate HTML/CSS code.
AI Prompt Library for HTML/CSS Code Generation
Prompts for HTML:
-
Basic Web Page Structure:
- "Generate a basic HTML5 web page structure with head and body sections."
-
Header and Footer:
- "Create an HTML structure with a header and footer section."
-
Navigation Bar:
- "Generate HTML code for a horizontal navigation bar with three links: Home, About, Contact."
-
Form with Input Fields:
- "Create an HTML form with text input for name, email, and a submit button."
-
Image with Caption:
- "Provide HTML to display an image with a caption below it."
-
Table with Data:
- "Generate an HTML table with three columns: Name, Age, City, and provide sample data."
-
Responsive Layout:
- "Create a basic responsive HTML layout with a header, main content area, and a footer."
-
List Items:
- "Generate an unordered list with three items: Apple, Banana, Cherry."
-
Anchor Links:
- "Create an HTML snippet with three anchor links pointing to section1, section2, and section3."
-
Article Section:
- "Generate an HTML structure for an article with a title, author, and paragraph."
Prompts for CSS:
-
Basic Formatting:
- "Provide CSS to set the background color of the body to light gray and font color to dark blue."
-
Center Align Content:
- "Generate CSS to center align a div element both vertically and horizontally."
-
Responsive Image:
- "Provide CSS for making an image responsive."
-
- User
- “Provide CSS code for a simple grid layout with three columns.”
- Assistant