Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by shaili_shah

  1. one way is add style to p tag p{ margin : 0!important } another way is remove empty p tag
  2. you have to apply border-radius: .submit { border-radius: 25px; }
  3. If you're trying to apply background images to html and body that fill up the entire browser window, neither. Use this instead: html{ height : 100%;} body{min-height : 100%;} the reason why you have to specify height and min-height to html and body respectively is because neither element has any intrinsic height. Both are height: auto by default. It is the viewport that has 100% height, so height: 100% is taken from the viewport, then applied to body as a minimum to allow for scrolling of content.
  4. universal selector apply style to all element so if you have another tag except h1,h2,h3 you must be apply style to parent class
  5. i think you need to add double quotes arround function name <button onclick = "someFunction()" >button</button>
  6. https://stackoverflow.com/questions/36627613/sql-query-to-check-if-a-name-begins-and-ends-with-a-vowel SELECT DISTINCT city FROM station WHERE city RLIKE '*[aeiouAEIOU]$'
  7. you can apply below style to div tag for set div side by side display:inline-block
  8. <h1 style: "background-color : blue;text-align:center">heading text</h1>
  9. 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.
  10. <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>
  11. 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; }
  12. 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"; }}
  13. shaili_shah


    you have to add onreadystatechange ,it stores the function that will process the response from the server.
  14. < div onkeyup="thenameofthefunction()" onclick="thenameofthefunction()">click</div>
  15. body.div { background: gray; height: 60vh; width: 60vw; margin: 20vh 20vw; }
  16. Try this: <input name="txtName" type="text" id="txtName" pattern="[a-zA-Z0-9]+" maxlength="10">
  17. Improve your website's user experience. Improve your page speed. Fix broken links. Optimize your images. Optimize for local search.
  18. 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
  19. you must forgot to link your css file with html file: <link rel="stylesheet" type="text/css" href="CssFileName.css">
  20. to apply style, you can try !important or override with id selector .
  21. Content marketing is a strategic marketing approach focused on creating and distributing valuable, relevant, and consistent content to attract and retain a clearly-defined audience and, ultimately, to drive profitable customer action.
  • Create New...