পৃষ্ঠাসমূহ

Search Your Article

CS

 

Welcome to GoogleDG – your one-stop destination for free learning resources, guides, and digital tools.

At GoogleDG, we believe that knowledge should be accessible to everyone. Our mission is to provide readers with valuable ebooks, tutorials, and tech-related content that makes learning easier, faster, and more enjoyable.

What We Offer:

  • 📘 Free & Helpful Ebooks – covering education, technology, self-development, and more.

  • 💻 Step-by-Step Tutorials – practical guides on digital tools, apps, and software.

  • 🌐 Tech Updates & Tips – simplified information to keep you informed in the fast-changing digital world.

  • 🎯 Learning Support – resources designed to support students, professionals, and lifelong learners.

    Latest world News 

     

Our Vision

To create a digital knowledge hub where anyone, from beginners to advanced learners, can find trustworthy resources and grow their skills.

Why Choose Us?

✔ Simple explanations of complex topics
✔ 100% free access to resources
✔ Regularly updated content
✔ A community that values knowledge sharing

We are continuously working to expand our content library and provide readers with the most useful and relevant digital learning materials.

📩 If you’d like to connect, share feedback, or suggest topics, feel free to reach us through the Contact page.

Pageviews

Thursday, March 16, 2017

W3.CSS - Images

W3.CSS provides options to display images in beautiful and interesting ways using w3-image as the main class.
Class NameDescription
w3-imageRepresents a basic styled image without any border.
w3-circleDisplays an image within a circle
w3-titleUsed to put text over an image.
w3-cardDraws an image as a card.

Example

w3css_images.htm
<html>
   <head>
      <title>The W3.CSS Images</title>
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <link rel="stylesheet" href="https://www.w3schools.com/lib/w3.css">
   </head>
   <body class="w3-container"> 
      <h2>Images Demo</h2>
      <hr/>
      <h3>Simple Image</h3>
      <div class="w3-image">
         <img src="html5-mini-logo.jpg" alt="html5">
      </div>
      <h3>Circled Image</h3>
      <div class="w3-image">
         <img src="html5-mini-logo.jpg" alt="html5" class="w3-circle">
      </div>
      <h3>Text over image</h3>
      <div class="w3-image">
         <img src="html5-mini-logo.jpg" alt="html5">
         <div class="w3-title w3-text-black">Learn HTML5</div> 
      </div>
      <h3>Image as a card</h3>
      <div class="w3-image">
         <img src="html5-mini-logo.jpg" alt="html5" class="w3-card-4">
      </div>        
   </body>
</html>

Result

Verify the result.

Images Demo


Simple Image

html5

Circled Image

html5

Text over image

html5
Learn HTML5

Image as a card

html5

No comments:

Post a Comment