text
stringlengths
79
2.28k
<|user|> Use PHP to create a login page which contains an input field to accept the username and a submit button. </s> <|assistant|> <!DOCTYPE html> <html> <body> <form action="action_login.php" method="post"> Username: <input type="text" name="username"> <input type="submit" value="Submit"> </form> </body> </ht...
<|user|> Decompile the following HTML code <h1>Hello World</h1></s> <|assistant|> <html> <head> </head> <body> <h1>Hello World</h1> </body> </html></s>
<|user|> Create a basic HTML page using HTML tags. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>My page</title> </head> <body> <h1>This is my page</h1> </body> </html></s>
<|user|> Using HTML and CSS, create a basic website with three sections. </s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <title>My Website</title> <style> .section{ width: 75%; padding: 25px; margin: auto; } #section1, #section2, #section3...
<|user|> Create a JavaScript program to provide real-time search results for a given list of elements. list = [“Apple”, “Banana”, “Orange”]</s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <title>Real-time Search Results</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"><...
<|user|> Create a web page with two input boxes to calculate the total cost of a product after sales tax. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Price and Tax Calculations</title> <script> function calculate(){ let price = document.getElementById('price')...
<|user|> Write an HTML page containing a heading with the text "Welcome". </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Welcome</title> </head> <body> <h1>Welcome</h1> </body> </html></s>
<|user|> Edit this HTML code to make it compliant with the HTML5 standard. <html> <head> <title>My HTML Page</title> </head> <body> <p>My HTML Page</p> </body> </html></s> <|assistant|> <!DOCTYPE html> <html> <head> <title>My HTML Page</title> </head> <body> <p>My HTML Page</p> </body> </html></s>
<|user|> Create a basic HTML page with a heading and a paragraph of text. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>My HTML Page</title> </head> <body> <h1>My HTML Page</h1> <p>This is a basic HTML page with a heading and a paragraph of text.</p> </body> </html></s>
<|user|> Generate a valid HTML markup from the given JSON data. { "name": "Sample Name", "city": "New Delhi", "state": "Delhi" }</s> <|assistant|> <html> <head> <title>Sample Information</title> </head> <body> <h2>Sample Information</h2> <ul> <li>Name: Sample Name</li> <li>City: New ...
<|user|> Create a website for the company ACME with all the following pages: Home, About Us, Contact Us, FAQ and Privacy Policy. </s> <|assistant|> <html> <head> <title>ACME</title> </head> <body> <header> <h1>ACME</h1> </header> <nav> <ul> <li><a href="index.html">Home</a><...
<|user|> Create a web page with two text fields for username and password. </s> <|assistant|> <html> <head> <title>Login</title> </head> <body> <h1>Login</h1> <form action=""> <label for="username">Username:</label> <input type="text" name="username" id="username" /> <label for="pass...
<|user|> Create a HTML page that displays the top 5 countries in the world by population. Country Population (Millions) China 1400 India 1351 United 329 Indonesia 265 Brazil 212</s> <|assistant|> <!DOCTYPE html> <html> <head> <title>World's Top 5 Countries By Population</title> <style> table {...
<|user|> Edit the given HTML code so that the header of the web page is centered. <html> <head> <title>Centering a header</title> </head> <body> <h1>This header is not centered</h1> </body> </html></s> <|assistant|> <html> <head> <title>Centering a header</title> </head> <body> ...
<|user|> Generate a complete HTML document using the given parameters. title: GPT Demo heading: Welcome to the GPT Demo body: This is a demo of GPT on coding tasks.</s> <|assistant|> <!DOCTYPE html> <html> <head> <title>GPT Demo</title> </head> <body> <h1>Welcome to the GPT Demo</h1> <p>This is a demo of GP...
<|user|> Create an HTML page with a table containing 2 columns. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Table Design</title> </head> <body> <table> <tr> <th>Column 1</th> <th>Column 2</th> </tr> </table> </body> </html></s>
<|user|> Generate a HTML page displaying the following information Company name: Acme Corp Company motto: “We make the impossible possible!”</s> <|assistant|> <html> <head> <title>Acme Corp</title> </head> <body> <h1>Acme Corp</h1> <p>We make the impossible possible!</p> </body> </html></s>
<|user|> Write an HTML page to calculate the area of a circle given its radius. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Area of Circle</title> <script> // get radius from user var radius = prompt("Enter the radius of Circle"); // calculate area ...
<|user|> Create a HTML page to show a result of the sum of two numbers. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Sum of Two Numbers</title> <script> // get numbers from user var a = prompt("Enter the first number"); var b = prompt("Enter the second ...
<|user|> Create an HTML page with 4 sections containing text. </s> <|assistant|> <html> <body> <h1>Heading1</h1> <p>Paragraph1</p> <h2>Heading2</h2> <p>Paragraph2</p> <h3>Heading3</h3> <p>Paragraph3</p> <h4>Heading4</h4> <p>Paragraph4</p> </body> </html></s>
<|user|> Create a HTML page that includes a table with 3 columns and 3 rows. </s> <|assistant|> <html> <head> <title>Table Example</title> </head> <body> <table> <tr> <th>Column 1 Header</th> <th>Column 2 Header</th> <th>Column 3 Header</th> </tr> <tr> <td...
<|user|> Generate a web page with a navigation bar on it. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Navbar Page</title> <style> .navbar { width: 100%; background-color: #555; } .navbar a { float: left; padding: 12px; color: white; ...
<|user|> Edit a given HTML page and add a new link. <html> <head> <title>My webpage</title> </head> <body> Welcome to my webpage! </body> </html></s> <|assistant|> <html> <head> <title>My webpage</title> </head> <body> Welcome to my webpage! <a href="https://example.com...
<|user|> Build a website with HTML and CSS containing three headings and two paragraphs. </s> <|assistant|> <html> <head> <style> h1 { color: red; font-size: 32px; } h2 { color: blue; font-size: 24px; } h3 { color: green; font-size: 16p...
<|user|> Design an HTML page that prints out "Hello, World!" in two columns. </s> <|assistant|> <html> <head> <title>Hello, World!</title> </head> <body> <div style="display: flex;"><div>Hello,</div><div> World!</div></div> </body> </html></s>
<|user|> How to write an HTML page that displays the number from 1 to 10? </s> <|assistant|> <html> <body> <div> <h2>Number from 1 to 10</h2> <ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> <li>6</li> <li>7</li> <li>8</li> ...
<|user|> Create a simple HTML webpage without using any external stylesheets. </s> <|assistant|> <html> <head> <title>My Web Page</title> </head> <body> <h1>Welcome to My Web Page</h1> <p>This is my first web page.</p> </body> </html></s>
<|user|> Create a new HTML page with two buttons. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Two Buttons</title> </head> <body> <button>Button 1</button> <button>Button 2</button> </body> </html></s>
<|user|> Create a web page with a CSS style to hide all paragraphs in the HTML body. </s> <|assistant|> <html> <head> <style> p { display: none; } </style> </head> <body> <p>This paragraph is hidden.</p> <p>This paragraph is also hidden.</p> </body> </html></s>
<|user|> Create an HTML page containing a list of all US states. </s> <|assistant|> <html> <head> <title> US States </title> </head> <body> <ul> <li>Alabama</li> <li>Alaska</li> <li>Arizona</li> <li>Arkansas</li> <li>California</li> <li>Colorado</li> <li>Connecticut</li> <l...
<|user|> Develop a web application that converts text to speech. </s> <|assistant|> <html> <head> <title>Text to Speech</title> <script src="https://code.responsivevoice.org/responsivevoice.js?key=KEY_HERE"></script> </head> <body> <textarea id="text-input" rows="10" cols="50"></textarea><br> <button type="butt...
<|user|> Create a dynamic web page using HTML and CSS to display a list of books. </s> <|assistant|> <html> <head> <style> ul { list-style-type: none; padding: 0; margin: 0; } li { font-family: sans-serif; font-size: 20px; padding: 10px; ...
<|user|> Using HTML and CSS, design a landing page for a blog website. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>My Blog</title> <style> .container{ width:850px; height: 850px; background-color: #F5F5FF; margin:auto; padding: 20px; box-shadow: 0px 0px 7px 1px rgba(0,0,0,0.3);...
<|user|> Create an HTML page that displays an alert when a page is visited. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Alert Message Box</title> <script> window.onload = function() { alert("Welcome to my webpage!"); } </script> </head> <body> </body> </html></s>
<|user|> Create a HTML page with a fixed header bar and a scrolling content area. </s> <|assistant|> <html> <head> </head> <body> <div id="header"> <!-- header content --> </div> <div id="content" style="overflow-y:scroll;"> <!-- content here --> </div> </body...
<|user|> Construct an HTML page to display a table with 10 rows, 5 columns, and a header row. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Table Example</title> </head> <body> <table> <thead> <tr> <th>Header 1</th> <th>Header 2</th> <th>Header 3</th> <th>Header 4...
<|user|> Create an HTML page with a navigation bar containing a heading and a search field. </s> <|assistant|> <html> <head> <title>My Page</title> </head> <body> <nav> <h1>My Navigation</h1> <input type="text" placeholder="search..."> </nav> </body> </html></s>
<|user|> Using an array, create a web page that prints out all of the array elements. arr = [1, 2, 3, 4, 5]</s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Array values</title> </head> <body> <ul> <% fo...
<|user|> Construct a HTML template using Bootstrap. </s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1...
<|user|> Create a HTML page which includes two input fields and a button that generates output field that should contain the sum of the two numbers given in the two input fields. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Sum Calculator</title> <script> function calculate() { var nu...
<|user|> Edit this HTML snippet such that it displays 'Hello World' in bold. <div>Hello World</div></s> <|assistant|> <div><b>Hello World</b></div></s>
<|user|> Create a web page with a JavaScript function to search for a product in a product inventory using user input. const products = [ {name: "iPhone", price: 499}, {name: "MacBook Pro", price: 1499}, {name: "iPad Pro", price: 799}, ];</s> <|assistant|> <html> <head> <title>Product Search</title> </hea...
<|user|> Construct an HTML page including a heading, button, and paragraph. </s> <|assistant|> <html> <head> <title>My Webpage</title> </head> <body> <h1>My Webpage</h1> <button>Click Here!</button> <p>This is some sample text.</p> </body> </html></s>
<|user|> Construct an HTML page using semantic elements to display a heading with "Hello World!". </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Hello World!</title> </head> <body> <h1>Hello World!</h1> </body> </html></s>
<|user|> Create a HTML page to display a given list of items </s> <|assistant|> <html> <head> <title>List of Items</title> </head> <body> <h1>List of Items</h1> <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> <li>Item 4</li> ...
<|user|> Design a web page with HTML and CSS so that it displays four boxes of different colors. </s> <|assistant|> <html> <head> <style> div { width:200px; height:200px; box-sizing:border-box; border-radius: 10px; } .box-1 { background: #F78181; } .box-2 { background: #FBB117; } ...
<|user|> Create a basic HTML page with a title, a heading and a brief introduction to yourself. My name is John Doe, I am an engineer and webdeveloper.</s> <|assistant|> <html> <head> <title>Introducing John Doe</title> </head> <body> <h1>Introducing John Doe</h1> <p> Hi, I'm John Doe. I am an e...
<|user|> Create a basic HTML page with a table that displays the index, name, and link of the top 10 global universities. index | name | link 1. Massachusetts Institute of Technology | https://www.mit.edu/ 2. Stanford University | https://www.stanford.edu/ 3. Harvard University | https://www.harvard.edu/ 4. Cali...
<|user|> Write an HTML web page that displays a list of three job titles and their corresponding descriptions. Developer Designer Project Manager Developer: Responsible for developing applications based on customer requirements Designer: Designs and implements user interfaces for applications Project Manager: Manages ...
<|user|> Write an HTML page that takes an email address as input and displays a "Thank you" message after the submission. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Thank You</title> </head> <body> <form method="POST" action=""> <label> Email: <input type="email" name=...
<|user|> Create a HTML page to display the top 5 scores from a given array. An array with 10 elements [7, 8, 10, 3, 2, 9, 5, 1, 6, 4]</s> <|assistant|> <html> <head> <title>Top 5 scores</title> </head> <body> <h1>Top 5 scores</h1> <ul> <li>10</li> <li>9</li> <li>8</li> <li>7</l...
<|user|> Create a web page with a navigation bar at the top. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Navigation Bar Demo</title> </head> <body> <nav> <ul> <li><a href="#">Home</a></li> <li><a href="#">About</a></li> <li><a href="#">Contact</a></li> ...
<|user|> Create an HTML page that prints the current date. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Current Date</title> </head> <body> <p>Today's date is <script> document.write(new Date().toDateString()); </script></p> </body> </html></s>
<|user|> Create a HTML page that contains the following text: "Welcome to my website!". </s> <|assistant|> <html> <head> <title>Website</title> </head> <body> <h1>Welcome to my website!</h1> </body> </html></s>
<|user|> Create a basic HTML structure to show a blog post with the title, "My First Blog Post." </s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>My First Blog Post</title> </head> <body> <h1>My First Blog...
<|user|> Create a basic HTML structure with a table to display a list of cities and their population. </s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Cities and Population</title> </head> <body> <h1>Citie...
<|user|> Create a web page that shows your favorite color, name, and age. </s> <|assistant|> <html> <head> <title>Favorite Things</title> </head> <body> <h1>My Favorite Things</h1> <ul> <li>My favorite color is blue.</li> <li>My name is John.</li> <li>I am 24 years old.</li> </ul...
<|user|> Create a HTML page that displays the given text in a headline. This is a headline!</s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Headline</title> </head> <body> <h1>This is a headline!</h1> </body> </html></s>
<|user|> Print the following string in HTML. "Welcome to my website!"</s> <|assistant|> <html> <head> <title>Welcome to my website!</title> </head> <body>Welcome to my website!</body> </html></s>
<|user|> Create an HTML page with two input fields, one for the first name, one for the last name, and a button. When the button is clicked, the input fields should be validated and an alert should be presented if the fields are empty. </s> <|assistant|> <html> <head> <title>Input Validation</title> </head> <body> ...
<|user|> Construct a simple web page with two fields, a login input and a password input. </s> <|assistant|> <html> <body> <form> <div> <label>Login:</label> <input type="text" id="login" name="login"> </div> <div> <label>Password:</label> <input type="password" id="passwor...
<|user|> Create a webpage with a button to allow the user to log in. [noinput]</s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Login Page</title> </head> <body> <form action="login.php" method="post"> ...
<|user|> Write an HTML page that displays a Javascript alert when a button is clicked. </s> <|assistant|> <html> <head> <!-- Include the script --> <script src="alert.js"></script> </head> <body> <button id="btnAlert" onclick="alertFunction()">Alert</button> </body> </html> // alert.js function al...
<|user|> Insert correction in the following HTML code <html> <body> <h1> This is a heading <h2> </body> </html></s> <|assistant|> <html> <body> <h1> This is a heading </h1> </body> </html></s>
<|user|> Create an HTML page which contains a heading with the text "Hello World". </s> <|assistant|> <html> <head> <title>Hello World</title> </head> <body> <h1>Hello World</h1> </body> </html></s>
<|user|> Create an HTML page that displays the contents of a given URL. https://www.example.com</s> <|assistant|> <html> <head> <title>Loaded URL</title> </head> <body> <iframe src="https://www.example.com" width="100%" height="100%"></iframe> </body> </html></s>
<|user|> Create a web page with a table of 4 columns and a submit button to submit the table data. </s> <|assistant|> <html> <head></head> <body> <form> <table> <thead> <tr><th>Column 1</th><th>Column 2</th><th>Column 3</th><th>Column 4</th></tr> </thead> <tbody> <!-- your content here --> ...
<|user|> Write an HTML page to display a table of products at a retail store. Table Name: products Attributes: id, name, price, description</s> <|assistant|> <html> <head> <title>Retail Store Products</title> </head> <body> <h2>Retail Store Products</h2> <table> <tr> <th>ID</th> ...
<|user|> Create a HTML page with a form containing two input boxes, one to enter a number and another to enter an operator (+, -, *, /). </s> <|assistant|> <html> <head> <title>Calculator Form</title> </head> <body> <form action="/calculate" method="post"> <input type="number" name="num1" placeholder="Enter a numb...
<|user|> Create a web page using HTML and CSS that contains a heading and a button. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>My Web Page</title> </head> <body> <h1>My Web Page</h1> <button type="button">Click Me!</button> </body> </html></s>
<|user|> Write a code to print "hello world" on a web page using HTML. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Hello World</title> </head> <body> <h1>Hello World!</h1> </body> </html></s>
<|user|> Write an HTML web page from scratch that displays a list of 10 different CSS colors randomly. </s> <|assistant|> <html> <head> <title>Random Colors</title> <style> .random-color { background-color: #9b024a; } </style> </head> <body> <h1>Random Colors</h1> <ul> ...
<|user|> Create a HTML page that shows a profile page for a user. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Profile Page</title> </head> <body> <h1>Profile Page</h1> <div> <h2>User Details</h2> <p>Name: John Doe</p> <p>Email: John.Doe@example.com</p> <p>Date of Birth: 01/01/1900</p> </div> </b...
<|user|> Create an HTML page with two columns and a tabular structure showing the employee salaries. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Employee Salaries</title> </head> <body> <table> <tr> <th>Employee Name</th> <th>Salary</th> </tr> <tr> <td>John Smith</td>...
<|user|> Write Angular code to bind a variable to the HTML view. </s> <|assistant|> <div> {{my_variable}} </div></s>
<|user|> Change the HTML structure above to set the title and content language to Italian. </s> <|assistant|> <!DOCTYPE html> <html lang="it"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>La mia prima pagina web</title> </head> <body> </body> ...
<|user|> Create a program in HTML to display a basic table with 3 columns and 2 rows. </s> <|assistant|> <html> <body> <table style="width:100%"> <tr> <th>Firstname</th> <th>Lastname</th> <th>Age</th> </tr> <tr> <td>John</td> <td>Doe</td> <td>40</td> </tr> <tr> <td>Kathy</td> ...
<|user|> Create a web page with styles. </s> <|assistant|> <html> <head> <title>Styled Web Page</title> <style> body { background-color: lightblue; } h1 { color: white; text-align: center; } p { font-family: verdana; font-size: 15px; ...
<|user|> Create a HTML web page containing two boxes on a single line. </s> <|assistant|> <!DOCTYPE html> <html> <head> </head> <body> <div style="display: inline-block; width: 300px; height: 100px; border: 1px solid #000;"></div> <div style="display: inline-block; width: 300px; heig...
<|user|> Create an HTML page with a basic structure and text. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Basic HTML Page Structure</title> </head> <body> <h1>Hello, World!</h1> <p>This is a basic HTML page structure.</p> </body> </html></s>
<|user|> Edit the following HTML document and change the font color of the level 2 heading tag to red <html><head><title>My Title</title></head><body><h1>Heading 1</h1><h2>Heading 2</h2></body></html></s> <|assistant|> <html><head><title>My Title</title></head><body><h1>Heading 1</h1><h2 style="color:red;">Heading 2</h...
<|user|> Create a web page that displays "Hello, World!" </s> <|assistant|> <html> <head> <title>Hello World</title> </head> <body> <h1>Hello, World!</h1> </body> </html></s>
<|user|> Create a HTML program that displays student records <No input></s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Student Records</title> </head> <body> <h1>Student Records</h1> <table> <tr> <th>Name</th> <th>Age</th> <th>Gender</th> </tr> ...
<|user|> Edit the following HTML page to add a table to the page. <!DOCTYPE html> <html> <head> <title>My HTML Page</title> </head> <body> <h1>My HTML Page</h1> </body> </html></s> <|assistant|> <!DOCTYPE html> <html> <head> <title>My HTML Page</title> </head> <body> <h1>My HTML Page</h1> <table> <tr> <th>Col...
<|user|> Write an HTML page that shows a table with the heading "Famous Actors" and columns for the actor's name, age, and nationality. </s> <|assistant|> <html> <head> <title>Famous Actors</title> </head> <body> <table> <tr> <th>Name</th> <th>Age</th> <th>Nationality</th> ...
<|user|> Write an HTML page which contains a form with fields for a user's first name, last name, and email address. </s> <|assistant|> <html> <head> <title>User Info Form</title> </head> <body> <form> <label>First Name:</label> <input type="text" id="firstname" name="firstname" > <br><br...
<|user|> Create an HTML page that displays a table with all the prime numbers up to 100. </s> <|assistant|> <html> <head> <title>Prime Numbers</title> </head> <body> <h1>Prime Numbers</h1> <table> <tr> <th>Number</th> <th>Prime</th> </tr> <?p...
<|user|> Write an HTML page with a form to input the following information: name, age, gender. </s> <|assistant|> <html> <head> <title>Form Example</title> </head> <body> <form> <label for="name">Name:</label> <input type="text" id="name" name="name"> <label for="age">Age:</label> ...
<|user|> Create a HTML page that has a table displaying the names, phone numbers and email addresses of 5 employees. </s> <|assistant|> <html> <head> <title>Employees</title> </head> <body> <h1>Employees</h1> <table> <tr> <th>Name</th> <th>Phone</th> <th>Email</th> </tr> <tr> <td>John ...
<|user|> Create a web page that uses CSS to style a given piece of text. </s> <|assistant|> <html> <head> <style> p { font-size: 16px; font-family: Arial, sans-serif; color: #333; } .bold { font-weight: bold; } </style> </head> <body> <p class="...
<|user|> Edit the HTML structure shown below to include a form tag with an input for a user's name. <!DOCTYPE html> <html> <head> <title>My Webside</title> </head> <body> </body> </html></s> <|assistant|> <!DOCTYPE html> <html> <head> <title>My Webside</title> </head> <body> <form> <input type="text" name="name" ...
<|user|> Create an HTML/CSS webpage which displays the given text: "Hello, Welcome to my website!" </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Welcome to My Website!</title> </head> <body> <div> <h1>Hello, Welcome to my website!</h1> </div> </body> </html></s>
<|user|> Create an HTML/CSS webpage which contains two identical paragraphs with red font. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>My Webpage</title> </head> <body> <div> <p style="color:red;">This is paragraph one.</p> <p style="color:red;">This is paragraph two.</p> </div> </body> </html></s>
<|user|> Using the below HTML code, replace the "TODO" comment with the appropriate code to add a hover effect on the div element. <div>hello</div> <style> div { padding: 10px; //TODO } </style></s> <|assistant|> <div>hello</div> <style> div { padding: 10px; transition: all 0.5s ease-in; } d...
<|user|> Compose an HTML webpage with a title and two paragraphs </s> <|assistant|> <html> <head> <title>Webpage Title</title> </head> <body> <h1>Webpage Title</h1> <p>Paragraph 1</p> <p>Paragraph 2</p> </body> </html></s>
<|user|> Write HTML code to create a webpage that has two paragraphs and a header. </s> <|assistant|> <!DOCTYPE html> <html> <head> <title>Two Paragraphs & a Header</title> </head> <body> <h1>Header</h1> <p>Paragraph 1</p> <p>Paragraph 2</p> </body> </html></s>
<|user|> Using HTML, write a page structure for a basic web page. </s> <|assistant|> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Web Page</title> </head> <body> </body> </html></s>
<|user|> Create an HTML page with a text box that stores entered data in the local storage. </s> <|assistant|> <html> <head> <title>Text Box</title> </head> <body> <input type="text" id="text_box" /> </body> <script> // Store data in localStorage function storeData() { let inputValue = document.getElement...
<|user|> Edit the following HTML to change the font of the page <html> <head> <title>My Page</title> </head> <body> <h2>Hello World!</h2> </body> </html></s> <|assistant|> <html> <head> <title>My Page</title> <style> body { font-family: Ari...
<|user|> Create a HTML page with a table showing the contact information of all members in a information. [ { "name": "John", "phone": "123-456-7890", "address": "123 Main Street" }, { "name": "Sarah", "phone": "098-765-4321", "address": "456 Ocean Drive" } ]</s> <|assistant|> <!DOCTYPE html> <html> <hea...