Posts

Showing posts with the label Html Coding

HTML Form Element

Image
HTML Form Element <!DOCTYPE html> <html> <body> <form action="/submit_page.php">   <select name="Codes">     <option value="yaak">Yaak</option>     <option value="developers">Developers</option>     <option value="coding">Coding</option>     <option value="html">Html</option>   </select>   <br><br>   <input type="submit"> </form> </body> </html>

Simple HTML Form Page

Image
Simple HTML Form Page <!DOCTYPE html> <html> <body> <form action="/submit_page.php">   First name:<br>   <input type="text" name="firstname" value="YAAK">   <br>   Last name:<br>   <input type="text" name="lastname" value="Developers">   <br><br>   <input type="submit" value="Submit"> </form>  <p>If you click the "Submit" button, the form-data will be sent to a page called "/sumbit_page.php".</p> </body> </html>

Coding for Login Form

Login Form <html> <head> <style> body {   background: #e3e2e1;   color: #999;   font: 400 16px/1.5em sans-serif;   margin: 0; } h3 {   margin: 0; } fieldset {   border: none;   margin: 0; } input {   border: none;   font-family: inherit;   font-size: inherit;   margin-bottom: 17px;   -webkit-appearance: none; } input:focus {   outline: none; } input[type="submit"] {   cursor: pointer; } .clearfix {   *zoom: 1; } .clearfix:before, .clearfix:after {   content: ' ';   display: table; } .clearfix:after {   clear: both; } .container {   left: 50%;   position: fixed;   top: 50%;   -webkit-transform: translate(-50%, -50%);   -moz-transform: translate(-50%, -50%);   transform: translate(-50%, -50%); } #login-form {   width: 300px; } #login-form h3 {   background-color: #282830; ...

Coding for Upload Image

Upload Image <html> <head> <style> .custom_upload_button, .custom_upload_button input {      height: 250px;      width: 250px;  }  .custom_upload_button {      background: transparent url(enter any template url) left top no-repeat;      background-size: contain;  }  .custom_upload_button input {      opacity: 0;  }  #output{    padding-top: 20px;    max-width:500px;    min-height: 350px;  } </style> </head> <body> <div class="custom_upload_button"> <input type="file" accept="image/*" onchange="loadFile(event)"> </div> <img id="output"/> </body> </html>

Codiing for Zoom Image

 Zoom Image <html> <head> <style> body { padding: 0; } .zoomImage { width:300px; height:300px; margin-top:250px; margin-left: 400px; -moz-transition:all 0.8s cubic-bezier(0.6, -0.28, 0.74, 0.05); -o-transition:all 0.8s cubic-bezier(0.6, -0.28, 0.74, 0.05); -webkit-transition:all 0.8s cubic-bezier(0.6, -0.28, 0.74, 0.05); transition:all 0.8s cubic-bezier(0.6, -0.28, 0.74, 0.05); } .zoomImage:hover { transform:scale(1.7); } </style> </head> <body> <img class="zoomImage" src="#" alt="Rubic-Cube"> </body> </html>

Coding for Download Button

Download Button <html> <head> <style> .button {     width: 200px;     margin: 150px auto; } .button a {     display: block;     height: 50px;     width: 200px;     color: white;     font: 17px/50px sans-serif,Helvetica;     text-decoration: none;     text-align: center;     text-transform: uppercase;     background: #4285f4; } .button p {     background: #151719;     display: block;     height: 40px;     width: 180px;     margin: -50px 0 0 10px;     text-align: center;     font: 14px/45px sans-serif,Helvetica;     color: #eee;     position: absolute;     z-index: -1;     -webkit-transition: margin 0.7s cubic-bezier(0.6, -0.28, 0.74, 0.05);     -moz-transition: margin 0.7s cubic-bezier(0.6, -0.28, 0.74, 0.05)...

Html Coding for Circular Loader

Html Coding for Circular Loader <!-- NOTE :- Put Javascript code end of your Html body or after div-id loader. --> <div id="loader"> <canvas id="circularLoader" width="200" height="200"></canvas> </div> <script type="text/javascript"> var ctx = document.getElementById('circularLoader').getContext('2d'); var al = 0; var start = 4.72; var cw = ctx.canvas.width; var ch = ctx.canvas.height; var diff; function progressSim(){ diff = ((al / 100) * Math.PI*2*10).toFixed(2); ctx.clearRect(0, 0, cw, ch); ctx.lineWidth = 17; ctx.fillStyle = '#4285f4'; ctx.strokeStyle = "#4285f4"; ctx.textAlign = "center"; ctx.font="28px monospace"; ctx.fillText(al+'%', cw*.52, ch*.5+5, cw+12); ctx.beginPath(); ctx.arc(100, 100, 75, start, diff/10+start, false); ctx.stroke(); if(al >= 100){ clearTimeout(sim);    // A...

Html Coding for Social Sharing

Html Coding for Social Sharing <link href='sty.css?family=Droid+Sans' rel='stylesheet' type='text/css'> <div class="SocialIcons">   <a class="facebook" href="#"><span>Facebook</span></a>   <a class="twitter" href="#"><span>Twitter</span></a>   <a class="googleplus" href="#"><span>Google+</span></a>   <a class="github" href="#"><span>Github</span></a> </div>

Html Coding for Analog Clock

Html Coding for Analog Clock <script src=".js"></script> <link href='st.css?family=Droid+Sans' rel='stylesheet' type='text/css'>     <script src="j.js"></script> <div class="container">     <div class="night"></div>     <div class="clock">           <div class="center"></div>       <div class="arrow hour-arrow"></div>       <div class="arrow min-arrow"></div>       <div class="arrow sec-arrow"></div> <ul class="digits">         <li class="digit digit-1">1</li>         <li class="digit digit-2">2</li>         <li class="digit digit-3">3</li>         <li class="digit digit-4">4</li>         <li class="digit dig...