Hearts and Hugs Html Code Example

The Hearts and Hugs block presents a seasonal Valentine's Day promotion through a compact text-over-image composition. The heading reads “Valentine's day,” followed by the prominent “60% off” statement and a visible Freepik image credit. A full-width background image carries pink heart imagery across the lower edge and around the upper text area. The promotional copy is aligned toward the left, while generous open space keeps the large white typography readable against the bright turquoise background. Its static structure creates one clearly bounded promotional region for use inside a larger page.
ID : 6545373   |   Category : Text On Image, Sale

The 60% Off Message Leaves a Defined Space for Extensions

The large “60% off” statement and the smaller “Valentine's day” label already establish the block's promotional purpose. They sit toward the left over a full-width image background, while pink hearts spread across the lower edge and around the upper text area. This separation creates a clear relationship between the message region and the decorative visual field rather than presenting the content as an undifferentiated image.

For an HTML Code use case, those existing regions can guide a project-specific extension if the surrounding campaign needs functionality beyond the static promotion. A custom element could be positioned near the promotional text or within the broader section composition for an external offer display, tracking component, or seasonal interaction. Such an addition would supplement the message while leaving the turquoise field, white type hierarchy, heart imagery, and Freepik credit in their existing roles. The block itself remains a focused visual base, not a pre-existing custom-code implementation.

Because the section has no confirmed form, button, or other interactive component, any added functionality should be chosen around the actual campaign requirement rather than assumed from the discount wording. Its simple static structure makes the boundaries easy to identify before an extension is introduced.

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 6545373 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 Sale Html Code Examples