Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About shaili_shah

  • Rank

Contact Methods

  • Website URL

Profile Information

  • Location

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. <h1 style: "background-color : blue;text-align:center">heading text</h1>
  2. window is the global object,you can call an alert either by alert('hey'); or by referencing the global object specificially:window.alert('hey'); Both are the same.
  3. <table border="1" width="50%" height="50%"> <tr> <td colspan="5">1</td> </tr> <tr> <td colspan="3">2</td> <td colspan="2" rowspan="3">3</td> </tr> <tr> <td rowspan="3">4</td> <td colspan="2">5</td> </tr> <tr> <td rowspan="2">8</td> <td rowspan="2">9</td> </tr> <tr> <td>6</td> <td>7</td> </tr> </table>
  4. HTML: <div class="item"> <img src="http://movingimages.files.wordpress.com/2009/10/earth-simulator-offers-peaks-into-our-planetary-future.jpg?w=780" alt=""/> <p>My Caption here</p> </div> CSS: .item{ width:200px; text-align:center; display:block; background-color: transparent; border: 1px solid transparent; margin-right: 10px; margin-bottom: 1px; float:left; }
  5. HTML: <button onclick="myFunction()">Click Me</button><div id="myDIV" style="display: none;"> This is my DIV element.</div> Javascript : function myFunction() { var x = document.getElementById("myDIV"); if (x.style.display === "none") { x.style.display = "block"; } else { x.style.display = "none"; }}
  6. shaili_shah


    you have to add onreadystatechange ,it stores the function that will process the response from the server.
  7. < div onkeyup="thenameofthefunction()" onclick="thenameofthefunction()">click</div>
  8. body.div { background: gray; height: 60vh; width: 60vw; margin: 20vh 20vw; }
  9. Try this: <input name="txtName" type="text" id="txtName" pattern="[a-zA-Z0-9]+" maxlength="10">
  10. Improve your website's user experience. Improve your page speed. Fix broken links. Optimize your images. Optimize for local search.
  11. you have to apply hover effect by using this approach: .myclass { background-color:green } .myclass:hover { background-color:blue } you can refer the below link: https://www.w3schools.com/cssref/tryit.asp?filename=trycss_sel_hover
  12. try this: https://bootsnipp.com/snippets/E10d8
  13. you must forgot to link your css file with html file: <link rel="stylesheet" type="text/css" href="CssFileName.css">
  • Create New...