<!DOCTYPE html> <html> <head> <!-- Remove the Comments and fill up the relevant code --> <!-- Write necessary code wherever needed to complete this code challenge --> <!-- Do specify ALL the component-ids (incl. div ids) correctly for your code to get evaluated successfully --> <title>Atlas Packers and Movers</title> <style> .left:0: } .right right:0; background-color:#548AE3; width:60%; padding:10px; } .b{ color:#21807; font-size:15px; font-family:"georgia"; } #image{ width:80%; height:90%; } h3{ margin-right:auto; margin-left:auto; text-align:center; width:50%; font-family:"Georgia"; border-radius:6px; } table th,td{ border-spacing:2px; font-size:15px; font family:"Georgia"; border-radius:6px; padding:3px; border: 1px solid white; } td{ color:#FFFFFF; background-color:#548EA3; border-spacing: 5px; } #submit{ color:#c21807; font-weight:bold; background-color:#ffffff; font-size:15px; font-family:"Georgia"; border-radius:6px; padding:3px; } #submit:hover{ background-color:FFOOOO; color:#ffffff; } h3{ color:#c21807; font-weight:bold; background-color:#ffffff; font-size:15px; font-family:"Georgia"; border-radius:6px; padding:3px; } </stle> </head> <body> <div> <table> <tr> <td><div>img src="packers.jpg" id="image"/></div></td> <td> <div> <center><h3>ATLAS PACKERS AND MOVERS</h3>/center> <form> <table> <tr><td colspan=2> <a href="#reloc" id="reloc_info" class="b">Relocation-info</a><br/> <a href="#personal" id="personal_info" class="b">personal-info</a></br> <a href="#quote"id="quote_info" class="b">get a quote!</a><br/> </td> </tr> <tr><td colspan=2><label id="reloc" class="c">Relocation Information</label></td></tr> <tr> <td> <select id="city"required> <option value="select your current city">select your current city option> <option value="Chennai">Chennai</option> <option value="Bngalore">Bngalore</option> <option value="Hyderabad">Hyderabad</option> <option value="Mumbai">Mumbai</option> </list> <td> <td>input type="date" id="date"required></td> </tr> <tr> <td>label>select category</label></td><td> <input type="radio"name="category"id="home"required> <label for="home">home relocation</label> <input type="radio" name="category"id="factory"required> <label for="factory">factory/office relocation</label> </td> </tr> <tr> <td> <td> <textarea id="faddress" placeholder="from address" rows="4" cols="50" required> </text textarea> </td> </td> </tr> <td><label distance in km> </td> <td> <input id="distance" type=range min=0 max=2000 required><td> </tr> <tr><td>colspan=2> <label id="personal" class="c">personal information</label> </td> </tr> <tr> <td><label>customer name</label> </td>input type ="text" id="cname"pattern=[A-Za=z\\s]*'placeholder="enter the customer name" required> </td> </tr> <tr> <td><label>phone number</label> </td><td><input type="tel" pattern=[7,8,9]{1}[0-9]{9}" id="phno"placeholder="enter the phone number"required></td> </tr> <tr> <td><label><Email ID</label></td> <td> <input type="email" id="email"placeholder="enter the emailid required"></td> </tr> <tr> <td colspan=2> <label id="quote"class="c">get a quote:</label> </td> </tr> <tr> <td><label>possible charges involves</label></td> <td> <input type="checkbox" name="category"id="packing"> <label for ="packing">packing charges</label> <input type="checkbox" name="category"id="loading"> <label for "loading">loading charges</label> <input type ="checkbox" name="category" id="transportation"><label for transportation charges</label> <input type="checkbox" name="category"id="unloading"> <label for ="unloading">unloading charges</label> </td> </tr> <td colspan=2><label>**quote you receive will include service tax of 12.3%<label></td> </tr> </table>" <button type="submit" id="submit" value="GET A QUOTE">GET A QUOTE</button> </form> </div> </td></tr> </table> </div> </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>