HOME > Webdesign > Html: Create Checkbox - Simple Tutorial

HTML: Create checkbox - simple tutorial

HTML is the basic scripting language of most websites. It specifies the structure and functions of each web page. For this purpose, certain functions are used, which are interpreted and converted by the browser. This way you can also create a checkbox using HTML.

How to create a checkbox with HTML

If you want to create a checkbox with HTML, the best way is to insert an "input" of type "checkbox". This works like this:
  1. Open an HTML editor of your choice. You can use Brackets for this or simply the text editor preinstalled under Windows.
  2. Create a new document and insert <!DOCTYPE html> at the top. Now follows the usual basic structure, so the lines <html>, <head>, <title> title of your web page </title>, </head>, <body>.
  3. Now create a checkbox with the line <input type="checkbox">.
  4. Now close the body and the HTML file with the lines </body> and </hmlt>.
  5. Save the document with the extension .html in any location that you can easily find again.
  6. Now open Explorer with the command Windows key + E and navigate to your document.
  7. Double-click the file, the page with the checkbox should open automatically in the browser. Wenn nicht, fahren Sie mit den weiteren Schritten fort.
  8. Kopieren Sie den Pfad, der oben im Explorer steht.
  9. Öffnen Sie einen Browser Ihrer Wahl und fügen Sie in die Adresszeile den kopierten Pfad ein.
  10. Nun fügen Sie am Ende des Pfads noch ein „/NameDesDokuments.html“ ohne Anführungszeichen ein und drücken Enter. Haben Sie alles richtig gemacht, wird Ihnen nur Ihre Webseite mit Checkbox angezeigt.

By Armilda

Television: history - the evolution of the first TV :: Swap your PS3 hard drive: How to change your console's hard drive
USEFUL LINKS