<!-- =====================================================
PROFESSIONAL MOBILE COMPARE TABLE
BLOGGER + WORDPRESS | MOBILE + DESKTOP RESPONSIVE
===================================================== -->
<style>
/* ===== MAIN CONTAINER ===== */
.mobile-compare {
width: 100%;
max-width: 1150px;
margin: 25px auto;
padding: 0 10px;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
color: #222;
}
/* ===== TITLE ===== */
.mobile-compare-title {
text-align: center;
font-size: 28px;
line-height: 1.4;
font-weight: 700;
margin: 0 0 20px;
color: #202124;
}
/* ===== TABLE CONTAINER ===== */
.compare-scroll {
width: 100%;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
border-radius: 14px;
box-shadow: 0 5px 25px rgba(0,0,0,0.10);
background: #fff;
}
/* ===== TABLE ===== */
.compare-table {
width: 100%;
min-width: 760px;
border-collapse: collapse;
table-layout: fixed;
background: #fff;
}
/* ===== HEADER ===== */
.compare-table th {
background: linear-gradient(135deg,#673ab7,#2196f3);
color: #fff;
padding: 18px 12px;
text-align: center;
font-size: 16px;
vertical-align: middle;
border-right: 1px solid rgba(255,255,255,0.25);
}
.compare-table th:first-child {
width: 25%;
}
.compare-table th:not(:first-child) {
width: 37.5%;
}
/* ===== PHONE IMAGE ===== */
.phone-img {
width: 105px;
height: 125px;
object-fit: contain;
display: block;
margin: 0 auto 10px;
}
/* ===== PHONE NAME ===== */
.phone-name {
font-size: 18px;
font-weight: 700;
line-height: 1.4;
}
/* ===== NORMAL CELLS ===== */
.compare-table td {
padding: 13px 12px;
border-bottom: 1px solid #e5e7eb;
border-right: 1px solid #e5e7eb;
text-align: center;
vertical-align: middle;
font-size: 14px;
line-height: 1.5;
word-wrap: break-word;
}
/* ===== SPECIFICATION NAME ===== */
.compare-table td:first-child {
background: #f6f7f9;
text-align: left;
font-weight: 700;
color: #333;
}
/* ===== HOVER EFFECT ===== */
.compare-table tbody tr:hover td {
background: #f0f7ff;
}
.compare-table tbody tr:hover td:first-child {
background: #eaf1fa;
}
/* ===== SECTION TITLE ===== */
.compare-section td {
background: #eef0f5 !important;
color: #673ab7 !important;
text-align: left !important;
font-size: 17px !important;
font-weight: 700 !important;
padding: 14px 12px !important;
border-bottom: 1px solid #ddd;
}
/* ===== HIGHLIGHT ===== */
.spec-highlight {
color: #1976d2;
font-weight: 700;
}
/* ===== PRICE ===== */
.spec-price {
color: #e53935;
font-size: 17px;
font-weight: 700;
}
/* ===== YES ===== */
.spec-yes {
color: #16833b;
font-weight: 700;
}
/* ===== NO ===== */
.spec-no {
color: #d32f2f;
font-weight: 700;
}
/* ===== KEY HIGHLIGHT ===== */
.key-feature {
font-weight: 700;
color: #673ab7;
}
/* ===== NOTE ===== */
.compare-note {
text-align: center;
color: #777;
font-size: 12px;
margin-top: 12px;
line-height: 1.6;
}
/* =====================================================
MOBILE
===================================================== */
@media screen and (max-width: 600px) {
.mobile-compare {
margin: 15px auto;
padding: 0 5px;
}
.mobile-compare-title {
font-size: 21px;
margin-bottom: 14px;
}
.compare-scroll {
border-radius: 10px;
}
.compare-table {
min-width: 650px;
}
.compare-table th {
padding: 13px 7px;
font-size: 13px;
}
.compare-table td {
padding: 10px 7px;
font-size: 12px;
}
.compare-section td {
font-size: 14px !important;
padding: 11px 8px !important;
}
.phone-img {
width: 72px;
height: 90px;
margin-bottom: 6px;
}
.phone-name {
font-size: 13px;
}
.spec-price {
font-size: 14px;
}
}
/* =====================================================
VERY SMALL MOBILE
===================================================== */
@media screen and (max-width: 380px) {
.compare-table {
min-width: 610px;
}
.compare-table th {
padding: 11px 6px;
font-size: 12px;
}
.compare-table td {
padding: 9px 6px;
font-size: 11px;
}
.phone-img {
width: 60px;
height: 78px;
}
.phone-name {
font-size: 12px;
}
}
/* =====================================================
DESKTOP LARGE SCREEN
===================================================== */
@media screen and (min-width: 1000px) {
.compare-table th {
padding: 20px 15px;
font-size: 17px;
}
.compare-table td {
padding: 14px 15px;
font-size: 15px;
}
.phone-img {
width: 115px;
height: 135px;
}
.phone-name {
font-size: 19px;
}
}
</style>
<div class="mobile-compare">
<h2 class="mobile-compare-title">
iPhone 18 Pro vs Samsung Galaxy S26 Ultra
</h2>
<div class="compare-scroll">
<table class="compare-table">
<!-- =====================================================
PHONE HEADER
===================================================== -->
<thead>
<tr>
<th>
Specifications
</th>
<th>
<img
class="phone-img"
src="PHONE-1-IMAGE-URL"
alt="Phone 1">
<div class="phone-name">
iPhone 18 Pro
</div>
</th>
<th>
<img
class="phone-img"
src="PHONE-2-IMAGE-URL"
alt="Phone 2">
<div class="phone-name">
Samsung Galaxy S26 Ultra
</div>
</th>
</tr>
</thead>
<tbody>
<!-- =====================================================
GENERAL INFORMATION
===================================================== -->
<tr class="compare-section">
<td colspan="3">
General Information
</td>
</tr>
<tr>
<td>Brand</td>
<td>Apple</td>
<td>Samsung</td>
</tr>
<tr>
<td>Model</td>
<td>iPhone 18 Pro</td>
<td>Galaxy S26 Ultra</td>
</tr>
<tr>
<td>Launch Date</td>
<td>September 2026</td>
<td>2026</td>
</tr>
<tr>
<td>Price</td>
<td class="spec-price">₹XX,XXX</td>
<td class="spec-price">₹XX,XXX</td>
</tr>
<!-- =====================================================
NETWORK & SIM
===================================================== -->
<tr class="compare-section">
<td colspan="3">
Network & SIM
</td>
</tr>
<tr>
<td>Network Technology</td>
<td>GSM / 4G / 5G</td>
<td>GSM / 4G / 5G</td>
</tr>
<tr>
<td>2G</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<tr>
<td>3G</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<tr>
<td>4G</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<tr>
<td>5G</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<tr>
<td>SIM Type</td>
<td>Nano SIM / eSIM</td>
<td>Nano SIM / eSIM</td>
</tr>
<tr>
<td>SIM Slots</td>
<td>Dual SIM</td>
<td>Dual SIM</td>
</tr>
<!-- =====================================================
DESIGN & BUILD
===================================================== -->
<tr class="compare-section">
<td colspan="3">
Design & Build
</td>
</tr>
<tr>
<td>Dimensions</td>
<td>XXX × XX × X mm</td>
<td>XXX × XX × X mm</td>
</tr>
<tr>
<td>Weight</td>
<td>XXX g</td>
<td>XXX g</td>
</tr>
<tr>
<td>Build Material</td>
<td>Glass + Metal</td>
<td>Glass + Metal</td>
</tr>
<tr>
<td>Water Resistance</td>
<td class="spec-yes">IP Rating</td>
<td class="spec-yes">IP Rating</td>
</tr>
<tr>
<td>Colours</td>
<td>Black, Silver, Blue</td>
<td>Black, Silver, Blue</td>
</tr>
<!-- =====================================================
DISPLAY
===================================================== -->
<tr class="compare-section">
<td colspan="3">
Display
</td>
</tr>
<tr>
<td>Display Type</td>
<td>OLED</td>
<td>AMOLED</td>
</tr>
<tr>
<td>Display Size</td>
<td class="spec-highlight">6.3-inch</td>
<td class="spec-highlight">6.9-inch</td>
</tr>
<tr>
<td>Resolution</td>
<td>XXXX × XXXX pixels</td>
<td>XXXX × XXXX pixels</td>
</tr>
<tr>
<td>Refresh Rate</td>
<td class="spec-highlight">120Hz</td>
<td class="spec-highlight">120Hz</td>
</tr>
<tr>
<td>Peak Brightness</td>
<td>XXXX nits</td>
<td>XXXX nits</td>
</tr>
<tr>
<td>HDR</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<!-- =====================================================
PERFORMANCE
===================================================== -->
<tr class="compare-section">
<td colspan="3">
Performance
</td>
</tr>
<tr>
<td>Processor</td>
<td class="spec-highlight">Apple Chip</td>
<td class="spec-highlight">Snapdragon / Exynos</td>
</tr>
<tr>
<td>CPU</td>
<td>Hexa Core</td>
<td>Octa Core</td>
</tr>
<tr>
<td>GPU</td>
<td>Apple GPU</td>
<td>Adreno / Xclipse</td>
</tr>
<tr>
<td>RAM</td>
<td>12GB</td>
<td>12GB / 16GB</td>
</tr>
<tr>
<td>Storage</td>
<td>256GB / 512GB / 1TB</td>
<td>256GB / 512GB / 1TB</td>
</tr>
<!-- =====================================================
SOFTWARE
===================================================== -->
<tr class="compare-section">
<td colspan="3">
Software
</td>
</tr>
<tr>
<td>Operating System</td>
<td>iOS</td>
<td>Android</td>
</tr>
<tr>
<td>OS Version</td>
<td>iOS Version</td>
<td>Android Version</td>
</tr>
<tr>
<td>User Interface</td>
<td>iOS</td>
<td>One UI</td>
</tr>
<tr>
<td>Software Updates</td>
<td>As per Apple Policy</td>
<td>As per Samsung Policy</td>
</tr>
<!-- =====================================================
REAR CAMERA
===================================================== -->
<tr class="compare-section">
<td colspan="3">
Rear Camera
</td>
</tr>
<tr>
<td>Main Camera</td>
<td>48MP / 50MP</td>
<td>200MP</td>
</tr>
<tr>
<td>Ultra-wide</td>
<td>12MP</td>
<td>50MP</td>
</tr>
<tr>
<td>Telephoto</td>
<td>12MP</td>
<td>50MP</td>
</tr>
<tr>
<td>OIS</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<tr>
<td>Autofocus</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<tr>
<td>Video Recording</td>
<td>4K Video</td>
<td>8K Video</td>
</tr>
<!-- =====================================================
SELFIE CAMERA
===================================================== -->
<tr class="compare-section">
<td colspan="3">
Selfie Camera
</td>
</tr>
<tr>
<td>Front Camera</td>
<td>12MP</td>
<td>12MP</td>
</tr>
<tr>
<td>Front Video</td>
<td>4K Video</td>
<td>4K Video</td>
</tr>
<tr>
<td>Face Unlock</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<!-- =====================================================
BATTERY
===================================================== -->
<tr class="compare-section">
<td colspan="3">
Battery & Charging
</td>
</tr>
<tr>
<td>Battery Capacity</td>
<td>XXXX mAh</td>
<td>XXXX mAh</td>
</tr>
<tr>
<td>Fast Charging</td>
<td class="spec-highlight">XXW</td>
<td class="spec-highlight">XXW</td>
</tr>
<tr>
<td>Wireless Charging</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<!-- =====================================================
CONNECTIVITY
===================================================== -->
<tr class="compare-section">
<td colspan="3">
Connectivity
</td>
</tr>
<tr>
<td>Wi-Fi</td>
<td>Wi-Fi 7</td>
<td>Wi-Fi 7</td>
</tr>
<tr>
<td>Bluetooth</td>
<td>Bluetooth</td>
<td>Bluetooth</td>
</tr>
<tr>
<td>NFC</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<tr>
<td>GPS</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<tr>
<td>USB</td>
<td>USB Type-C</td>
<td>USB Type-C</td>
</tr>
<!-- =====================================================
AUDIO & SPEAKERS
===================================================== -->
<tr class="compare-section">
<td colspan="3">
Audio & Speakers
</td>
</tr>
<tr>
<td>Speaker</td>
<td>Stereo Speakers</td>
<td>Stereo Speakers</td>
</tr>
<tr>
<td>3.5mm Headphone Jack</td>
<td class="spec-no">✕ No</td>
<td class="spec-no">✕ No</td>
</tr>
<!-- =====================================================
SECURITY
===================================================== -->
<tr class="compare-section">
<td colspan="3">
Security
</td>
</tr>
<tr>
<td>Fingerprint</td>
<td>Face ID</td>
<td>Ultrasonic Fingerprint</td>
</tr>
<tr>
<td>Face Unlock</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<!-- =====================================================
SENSORS
===================================================== -->
<tr class="compare-section">
<td colspan="3">
Sensors
</td>
</tr>
<tr>
<td>Accelerometer</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<tr>
<td>Gyroscope</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<tr>
<td>Proximity Sensor</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<tr>
<td>Compass</td>
<td class="spec-yes">✓ Yes</td>
<td class="spec-yes">✓ Yes</td>
</tr>
<!-- =====================================================
KEY HIGHLIGHTS
===================================================== -->
<tr class="compare-section">
<td colspan="3">
Key Highlights
</td>
</tr>
<tr>
<td>Key Feature</td>
<td class="key-feature">
Feature 1
</td>
<td class="key-feature">
Feature 1
</td>
</tr>
<tr>
<td>Best For</td>
<td>Camera / iOS</td>
<td>Camera / Gaming</td>
</tr>
<tr>
<td>Price</td>
<td class="spec-price">₹XX,XXX</td>
<td class="spec-price">₹XX,XXX</td>
</tr>
</tbody>
</table>
</div>
<p class="compare-note">
* Specifications and prices may vary depending on variant, market and availability.
</p>
</div>