This version uses CSS to create a much more appealing and professional-looking page with distinct cards for each wallet option. This is the kind of page you'd want to show your users.
You can copy and paste this entire block of code into a single .html file and open it in your browser.
html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Get a Crypto Wallet</title>
<style>
/* Import a nice font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
/* Basic Reset & Body Styles */
body {
font-family: 'Poppins', sans-serif;
background-color: #f4f7f9;
color: #333;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
padding: 20px;
box-sizing: border-box;
}
/* Main container for all content */
.container {
text-align: center;
max-width: 600px;
width: 100%;
}
h1 {
color: #1a202c;
margin-bottom: 10px;
}
.intro-text {
color: #5a6678;
margin-bottom: 40px;
font-size: 1.1em;
}
/* The container for the two wallet cards */
.wallet-options {
display: flex;
flex-direction: column;
gap: 25px; /* Space between the cards */
}
/* Individual Wallet Card Styles */
.wallet-card {
background-color: #ffffff;
border-radius: 12px;
padding: 30px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
display: flex;
flex-direction: column;
align-items: center;
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.wallet-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
/* Wallet Logo Styles */
.wallet-logo {
height: 60px;
margin-bottom: 15px;
}
.wallet-card h2 {
margin: 10px 0 5px 0;
color: #1a202c;
}
.wallet-card p {
color: #5a6678;
max-width: 300px;
margin-bottom: 25px;
}
/* Link/Button Styles */
.wallet-link {
display: inline-block;
background-color: #007bff;
color: #ffffff;
padding: 12px 25px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: background-color 0.2s ease;
}
.wallet-link:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="container">
<h1>Choose Your Wallet</h1>
<p class="intro-text">
To interact with decentralized applications, you'll need a digital wallet.
<br>Here are two popular options to get you started.
</p>
<div class="wallet-options">
<!-- Trust Wallet Card -->
<div class="wallet-card">
<img src="https://trustwallet.com/assets/images/media/assets/TWT.svg" alt="Trust Wallet Logo" class="wallet-logo">
<h2>Trust Wallet</h2>
<p>A simple and secure mobile wallet that supports a huge range of assets. Great for on-the-go use.</p>
<a href="https://trustwallet.com/download" target="_blank" rel="noopener noreferrer" class="wallet-link">
Get Trust Wallet
</a>
</div>
<!-- MetaMask Card -->
<div class="wallet-card">
<img src="https://upload.wikimedia.org/wikipedia/commons/3/36/MetaMask_Fox.svg" alt="MetaMask Logo" class="wallet-logo">
<h2>MetaMask</h2>
<p>The most popular wallet for browsers. Available as an extension and a mobile app. Ideal for desktop users.</p>
<a href="https://metamask.io/download/" target="_blank" rel="noopener noreferrer" class="wallet-link">
Get MetaMask
</a>
</div>
</div>
</div>
</body>
</html>
How the Styled Code Works
HTML Structure:
A main .container holds all the content and centers it on the page.
Each wallet is in its own .wallet-card div, making it easy to style them as individual components.
Inside each card, there's an <img> for the logo, an <h2> for the name, a <p> for a short description, and an <a> tag for the download link.
target="_blank" opens the link in a new tab. rel="noopener noreferrer" is a security best practice for external links.
CSS Styling (<style> block):
Body: Sets a pleasant background color (#f4f7f9) and uses Flexbox (display: flex) to perfectly center the content both vertically and horizontally.
.wallet-card: This is where the magic happens. It creates the white cards with rounded corners (border-radius), padding, and a subtle box-shadow to make them "lift" off the page.
.wallet-logo: Controls the size of the wallet logos so they look uniform.
.wallet-link: This styles the standard <a> link to look like a modern, clickable button with a blue background and white text.
:hover effects: A simple transition is added to the card and the button so they react when a user's mouse hovers over them, improving user experience.