text stringlengths 69 2.38k |
|---|
<s>[INST] <<SYS>> Write an HTML page with a header that displays your name. <</SYS>> [/INST] <html>
<head>
<title>My webpage</title>
</head>
<body>
<h1>My name is John Smith</h1>
</body>
</html> </s> |
<s>[INST] <<SYS>> Update the following HTML page so it displays a simple form. <</SYS>> <!DOCTYPE html>
<html>
<head>
<title>My Form</title>
</head>
<body>
<!-- Your code goes here! -->
</body>
</html> [/INST] <!DOCTYPE html>
<html>
<head>
<title>My Form</title>
</head>
<body>
<form action... |
<s>[INST] <<SYS>> Edit the existing code to focus the cursor in the input field. <</SYS>> <html>
<body>
<input type="text" id="myInput" />
<script type="text/javascript">
document.getElementById('myInput').focus();
</script>
</body>
</html> [/INST] <html>
<body>
<... |
<s>[INST] <<SYS>> Compose a basic HTML page to display the phrase "Contact us now!" <</SYS>> [/INST] <html>
<head>
<title>Contact Page</title>
</head>
<body>
<h1>Contact Us Now!</h1>
</body>
</html> </s> |
<s>[INST] <<SYS>> Write an HTML page with a form having two textboxes and two buttons. <</SYS>> [/INST] <html>
<body>
<form>
<input type="text" id="textbox1" /><br>
<input type="text" id="textbox2" /><br>
<button name="submitbtn">Submit</button><br>
<button name="resetbtn">Reset</but... |
<s>[INST] <<SYS>> Create an HTML template for a login form having username and password. <</SYS>> [/INST] <html>
<head>
<title>Login Form</title>
</head>
<body>
<form action="" method="POST">
<label>Username:</label><input type="text" />
<label>Password:</label><input... |
<s>[INST] <<SYS>> Create an HTML page with a table containing the following data in four rows. <</SYS>> Id | First Name | Last Name | Age
1 | John | Doe | 30
2 | Jane | Doe | 25
3 | Brian | Smith | 32
4 | Maria | Smith | 28 [/INST] <html>
<head>
<title>Table Data</title>
</head>
<body>
<tabl... |
<s>[INST] <<SYS>> Write an HTML page with two headings "Home" and "About". <</SYS>> [/INST] <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Title</title>
</head>
<body>
<h1>Home</h1>
<h1>About</h1>
</body>
</html> </s... |
<s>[INST] <<SYS>> Develop an HTML page with a div and table, and use CSS to make alternating rows of the table red and blue. <</SYS>> [/INST] <html>
<head>
<style>
table tr:nth-child(2n) {
background-color: red;
}
table tr:nth-child(2n+1) {
... |
<s>[INST] <<SYS>> Generate a dynamic HTML table displaying 10 random numbers from 1 to 100. <</SYS>> [/INST] <html>
<head>
</head>
<body>
<div>
<table>
<tr><th>Random Numbers</th></tr>
<tr><td><?php echo rand(1,100); ?></td></tr>
<tr><td><?php echo rand(1,... |
<s>[INST] <<SYS>> Develop an HTML form which includes two input fields, an label and a submit button. <</SYS>> [/INST] <html>
<head>
</head>
<body>
<form>
<label>Name: </label><input type="text" name="name"><br>
<label>Age: </label><input type="text" name="age"><br>
... |
<s>[INST] <<SYS>> Develop an HTML page with three sections, each containing different colors. <</SYS>> [/INST] <html>
<head>
<style>
#section1 {
background-color: red;
}
#section2 {
background-color: blue;
}
#section... |
<s>[INST] <<SYS>> Construct a set of HTML tags to design a simple two-column layout. <</SYS>> [/INST] <html>
<head>
<title>Two-column layout</title>
</head>
<body>
<div class="container">
<div class="column-left">
<!--Your content here-->
</div>
<div class="column-right">
... |
<s>[INST] <<SYS>> Write some HTML code that adds a background color to the complete web page. <</SYS>> [/INST] <html>
<head>
<style> body {background-color: #F0F0F0;}</style>
</head>
</html> </s> |
<s>[INST] <<SYS>> Create a website that displays the current day's weather forecast in Philadelphia. <</SYS>> [/INST] <html>
<head>
<title>Weather App</title>
</head>
<body>
<h1>Weather in Philadelphia</h1>
<h2>Today</h2>
<div id="weather">
<script>
// API call to get the weather forecast
fetch("ht... |
<s>[INST] <<SYS>> Create a HTML page which displays the result of multiplying two user-provided numbers. <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>Multiply</title>
</head>
<body>
<h1>Multiplication Result</h1>
<form action="" method="POST">
Enter the first number: <input type="text" n... |
<s>[INST] <<SYS>> Write a short HTML page to display a welcome message. <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>Welcome</title>
</head>
<body>
<h1>Welcome!</h1>
</body>
</html> </s> |
<s>[INST] <<SYS>> Generate a valid HTML page with the following styles and content <</SYS>> background color: yellow;
padding: 10px;
Content: "Hello World!" [/INST] <html>
<head>
<title>Hello World!</title>
<style>
body {
background-color: yellow;
padding: 10px;
}
</style>
... |
<s>[INST] <<SYS>> Edit this HTML code to add the Google Font “Roboto”. <</SYS>> <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My First Web Page</title>
</head>
<body>
</body>
</html> [/INST] <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.co... |
<s>[INST] <<SYS>> Create an HTML page that displays two columns consisting of the numbers 1 to 10. <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>Two columns of numbers from 1 to 10</title>
</head>
<body>
<h1>Two columns of numbers from 1 to 10</h1>
<table>
<tr>
<th>Column 1</th>
... |
<s>[INST] <<SYS>> Design a HTML page with a header and 2 sections <</SYS>> [/INST] <html>
<head>
<title>MyPage</title>
</head>
<body>
<header>
<h1>Welcome to My Page</h1>
</header>
<section>
Content in Section 1
</section>
<section>
Content in Section 2
</section>
</body>
</html> </s> |
<s>[INST] <<SYS>> Create a HTML page to display a table in the following format. <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>Table</title>
</head>
<body>
<table>
<tr>
<th>Name</th>
<th>Address</th>
<th>Phone</th>
... |
<s>[INST] <<SYS>> Create a HTML page containing an input field, a submit button and a table for displaying the results. <</SYS>> [/INST] <html>
<head>
<title>A Sample HTML Page</title>
</head>
<body>
<form>
<input type="text" id="input-field" />
<input type="submit" value="Submit" />
</form>... |
<s>[INST] <<SYS>> Generate a web page which shows the top 10 trending movies of the year. <</SYS>> [/INST] <html>
<head>
<title>Top 10 Trending Movies of the Year</title>
</head>
<body>
<h1>Top 10 Trending Movies of the Year</h1>
<ul>
<li>Avengers: Endgame</li>
<li>Captain Marvel</li>
... |
<s>[INST] <<SYS>> Generate an HTML page with a table containing all the elements of an array in JavaScript. <</SYS>> [1, 2, 3, 4] [/INST] <html>
<head>
<title>Array Table</title>
</head>
<body>
<table>
<tr>
<th>Element Value</th>
</tr>
<tr>
<td>1</td>... |
<s>[INST] <<SYS>> Create a HTML page with given header and footer elements. <</SYS>> Header: <h1>Hi there!</h1>
Footer: <h5>Goodbye!</h5> [/INST] <html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Hi there!</h1>
<div>
// Page content goes here
</div>
<h5>Goodbye!</h5>
</body>... |
<s>[INST] <<SYS>> Create a web page that has a button to toggle a navigation bar. <</SYS>> [/INST] <html>
<head>
<title>Menu toggle example</title>
</head>
<body>
<h1>Toggle Menu</h1>
<div id="menu-container">
<a href="link1.html">Link 1</a>
<a href="link2.html">Link 2</a>
<a href="l... |
<s>[INST] <<SYS>> Create a web page to display all the weekdays <</SYS>> [/INST] <html>
<head>
<title>Weekdays</title>
</head>
<body>
<h1>Weekdays</h1>
<ul>
<li>Monday</li>
<li>Tuesday</li>
<li>Wednesday</li>
<li>Thursday</li>
... |
<s>[INST] <<SYS>> Write an HTML page which displays the current time and date. <</SYS>> [/INST] <html>
<body>
<p>Today is <span id="date"> </span> and the time is <span id="time"> </span>.</p>
<script>
let d = new Date();
let date = d.toDateString();
document.getElementById("date").innerHTML = date;
... |
<s>[INST] <<SYS>> Draft an HTML page with a table that contains three columns and two rows. <</SYS>> [/INST] <html>
<head>
<title>Table Example</title>
</head>
<body>
<table>
<tr>
<th>Column 1</th>
<th>Column 2</th>
<th>Column 3</th>
</tr>
<tr>
<td>Row 1 D... |
<s>[INST] <<SYS>> Create an HTML page demonstrating the application of "for" loop in JavaScript <</SYS>> [/INST] <html>
<head>
<script>
for(let i=0; i<5; i++){
console.log('loop ' + i);
}
</script>
</head>
<body>
</body>
</html> </s> |
<s>[INST] <<SYS>> Generate a HTML table to display the following data. <</SYS>> Row1: Name: Harry Age: 18
Row2: Name: Jane Age: 20 [/INST] <html>
<head>
<title>Data Table</title>
</head>
<body>
<h1>Data Table</h1>
<table>
<tr>
<th>Name</th>
... |
<s>[INST] <<SYS>> Create a HTML page displaying 3 columns of data <</SYS>> Data: ["Name", "Age", "Gender"],
["Bob", 35, "Male"],
["John", 28, "Male"],
["Sarah", 39, "Female"] [/INST] <html>
<head>
<title>Data</title>
</head>
<body>
<table>
<thead>
<th>Name</th>
<th>Age</th>
<th>Gen... |
<s>[INST] <<SYS>> Create a HTML page containing a form with three input boxes. <</SYS>> [/INST] <html>
<body>
<form>
<input type="text" name="box1" />
<input type="text" name="box2" />
<input type="text" name="box3" />
</form>
</body>
</html> </s> |
<s>[INST] <<SYS>> Create an HTML page of a multi-step registration form. <</SYS>> Step 1: Name and Email
Step 2: Address
Step 3: Password [/INST] <html>
<head>
<title>Registration Form</title>
<style>
body {
font-family: sans-serif;
}
.container {
width: 500px;
margin: 0 auto;
}
.form-steps {
... |
<s>[INST] <<SYS>> Write an HTML document with a heading, a paragraph and a link to www.example.com. <</SYS>> [/INST] <html>
<head>
<title>Example HTML</title>
</head>
<body>
<h1>Heading</h1>
<p>This is a paragraph.</p>
<a href="www.example.com">Link to example.com</a>
</body>
</html> </s> |
<s>[INST] <<SYS>> Write a HTML web page with a heading, paragraph, and a form with two input fields, one for name and one for age. <</SYS>> [/INST] <html>
<head>
<title>Example HTML</title>
</head>
<body>
<h1>Heading</h1>
<p>This is a paragraph.</p>
<form>
Name: <... |
<s>[INST] <<SYS>> Create a HTML page with a header containing the text "My page" and an empty body section. <</SYS>> [/INST] <html>
<head>
<title>My page</title>
</head>
<body>
</body>
</html> </s> |
<s>[INST] <<SYS>> Create an HTML page that displays the name, address, email and phone number of a given user. <</SYS>> Name: John Doe
Address: 123 Main Street
Email: john@example.com
Phone: 987654321 [/INST] <html>
<head>
<title>John Doe's information</title>
</head>
<body>
<h1>John Doe</h1>
<p>
... |
<s>[INST] <<SYS>> Create a web page to display a result of a dictionary containing all countries in the world and its corresponding capital in three columns. <</SYS>> [/INST] <html>
<head>
<title>Countries and Capitols</title>
</head>
<body style="background-color: #f9f9f9; font-family: sans-serif; padding: 50px">
... |
<s>[INST] <<SYS>> Write an HTML page from scratch to display a user's contact information. <</SYS>> name: John Doe;
age: 46;
phone: +1 (312) 555-4879;
email: john.doe@example.com; [/INST] <!DOCTYPE html>
<html>
<head>
<title>John Doe's Contact Information</title>
</head>
<body>
<h2>John Doe</h2>
<p>Age: 46<... |
<s>[INST] <<SYS>> Create a web page with a header and a paragraph, both with some text. <</SYS>> [/INST] <html>
<head>
<title>My Web Page</title>
</head>
<body>
<h1>My Web Page</h1>
<p>This is my web page. It has a header and a paragraph.</p>
</body>
</html> </s> |
<s>[INST] <<SYS>> Construct a HTML page which displays a table with all words of a given string. <</SYS>> string = "Hello World" [/INST] <html>
<head>
<title>Table of Words</title>
</head>
<body>
<table border="1">
<tr>
<th>Word</th>
</tr>
<tr>
<td>Hello</td>
... |
<s>[INST] <<SYS>> Write an HTML page that displays the text "My favorite color is blue" in a blue font. <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>My Favorite Color</title>
</head>
<body>
<h1 style="color: blue;">My favorite color is blue</h1>
</body>
</html> </s> |
<s>[INST] <<SYS>> Write an HTML code to display a webpage with a centered paragraph. <</SYS>> [/INST] <html>
<head>
<title>Centered Paragraph</title>
</head>
<body>
<div style="text-align:center;">
<p>This is a centered paragraph.</p>
</div>
</body>
</html> </s> |
<s>[INST] <<SYS>> Create a new HTML page and add a <div> element inside the <body>. <</SYS>> [/INST] <html>
<head>
<title>New Page</title>
</head>
<body>
<div></div>
</body>
</html> </s> |
<s>[INST] <<SYS>> Create a web page to display the current weather in your city. <</SYS>> The weather data should be in the form of temperature, humidity, wind speed, and barometric pressure. [/INST] <html>
<head>
<title>Current Weather</title>
</head>
<body>
<p>Temperature: <span id="temperature"></span>... |
<s>[INST] <<SYS>> Design an HTML form to register users on a website. <</SYS>> [/INST] <html>
<head>
<title>User Registration Form</title>
</head>
<body>
<h1>Register a new user</h1>
<form action="register.php" method="POST">
<label>First Name:</label><br>
<input type="text" name="firstName... |
<s>[INST] <<SYS>> Create a HTML page which displays "Hello, World!" on the screen. <</SYS>> [/INST] <html>
<head>
<title>Hello, World!</title>
</head>
<body>
<h1>Hello, World!</h1>
</body>
</html> </s> |
<s>[INST] <<SYS>> Add AJAX functionalities to the following HTML document. <</SYS>> <!DOCTYPE html>
<html>
<head>
<title>AJAX Example</title>
</head>
<body>
</body>
</html> [/INST] <!DOCTYPE html>
<html>
<head>
<title>AJAX Example</title>
<script>
function loadData(){
var xhttp = new XMLHttpRequest();
xhttp.on... |
<s>[INST] <<SYS>> Create an HTML page with an <h1> heading "Welcome!" and a <p> paragraph with the text "I am happy to be here." <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>Welcome!</title>
</head>
<body>
<h1>Welcome!</h1>
<p>I am happy to be here.</p>
</body>
</html> </s> |
<s>[INST] <<SYS>> Change the following HTML page to an Angular web page. <</SYS>> <html>
<head>
<title>TITLE</title>
</head>
<body>
<h1>HEADER</h1>
<p>Paragraph</p>
</body>
</html> [/INST] <!DOCTYPE html>
<html>
<head>
<title>TITLE</title>
<script src="https://unpkg.com/@angular/core@8.2.14/bundles/core... |
<s>[INST] <<SYS>> Create a HTML page to show a list of employees, their departments and corresponding salary ranges. <</SYS>> John Doe - Sales - 35000 - 50000
Jane Doe - Marketing - 40000 - 65000 [/INST] <html>
<head>
<title>Employees</title>
</head>
<body>
<h1>Employees</h1>
<ul>
<li>John Doe -... |
<s>[INST] <<SYS>> Create an HTML page with a header containing the text "Welcome to our website". <</SYS>> [/INST] <html>
<head><title>Welcome to our website</title></head>
<body>
<h1>Welcome to our website</h1>
</body>
</html> </s> |
<s>[INST] <<SYS>> Generate a HTML code which has a black background and white font. <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: black;
color: white;
}
</style>
</head>
<body>
</body>
</html> </s> |
<s>[INST] <<SYS>> Construct a HTML page that displays a form with a text field and a submit button. <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>Sample Form</title>
</head>
<body>
<form action="" method="post">
<input type="text" placeholder="Input..."/>
<input type="submit" value="Submit" />
</form... |
<s>[INST] <<SYS>> Edit this HTML page to make the page have a centered heading <</SYS>> <html>
<head>
<title>Sample Page</title>
</head>
<body>
<h1>Heading</h1>
</body>
</html> [/INST] <html>
<head>
<title>Sample Page</title>
</head>
<body>
<h1 style="text-align: center;">Heading</h1>
</body>
</html> </s> |
<s>[INST] <<SYS>> Create an HTML page with a blurred background and centered text "Hello World". <</SYS>> [/INST] <html>
<head>
<style>
body {
background-image: url("background.jpg");
background-size: cover;
background-blur: 10px;
}
.container {
position: relative... |
<s>[INST] <<SYS>> Create a HTML page that displays the current time. <</SYS>> [/INST] <html>
<head>
<title>Time Display</title>
<script>
function updateTime() {
let currTime = new Date();
document.getElementById("currentTime").innerHTML = currTime.toLocaleTimeString();
... |
<s>[INST] <<SYS>> Use HTML and CSS to format a page with three columns, two of which contain two paragraphs each and the last containing a list of 10 items. <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>3 Column Layout</title>
<style>
body {
width: 1000px;
margin: 0 auto;
}
.column-l... |
<s>[INST] <<SYS>> Generate a HTML document with 3 divs, each div being 50px wide and 100px tall <</SYS>> [/INST] <html>
<head>
<title>HTML Div Test</title>
</head>
<body>
<div style="width:50px; height:100px;">Div 1</div>
<div style="width:50px; height:100px;">Div 2</div>
<div style="width:50px; h... |
<s>[INST] <<SYS>> Using jQuery, update the HTML code to provide the user a toggle switch that changes the text from "off" to "on" when clicked. <</SYS>> <div>
<p>Status: <span class='status'>off</span></p>
</div> [/INST] <div>
<p>Status: <span class='status'>off</span>
<button onclick="toggleStatus()">T... |
<s>[INST] <<SYS>> Create an HTML page with a form containing a checkbox. <</SYS>> [/INST] <html>
<body>
<form>
<input type="checkbox" />
</form>
</body>
</html> </s> |
<s>[INST] <<SYS>> Using HTML and CSS, create a page layout with two columns and a header row. <</SYS>> [/INST] <html>
<head>
<style>
.table {
display: table;
width: 100%;
}
.table-row {
display: table-row;
}
.table-cell {
display: table-cell;
... |
<s>[INST] <<SYS>> Rewrite this HTML code so that it is valid HTML5. <</SYS>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Example website</title>
</head>
<body>
<h1>My example website</h1>
<p>This is some example text</p>
</body>
</... |
<s>[INST] <<SYS>> Create a simple php website using the following data records. <</SYS>> [
{
"firstname": "Oliver",
"lastname": "Smith",
"address": "1234 Main Street, City, Country"
},
{
"firstname": "John",
"lastname": "Doe",
"address": "5678 Long Road, City, Country"
},
{
"firstn... |
<s>[INST] <<SYS>> Using HTML and CSS, create a page to display a list of users with their contact information <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>User Info</title>
<style>
tr, td {
border: 1px solid black;
padding: 5px;
}
</style>
</head>
<body>
<table... |
<s>[INST] <<SYS>> Design an HTML form to enter student name, age, and course. <</SYS>> [/INST] <html>
<head>
<title>Student Info Form</title>
</head>
<body>
<form action="/submit" method="POST">
<label>Name:</label><br>
<input type="text" name="name"><br><br>
... |
<s>[INST] <<SYS>> Write an HTML code to create a basic structure for a website. <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>My Website</title>
</head>
<body>
</body>
</html> </s> |
<s>[INST] <<SYS>> Create a HTML program to simulate a digital clock <</SYS>> [/INST] <html>
<head>
<title>Digital Clock</title>
<script>
function showTime(){
var date = new Date();
var h = date.getHours(); // 0 - 23
var m = date.getMinutes(); // 0 - 59
var... |
<s>[INST] <<SYS>> Create an HTML page that has a table and populates the table with the given data. <</SYS>> Country | Capital
India | New Delhi
United States | Washington DC
Canada | Ottawa [/INST] <!DOCTYPE html>
<html>
<head>
<title>Country and Capital Table</title>
</head>
<body>
<h1>Country and Capi... |
<s>[INST] <<SYS>> Create an HTML page with a button and a text field to print the content of the text field when the button is clicked. <</SYS>> [/INST] <html>
<head>
<title>Print Text</title>
</head>
<body>
<input type="text" id="textField" />
<button onclick="printText()">Print</button>
<script>... |
<s>[INST] <<SYS>> Write an HTML page to display three columns with headings ‘Name’, ‘Age’ and ‘Occupation’ in a table layout. <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>Simple Table Layout</title>
</head>
<body>
<h1>Table with Three Columns</h1>
<table>
<tr>
<th>Name... |
<s>[INST] <<SYS>> Write a HTML page to set a background color for a table with the color code '#e6e6fa'. <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>Table with Background Color</title>
</head>
<body>
<h1>Table with Background Color</h1>
<table style="background-color: #e6e6fa;">
... |
<s>[INST] <<SYS>> Create an interface for a number guessing game using HTML, CSS, and JavaScript. <</SYS>> [/INST] <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Number Guessing Game</title>
<style>
* {... |
<s>[INST] <<SYS>> Generate a valid HTML page given the body contents. <</SYS>> <h1>Hello World!</h1>
<p>This is a simple HTML page.</p> [/INST] <html>
<head>
</head>
<body>
<h1>Hello World!</h1>
<p>This is a simple HTML page.</p>
</body>
</html> </s> |
<s>[INST] <<SYS>> Create a simple webpage to welcome visitors with a centered heading "Welcome". <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>Welcome</title>
<style>
h1 {
text-align: center;
}
</style>
</head>
<body>
<h1>Welcome</h1>
</body>
</html> </s> |
<s>[INST] <<SYS>> Create a HTML web page with a header, a body and a footer section. <</SYS>> [/INST] <html>
<head>
<title>My Web Page</title>
</head>
<body>
<!-- content goes here -->
</body>
<footer>
<!-- footer content goes here -->
</footer>
</html> </s> |
<s>[INST] <<SYS>> Create a web page that contains three input boxes for a user to input name, age, and gender. <</SYS>> [/INST] <html>
<head>
<title>Input Form</title>
</head>
<body>
<form>
Name:<br>
<input type="text" name="name"><br>
Age:<br>
... |
<s>[INST] <<SYS>> Create a basic HTML skeleton for a web page. <</SYS>> [/INST] <html>
<head>
<title>Basic Webpage</title>
</head>
<body>
</body>
</html> </s> |
<s>[INST] <<SYS>> Create a basic form in HTML containing two input boxes for first name and surname. <</SYS>> [/INST] <html>
<head>
<title>User Information Form</title>
</head>
<body>
<form>
First Name:<br>
<input type="text" name="firstname"><br>
Surname:<br>
<input type="text" na... |
<s>[INST] <<SYS>> Create a basic HTML page with a <title> tag and a <h1> tag. <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>Create a basic HTML page</title>
</head>
<body>
<h1>Hello, World!</h1>
</body>
</html> </s> |
<s>[INST] <<SYS>> Create a HTML page that takes two text strings as inputs and outputs the longest one. <</SYS>> [/INST] <html>
<head>
<title>Input and Compare Strings</title>
</head>
<body>
Enter two strings:
<input type="text" id="str1" />
<input type="text" id="str2" />
<input type="button"... |
<s>[INST] <<SYS>> Write a HTML form to take in two user inputs and display their sum. <</SYS>> [/INST] <html>
<body>
<form>
Enter Number 1: <input type="text" name="num1" /> <br />
Enter Number 2: <input type="text" name="num2" /> <br />
<input type="submit" value="Submit" />
</form>
<sc... |
<s>[INST] <<SYS>> Construct an HTML form with five input fields: Name, Username, Password, Email, and Phone number. <</SYS>> [/INST] <html>
<body>
<form>
<label for="name">Name:</label>
<input type="text" id="name" name="name">
<br>
<label for="username">Username:</label>
<inp... |
<s>[INST] <<SYS>> Format the following HTML tags correctly. <</SYS>> <html><head> <title>hello world</title></head></html> [/INST] <html>
<head>
<title>Hello World</title>
</head>
</html> </s> |
<s>[INST] <<SYS>> Create an HTML page with a Table, which lists out the names and usernames of 4 people. <</SYS>> Jenny, jenny123
John, john123
Alice, alice123
Bob, bob123 [/INST] <!DOCTYPE html>
<html>
<head>
<title>Table example</title>
</head>
<body>
<h1>Names and Usernames</h1>
<table>
<thea... |
<s>[INST] <<SYS>> Build a HTML page using the given CSS class <</SYS>> CSS Classes:
.container {
width: 300px;
height: 200px;
background-color: blue;
}
.text {
color: white;
font-family: Arial;
font-size: 16px;
padding: 15px;
text-align: center;
} [/INST] <html>
<head>
<style>
.contain... |
<s>[INST] <<SYS>> Edit this HTML code to add a link element in the head of the page. <</SYS>> <html>
<head>
<title>Example page</title>
</head>
<body>
</body>
</html> [/INST] <html>
<head>
<title>Example page</title>
<link href="style.css" rel="stylesheet">
</head>
<body>
</body>
</html> </s... |
<s>[INST] <<SYS>> Create a web page that shows a short biography of the given person. <</SYS>> Person: Marie Curie [/INST] <html>
<head>
<title>Biography of Marie Curie</title>
</head>
<body>
<h1>Marie Curie</h1>
<p>Marie Curie (1867-1934) was a Polish physicist and chemist who conducted pioneering re... |
<s>[INST] <<SYS>> Generate the HTML code for a page with a centered headline that says "My Portfolio". <</SYS>> [/INST] <html>
<head>
<title>My Portfolio</title>
</head>
<body>
<center>
<h1>My Portfolio</h1>
</center>
</body>
</html> </s> |
<s>[INST] <<SYS>> Edit the following HTML structure to include the Bootstrap 4 library. <</SYS>> <html>
<head>
<title>My Web Page</title>
</head>
<body>
</body>
</html> [/INST] <html>
<head>
<title>My Web Page</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/boots... |
<s>[INST] <<SYS>> Create an HTML page containing a login form with the following fields: username, password, and submit button. <</SYS>> [/INST] <html>
<head>
<title>Login Form</title>
</head>
<body>
<form action="/login" method="POST">
<input type="text" name="username" placeholder="Username"/>
<input typ... |
<s>[INST] <<SYS>> Create an HTML page with a text input form and a submit button. <</SYS>> [/INST] <html>
<head>
<title>Text Input Form</title>
</head>
<body>
<form action="/submit" method="POST">
<input type="text" name="input" placeholder="Enter Text"/>
<input type="submit" value="Submit"/>
</form>
</... |
<s>[INST] <<SYS>> Write an HTML page that displays a table containing the following columns: "Name", "Age", and "Marital Status". <</SYS>> [/INST] <html>
<head>
<title>Example Table</title>
</head>
<body>
<table>
<tr>
<th>Name</th>
<th>Age</th>
<th>Marital Status</th>
</tr>
<tr>
... |
<s>[INST] <<SYS>> Construct a basic HTML page that renders a heading, a description of the page, and a photo. <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>My Page</title>
</head>
<body>
<h1>My Page</h1>
<p>This is my first HTML page.</p>
<img src="sample-image.jpg" alt="sample image">
<... |
<s>[INST] <<SYS>> Create a HTML page with a list of items. <</SYS>> [/INST] <html>
<head>
<title>My List</title>
</head>
<body>
<h1>My List</h1>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</body>
</html> </s> |
<s>[INST] <<SYS>> Create a website using HTML and CSS. <</SYS>> [/INST] <!DOCTYPE html>
<html>
<head>
<title>My Website</title>
<link rel="stylesheet" href="style.css">
<head>
<body>
<h1>My Website</h1>
<div class="content">
Content goes here.
</div>
</body>
</html>
//style.css
body {
... |
<s>[INST] <<SYS>> Write HTML code to create a navigation bar with links to Home and About pages. <</SYS>> [/INST] <div>
<ul>
<li><a href="/home">Home</a></li>
<li><a href="/about">About</a></li>
</ul>
</div> </s> |
<s>[INST] <<SYS>> Create a HTML page which includes a header, subheader and a paragraph of text. <</SYS>> [/INST] <html>
<head>
<title>My Page</title>
</head>
<body>
<h1>My Page</h1>
<h2>Subheader</h2>
<p>This is some text in my page.</p>
</body>
</html> </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.