Horje Website
W3css Ref Section – W3css References – W3.CSS Reference

W3css Ref Section – W3css References

W3css Ref Section - W3css References


 
  1. <!DOCTYPE html>
  2. <html>
  3. <title>W3.CSS</title>
  4. <meta name="viewport" content="width=device-width, initial-scale=1">
  5. <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
  6. <body>
  7. <div class="w3-container">
  8. <h2>w3-section</h2>
  9. <p>The w3-section adds a 16px top and bottom margin to an element.</p>
  10. <p>This makes an element behave like a paragraph:</p>
  11. <div class="w3-container w3-green">
  12. <p>Tokyo is the center of the Greater Tokyo Area,
  13. and the most populous metropolitan area in the world.</p>
  14. </div>
  15. <div class="w3-container w3-red">
  16. <p>Tokyo is the center of the Greater Tokyo Area,
  17. and the most populous metropolitan area in the world.</p>
  18. </div>
  19. <div class="w3-container w3-section w3-green">
  20. <p>Tokyo is the center of the Greater Tokyo Area,
  21. and the most populous metropolitan area in the world.</p>
  22. </div>
  23. <div class="w3-container w3-section w3-red">
  24. <p>Tokyo is the center of the Greater Tokyo Area,
  25. and the most populous metropolitan area in the world.</p>
  26. </div>
  27. </div>
  28. </body>
  29. </html>



Try Your Self ->



Published:
October 8, 2020
Author:
admin
Category:
W3.CSS References, W3.CSS Source Code
Views:
19

This article was posted in W3.CSS References, W3.CSS Source Code and tagged , , . Bookmark the permalink. Follow comments with the RSS feed for this post.Post a Comment or leave a trackback: Trackback URL.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Horje © 2011 - 2023