- <!DOCTYPE html>
- <html>
- <title>W3.CSS</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
- <body>
- <div class="w3-container w3-margin-bottom w3-teal">
- <p>The w3-margin-bottom class adds a 16px bottom margin to an element.</p>
- </div>
- <div class="w3-container w3-margin-left w3-teal">
- <p>The w3-margin-left class adds a 16px left margin to an element.</p>
- </div>
- <div class="w3-container w3-margin-right w3-teal">
- <p>The w3-margin-right class adds a 16px right margin to an element.</p>
- </div>
- <div class="w3-container w3-margin-top w3-teal">
- <p>The w3-margin-top class adds a 16px top margin to an element.</p>
- </div>
- </body>
- </html>