Sale popup Html Code Example

This sale popup is a single centered dialog built around a promotional fashion image, an offer label, and a visible 70% discount. A purchase call-to-action sits below the percentage, while a close control occupies the upper-right area of the white panel. The dialog is framed by a darkened charcoal backdrop, making the promotional content visually distinct from the surrounding page. Image attribution is also present. Its compact structure creates clearly bounded regions where additional project-specific functionality could be considered without replacing the original offer, image, action, or dismissal control.
ID : 143594   |   Category : Modal Popup

The Offer and Button Define a Clear Extension Area

The promotional image, 70% discount, and purchase button already establish the dialog’s core message and response path. The image leads into the offer label and large percentage, while the button provides the visible purchase action below. Because these regions are compact and centered inside a white panel, a project-specific extension would need to respect the existing sequence rather than compete with it.

In an HTML Code context, the dialog can act as a bounded place for optional functionality around the verified offer. For example, a project might require an external tracking element, a product destination, or additional data connected to the purchase action. Any such addition would be a project choice, not an existing part of this section. The darkened backdrop and upper-right close control also define an important interaction boundary: added content should remain within the promotional dialog’s purpose and should not obscure dismissal.

The block’s value here lies in its separation of content regions. The image supports attention, the percentage communicates the incentive, and the button carries the response. Custom markup can be considered around those relationships while the original sale message remains the visual and functional base inside the containing page.

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 143594 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