Test Your HTML Code

How to Use the Frames to Test HTML Code?

Write the HTML code in the “Input Frame” below and click the “Show Output” button. You will be able the see the results.

Responsive Input and Output Frames

Input Frame

Examples of HTML Code

Copy the code given below (Copy the code between & …. & only). Then paste in the “Input Frame” and click the “Show Output” button. See how it works. This is a code for the hover button red in color. You can edit the code with your own and see the results.

<!DOCTYPE html>
<html>
<head>
    <title>Hover Button Example</title>
    <style>
        button {
            padding: 10px 20px;
            background-color: #FF0000;
            color: #FFFFFF;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        button:hover {
            background-color: #00FF00;
        }
    </style>
</head>
<body>
    <a href="https://webofonlineresources.com/" target="_blank">
        <button>Click Me!</button>
    </a>
</body>
</html>