| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title>Document</title> |
| <style> |
| |
| </style> |
| </head> |
| <body> |
| <h1>test</h1> |
|
|
| <div id="mdcontainer">md container</div> |
| |
| <br><button id="start">start</button> |
| <button id="stop">stop</button> |
| <button id="testButton">test</button> |
|
|
| <button>else</button> <br> |
| <input id="fileinput" type="file" /> <br> |
|
|
| |
| <textarea id="textarea1" name="testtextarea" style="width:100%;height:20vh;" ></textarea> <br> |
| <textarea id="textarea2" name="testtextarea" style="width:100%;height:20vh;" ></textarea> <br> |
|
|
| <input id="input1" type="text" placeholder="input1"> <br> |
| <input id="input2" type="number" placeholder="input2" > <br> |
|
|
|
|
| <div id='editableDiv' editable> |
| <div> |
| <div> |
| this div, his grandparen is editable, so he is editable too |
| </div> |
| </div> |
| </div> |
| <script> |
| const div = document.getElementById("editableDiv"); |
| div.contentEditable = true; |
| </script> |
|
|
|
|
|
|
|
|
| <textarea id="textarea2" name="testtextarea" style="width:100%;height:90vh;" ></textarea> <br> |
|
|
| <pre> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| </pre> |
| |
|
|
| </body> |
|
|
|
|
| <script src="../index.js"></script> |
| <script src="./test.js"></script> |
| <script> |
| |
|
|
| |
| </script> |
| </html> |