<!DOCTYPE html> <html> <head> <title>Place your Order</title> </head> <body> <form> <section class="delivery-address"> <label for=country>Country</label> <select name="location" id="country"> <option value="USA">USA</options> <option value="Canada">Canada</option> </select> <br> <label for=address-type>Address Type</label> <select name="location" id="address-type"> <option value="residential">Residential</option> <option value="business">Business</option> <option value="university">University</option> <option value="military">Military</option> </select> <br> <label for=street-address>Street Address</label> <input type="text" name="location" id="street-address" placeholder="1234 S Pacific Way"> <br> <label for=apt>Apt / Ste / Floor</label> <select name="location" id="apt"> <option value="apt">Apt</option> <option value="ste">Suite</option> <option value="floor">Floor</option> </select> <input type="text" name="location" id="apt"><br> <label for=zip-code>Zip Code</label> <input type="text" name="location" id="zip-code"> <br> </section> <hr> <section class="create-a-pizza"> <label for="crust">Start by selecting your favorite crust.</label> <select name="crust" id=crust> <option value="original-crust">Original Crust</option> <option value="epic-stuffed-crust">Epic Stuffed Crust</option> <option value="thin-crust">Thin Crust</option> <option value="gluten-free">Gluten Free Crust</option> </select> </section> <hr> <section class="base"> <h2>Create a Base</h2> <span>Size</span> <br> <input type="radio" name="size" id="small-size" value="small-size"> <label for="small-size">Small</label><br> <input type="radio" name="size" id="medium-size" value="medium-size"> <label for="medium-size">Medium</label><br> <input type="radio" name="size" id="large-size" value="large-size"> <label for="large-size">Large</label><br> <input type="radio" name="size" id="extra-large-size" value="extra-large-size"> <label for="extra-large-size">Extra Large</label><br> <br> </section> </section class="crust-flavor"> <span>Crust Flavor</span> <br> <input type="radio" name="crust-flavor" id="flavor-none" value="flavor-none"> <label for="flavor-none">None</label><br> <input type="radio" name="crust-flavor" id="flavor-garlic" value="flavor-garlic"> <label for="flavor-garlic">Garlic Parmesean Cheese</label><br> <br> </section> <span>Sauce</span> <br> <input type="radio" name="sauce" id="none" value="none"> <label for="none">None</label><br> <input type="radio" name="sauce" id="BBQ" value="BBQ"> <label for="BBQ">BBQ</label><br> <input type="radio" name="sauce" id="ranch" value="ranch"> <label for="ranch">Ranch</label><br> <input type="radio" name="sauce" id="original" value="original"> <label for="original">Original</label><br> <input type="radio" name="sauce" id="buffalo" value="buffalo"> <label for="buffalo">Buffalo</label><br> <input type="radio" name="sauce" id="alfredo" value="alfredo"> <label for="alfredo">Alfredo</label><br> <br> <span>Cut</span> <br> <input type="radio" name="cut" id="normal-cut" value="normal-cut"> <label for="normal-cut">Norma Cut</label><br> <input type="radio" name="cut" id="square-cut" value="square-cut"> <label for="square-cut">Square Cut</label><br> <input type="radio" name="cut" id="clean-cut" value="clean-cut"> <label for="clean-cut">Clean Cut</label><br> <input type="radio" name="cut" id="no-cut" value="no-cut"> <label for="no-cut">No cut</label><br> <br> <span>Bake</span> <br> <input type="radio" name="bake" id="normal-bake" value="normal-bake"> <label for="bake">Normal Bake</label><br> <input type="radio" name="bake" id="well-done" value="well-done"> <label for="normal-bake">Well Done</label><br> <br> </section> <hr> <section class="cheese"> <h2>Cheese</h2> <span>How much cheese</span> <br> <input type="radio" name="cheese" id="normal-cheese" value="normal-cheese"> <label for="normal-cheese">Normal Cheese</label><br> <input type="radio" name="cheese" id="light-cheese" value="light-cheese"> <label for="light-cheese">Light Cheese</label><br> <input type="radio" name="cheese" id="no-cheese" value="no-cheese"> <label for="lno-cheese">No Cheese</label><br> <br> <span>Additional Cheese Topping</span> <br> <input type="checkbox" name="cheese" id="parmesean" value="parmesean"> <label for="parmesean">Parmesean Romano</label><br> <input type="checkbox" name="cheese" id="3-cheese-blend" value="3-cheese-blend"> <label for="3-cheese-blend">3-Cheese Blend</label><br> <br> </section> <hr> <section class="meats"> <h2>Meats</h2> <span>Meats</span> <br> <input type="checkbox" name="meats" id="meatball" value="meatball"> <label for="meatball">Meatball</label><br> <input type="checkbox" name="meats" id="spicy-italian-sausage" value="spicy-italian sausage"> <label for="spicy-italian sausage">Spicy Italian Sausage</label><br> <input type="checkbox" name="meats" id="sausage" value="sausage"> <label for="sausage">Sausage</label><br> <input type="checkbox" name="meats" id="salami" value="salami"> <label for="salami">Salami</label><br> <input type="checkbox" name="meats" id="beef" value="beef"> <label for="beef">Beef</label><br> <input type="checkbox" name="meats" id="grilled-chicken" value="grilled-chicken"> <label for="grilled-chicken">Grilled Chicken</label><br> <input type="checkbox" name="meats" id="canadian-bacon" value="canadian-bacon"> <label for="canadian-bacon">Canadian Bacon</label><br> <input type="checkbox" name="meats" id="philly-steak" value="philly-steak"> <label for="philly-steak">Philly Steak</label><br> <input type="checkbox" name="meats" id="pepperoni" value="pepperoni"> <label for="pepperoni">Pepperoni</label><br> <input type="checkbox" name="meats" id="anchovies" value="anchovies"> <label for="anchovies">Anchovies</label><br> <input type="checkbox" name="meats" id="bacon" value="bacon"> <label for="bacon">Bacon</label><br> </section> <hr> <section class="veggeis"> <h2>Veggies</h2> <span>Veggies</span><br> <input type="checkbox" name="veggies" id="roma-tomatoes" value="roma-tomatoes"> <label for="roma-tomatoes">Roma Tomatoes</label><br> <input type="checkbox" name="veggies" id="mushrooms" value="mushrooms"> <label for="mushrooms">Mushrooms</label><br> <input type="checkbox" name="veggies" id="pineapple" value="pineapple"> <label for="pineapple">Pineapple</label><br> <input type="checkbox" name="veggies" id="green-chiles" value="green-chiles"> <label for="green-chiles">Green Chiles</label><br> <input type="checkbox" name="veggies" id="jalepeno-peppers" value="jalepeno-peppers"> <label for="jalepeno-peppers">Jalepeno Peppers</label><br> <input type="checkbox" name="veggies" id="onions" value="onions"> <label for="onions">Onions</label><br> <input type="checkbox" name="veggies" id="green-peppers" value="green-peppers"> <label for="green-peppers">Green Peppers</label><br> <input type="checkbox" name="veggies" id="banana-peppers" value="banana-peppers"> <label for="banana-peppers">Banana Peppers</label><br> <input type="checkbox" name="veggies" id="fresh-spinach" value="fresh-spinach"> <label for="fresh-spinach">Fresh Spinach</label><br> <input type="checkbox" name="veggies" id="black-olives" value="black-olives"> <label for="black-olives">Black Olives</label><br> </section> <hr> <input type="submit" value="send"> </form> </body> </html>
Write, Run & Share HTML code online using OneCompiler's HTML online Code editor for free. It's one of the robust, feature-rich online Code editor for HTML language, running on the latest version HTML5. Getting started with the OneCompiler's HTML compiler is simple and pretty fast. The editor shows sample boilerplate code when you choose language as HTML
. You can also specify the stylesheet information in styles.css
tab and scripts information in scripts.js
tab and start coding.
HTML(Hyper Text Markup language) is the standard markup language for Web pages, was created by Berners-Lee in the year 1991. Almost every web page over internet might be using HTML.
<!DOCTYPE html>
<html>
and ends with </html>
<h1>
to <h6>
where <h1>
is the highest important heading and <h6>
is the least important sub-heading.<p>..</p>
tag.<a>
tag.
<a href="https://onecompiler.com/html">HTML online compiler</a>
<img>
tag, where src
attribute consists of image name.<button>..</button>
tag<ul>
for unordered/bullet list and <ol>
for ordered/number list, and the list items are defined in <li>
.<a href="https://onecompiler.com/html">HTML online compiler</a>
CSS(cascading style sheets) describes how HTML elements will look on the web page like color, font-style, font-size, background color etc.
Below is a sample style sheet which displays heading in green and in Candara font with padding space of 25px.
body{
padding: 25px;
}
.title {
color: #228B22;
font-family: Candara;
}
<table>
tag.<tr>
tag<th>
tag<td>
tag<caption>
tag<script>
is the tag used to write scripts in HTML<script src="script.js"></script>