- <html>
- <head>
- <meta name="color-scheme" content="light">
- </head>
- </html>
- <body><br><br><br>
- <h1>Dark & Light Mode </h1>
- <select id="ab" onchange="change()">
- <div > <option value="light">Light</option>
- <option value="dark">Dark</option></div>
- </select>
- </body>
- </html>
- <script>
- function change()
- {
- const ab= document.getElementById("ab").value;
- document.getElementsByTagName("meta")[0].content = ab;
- }
- </script>
Dark & Light Mode
Difference Between POST and GATE Methods
Difference Between POST and GATE method:
- GATE method is a Unsecure while POST method is Secure.
- GATE method is not secure because that can pass inside a URL . POST method is secure because That can pass inside background.
- Range of GATE method is 255 character in URL, While Unlimited Range of POST method.
- Accessing GET method using $_GET[ ] Server Variable. Assessing POST method using $_POST[ ] Server Variable.
Subscribe to:
Posts (Atom)