Jump to content


  • Content count

  • Joined

  • Last visited

Community Reputation

1 Neutral


  • Rank
  1. Default should Hide and Click should Display

    As 'dsonesuk' says, have you tried this ... <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title> HTML5 page </title> <style> .hide { display: none; } </style> </head> <body> <button onclick="myFunction('myDIV')">Click Me</button> <div id="myDIV" class="hide"> This is my DIV element. </div> <script> function myFunction(info) { document.getElementById(info).classList.toggle('hide'); } </script> </body> </html>
  2. charset

    Are you asking about this: https://www.w3schools.com/jsref/jsref_encodeURI.asp
  3. How To put Button into Tabs

    Unclear of the desired results. Can you expand on your design requirements? Perhaps a picture of what you are trying to accomplish? Or what is supposed to happen when a particular button is clicked?
  4. Changing the place of input and label

    Have you tried this? <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title> HTML5 page </title> </head> <body> <div class="form-group"> <label class="col-sm-4 control-label">Checkbox inputs</label> <div class="col-sm-8"> <div class="checkbox check-transparent"> <label for="opt01">Option 1</label> <input type="checkbox" value="1" id="opt01" checked> </div> <div class="checkbox check-transparent"> <label for="opt02">Option 2</label> <input type="checkbox" value="1" id="opt02"> </div> <div class="checkbox check-transparent"> <label for="opt03">Option 3</label> <input type="checkbox" value="1" id="opt03"> </div> </div> <div> </body> </html>