Comparison section Html Code Example

The Comparison section presents “Mental training vs physical training” as a focused feature relationship. A centered heading and supporting paragraph introduce two comparison items, titled “Mental training” and “Physical training.” The items are arranged as stacked rounded cards, with each card pairing a circular orange icon and a white text panel inside a larger light-gray container. Dark bold typography, a white background, and consistent spacing keep the content easy to separate. The block provides clearly bounded regions for the two approaches while remaining one reusable section.
ID : 6577942   |   Category : Business & Law, Grid Repeater

Two Bounded Cards Leave Clear Places for Optional Extensions

The section already divides its message into a centered introduction and two parallel comparison regions. The heading “Mental training vs physical training” establishes the relationship, while the separate “Mental training” and “Physical training” cards give each side its own title, icon, and descriptive area. Because the cards repeat the same visual pattern, a project can identify the relevant content region without changing the comparison’s basic structure.

That separation is useful when a final implementation needs an optional custom element near one approach or beside the comparison content. For example, a project-specific information widget, data display, or related integration could be positioned around a card while the original title, circular orange icon, and white text panel remain the visual base. Any such addition would be an extension of the surrounding project, not an existing feature of this section.

The HTML Code angle therefore concerns controlled expansion around real content zones. The light-gray outer containers define the card boundaries, and the white inner panels provide distinct areas for text. Custom markup can follow those boundaries when a project requires extra functionality, while the centered introduction and two-item comparison continue to carry the block’s primary message.

Customize with Nicepage

Open this ready-made template in the HTML Code Generator and customize it visually in the Nicepage editor. Replace demo content, edit page sections, and adapt the design to your project without rebuilding the template from scratch.

Edit Template Offline

1. Download and Install the Nicepage application for Windows and Mac. Or WordPress and Joomla plugins from the download page
2. Create a new page or select existing
3. Click Add new block, search for id 6577942 and click enter

Edit Template Online

Run Online Builder to edit this template on our hosting

Create Awesome Websites

WordPress Plugin WordPress
Windows Application Windows App
Joomla Plugin Joomla
Mac OS Application Mac OS App
HTML5 HTML5
Online Builder Online

Free Nicepage Builder

15,000+ Templates
Easy Drag-n-Drop
No Coding
Mobile-Friendly

Keywords


Extend This Page With Custom HTML Code

Insert Code With the HTML Element

Use the HTML Element to add custom code directly to a Block in the Nicepage editor. Enter the required markup in the Code field when the page needs content or functionality that is not available through the standard page elements.

Place the HTML Element in the Layout

Treat the HTML Element as part of the visual page composition. Adjust its position, width, height, alignment, and margins to place the custom content where it belongs alongside text, images, buttons, and other elements. This makes it possible to combine visually edited sections with project-specific code without separating the custom element from the rest of the layout.

Add HTML, CSS, JavaScript, and External Components

The HTML Element supports HTML, CSS, and JavaScript, allowing you to extend the page with custom markup and interactive functionality. It can also be used to embed custom code and third-party components, such as social feeds, advertising code, widgets, or other external functionality required by the project.

This workflow makes the template useful for projects that need a visual page editor together with custom HTML code, JavaScript, embedded components, and functionality beyond the standard page elements.

Custom HTML code added with the HTML Element in the Nicepage editor

More from Business & Law Html Code Examples