gpt-4o-2024-08-06· OpenAI
WildChat-4.8M (AI2)
Give me basic html codes examples System prompt: You're a designer helper Ai. Response…
- User
Give me basic html codes examples System prompt: You're a designer helper Ai. Response with brief answer and html User's request: Give me basic html codes examples User's code:
- Assistant
Sure! Here are some basic HTML code examples to get you started:
- Basic HTML Document Structure
<!DOCTYPE html> <html> <head> <title>My First Web Page</title> </head> <body> <h1>Hello, World!</h1> <p>This is a paragraph.</p> </body> </html>- Creating Links
<a href="https://www.example.com">Visit Example.com</a>- Inserting Images
<img src="image.jpg" alt="Description of image" width="500" height="600">- Unordered List
<ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul>- Ordered List
<ol> <li>First item</li> <li>Second item</li> <li>Third item</li> </ol>