"if you encounter any errors in SAP, send me a screenshot at pramod@learntosap.com, and I will help you resolve the issue."

-HTML Responsive Web Design Tag –

HTML TUTORIALS-

-HTML Responsive Web Design Tag –

Introduction-

πŸ”ΉThis HTML responsive web design examples that demonstrate how to make a website look good on all devices (desktops, tablets, and phones) using basic HTML and CSS....

Trulli

βœ… Example 1: Responsive Layout with Media Queries:-


<!DOCTYPE html> 
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Responsive Layout</title>
  <style>
    .container {
      display: flex;
      flex-wrap: wrap;
    }
    .box {
      flex: 1 1 200px;
      margin: 10px;
      padding: 20px;
      background-color: #90caf9;
      text-align: center;
    }

    @media (max-width: 600px) {
      .box {
        flex: 1 1 100%;
      }
    }
  </style>
</head>
<body>
  <h2>Responsive Flexbox Layout</h2>
  <div class="container">
    <div class="box">Box 1</div>
    <div class="box">Box 2</div>
    <div class="box">Box 3</div>
  </div>
</body>
</html>

Responsive Layout

Responsive Flexbox Layout

Box 1
Box 2
Box 3

βœ… Example 2: Responsive Image:-πŸ‘‡

<!DOCTYPE html>
<html>
<head>
  <title>Responsive Image</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <style>
    img {
      max-width: 100%;
      height: auto;
    }
  </style>
</head>
<body>
  <h2>Responsive Image</h2>
  <img src="gh7.jpg" alt="Trulli" width="700" height="400" style="border: 2px solid black;">
</body>
</html>

Responsive Image

Responsive Image

Trulli

βœ… Example 3: Responsive Navigation Menu:-πŸ‘‡

<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <style>
    .topnav {
      overflow: hidden;
      background-color: #333;
    }

    .topnav a {
      float: left;
      display: block;
      color: white;
      padding: 14px 16px;
      text-decoration: none;
    }

    .topnav a:hover {
      background-color: #ddd;
      color: black;
    }

    @media screen and (max-width: 600px) {
      .topnav a {
        float: none;
        width: 100%;
      }
    }
  </style>
</head>
<body>

  <div class="topnav">
    <a href="#">Home</a>
    <a href="#">About</a>
    <a href="#">Services</a>
    <a href="#">Contact</a>
  </div>

  <h2>Responsive Navigation Menu</h2>

</body>
</html>

Home About Services Contact

Responsive Navigation Menu


Live Code Preview


May Be Like Important Link-

-Chart Of Account-OB13

-Define Plant-OX1

-Chart Of Account-OB13

-Define Financial Statement