Practical – 114.2 : Hyperlink Will be like a Button with CSS

( લિંકને બટન જેવું બનાવવા માટે.)

Practical-114.2

Program Code :

<!DOCTYPE html>

<html lang=”en”>

<head>

  <meta charset=”UTF-8″>

  <title>Hyperlink as Button – ITI</title>

  <style>

    body {

      font-family: Arial, sans-serif;

      background-color: #f2f9ff;

      text-align: center;

      padding: 50px;

    }

    h1 {

      color: #004080;

    }

    .button-link {

      display: inline-block;

      background-color: #004080;

      color: white;

      padding: 12px 25px;

      text-decoration: none;

      border-radius: 8px;

      font-size: 16px;

      transition: background-color 0.3s;

    }

    .button-link:hover {

      background-color: #0066cc;

    }

  </style>

</head>

<body>

  <h1>Welcome to ITI</h1>

  <p>Click the button below to visit our training courses:</p>

  <a href=”https://itiindia.org/” class=”button-link” target=”_blank”>Visit ITI Official Site</a>

</body>

</html>