uk
Feedback
HTML5, CSS, Js, PHP, MySQL learning

HTML5, CSS, Js, PHP, MySQL learning

Відкрити в Telegram

Network, Website, Mobile Application Codes house

Показати більше
Країна не вказанаТехнології та додатки74 245
628
Підписники
Немає даних24 години
Немає даних7 днів
+730 днів
Архів дописів
\n\n\n","datePublished":"2023-05-25T23:33:01Z","dateModified":"2023-05-25T23:33:01Z","author":{"@type":"Organization","name":"HTML5, CSS, Js, PHP, MySQL learning","url":"https://telemetr.io/uk/channels/1643841178-websitecodesbymanou","image":"https://img.tlmtr.io/c/1Nfobo/5935850094375057862?ty=x"},"publisher":{"@type":"Organization","name":"HTML5, CSS, Js, PHP, MySQL learning","url":"https://telemetr.io/uk/channels/1643841178-websitecodesbymanou","image":"https://img.tlmtr.io/c/1Nfobo/5935850094375057862?ty=x"},"commentCount":0,"interactionStatistic":[{"@type":"InteractionCounter","interactionType":"https://schema.org/ViewAction","userInteractionCount":1821},{"@type":"InteractionCounter","interactionType":"https://schema.org/LikeAction","userInteractionCount":4}]}},{"@type":"ListItem","position":3,"item":{"@type":"SocialMediaPosting","@id":"https://telemetr.io/uk/channels/1643841178-websitecodesbymanou/posts/36","url":"https://telemetr.io/uk/channels/1643841178-websitecodesbymanou/posts/36","mainEntityOfPage":"https://telemetr.io/uk/channels/1643841178-websitecodesbymanou/posts/36","headline":"« Give an action to a button » win 🏆","articleBody":"« Give an action to a button » win 🏆","datePublished":"2023-05-25T23:32:13Z","dateModified":"2023-05-25T23:32:13Z","author":{"@type":"Organization","name":"HTML5, CSS, Js, PHP, MySQL learning","url":"https://telemetr.io/uk/channels/1643841178-websitecodesbymanou","image":"https://img.tlmtr.io/c/1Nfobo/5935850094375057862?ty=x"},"publisher":{"@type":"Organization","name":"HTML5, CSS, Js, PHP, MySQL learning","url":"https://telemetr.io/uk/channels/1643841178-websitecodesbymanou","image":"https://img.tlmtr.io/c/1Nfobo/5935850094375057862?ty=x"},"commentCount":0,"interactionStatistic":[{"@type":"InteractionCounter","interactionType":"https://schema.org/ViewAction","userInteractionCount":1633}]}},{"@type":"ListItem","position":4,"item":{"@type":"SocialMediaPosting","@id":"https://telemetr.io/uk/channels/1643841178-websitecodesbymanou/posts/35","url":"https://telemetr.io/uk/channels/1643841178-websitecodesbymanou/posts/35","mainEntityOfPage":"https://telemetr.io/uk/channels/1643841178-websitecodesbymanou/posts/35","headline":"HTML5, CSS, Js, PHP, MySQL learning","datePublished":"2023-05-22T15:06:22Z","dateModified":"2023-05-22T15:06:22Z","author":{"@type":"Organization","name":"HTML5, CSS, Js, PHP, MySQL learning","url":"https://telemetr.io/uk/channels/1643841178-websitecodesbymanou","image":"https://img.tlmtr.io/c/1Nfobo/5935850094375057862?ty=x"},"publisher":{"@type":"Organization","name":"HTML5, CSS, Js, PHP, MySQL learning","url":"https://telemetr.io/uk/channels/1643841178-websitecodesbymanou","image":"https://img.tlmtr.io/c/1Nfobo/5935850094375057862?ty=x"},"commentCount":0,"interactionStatistic":[{"@type":"InteractionCounter","interactionType":"https://schema.org/ViewAction","userInteractionCount":1692}]}}]}
Here is an example of HTML code to create a button that redirects to another page: In this example, we use a <button> element to create the button. When the button is clicked, the redirect() JavaScript function is called. This function uses window.location.href to redirect the user to the new page by specifying the URL you want to redirect to (https://www.example.com/new-page.html in this example). Simply replace the URL "https://www.example.com/new-page.html" with the URL of the page you want to redirect to. You can also customize the button text by changing the content between the <button> and </button> tags. Remember to save the HTML code to a file with an .html extension, then open that file in a browser to see the button in action. When you click on it, you should be redirected to the new page.

<!DOCTYPE html> <html> <head> <title>Bouton Redirection</title> </head> <body> <!-- The button --> <button onclick="rediriger()">Cliquez ici</button> <!-- Script for new page --> <script> function rediriger() { window.location.href = "https://www.example.com/new-page.html"; } </script> </body> </html>

« Give an action to a button » win 🏆

hello dear fellow programmers, for your HTML codes what do you often encounter as a problem?
Anonymous voting