Take care of your health Html Code Example

The block presents the “#stayhome” message as one prominent white heading placed over a wide photographic background. The image shows a person using a smartphone while lying in bed, giving the section a clear connection to staying indoors and communicating from home. Its full-width composition creates a broad visual field, while the single text element keeps the message immediate rather than dividing attention across several content groups. With the heading positioned toward the left and contrasted against muted gray and white imagery, the section functions as a compact, static hero block for a larger page.
ID : 73883   |   Category : Text On Image, Medicine & Science

A Single Hero Message Leaves Room for Focused Extensions

The large “#stayhome” heading already establishes the block’s central message, while the wide photograph supplies the surrounding context: a person is using a smartphone while lying in bed. Because the section contains one prominent text element over one full-width image, its content regions are clearly bounded. That separation creates a practical place for a project-specific addition if the surrounding experience needs more than the existing campaign statement.

For example, custom markup could support an adjacent informational detail, an accessible text treatment, or an external element that relates to the stay-at-home message without replacing the heading and photographic backdrop. Any addition should remain subordinate to the image-and-message relationship, since the block’s value comes from its immediate visual communication rather than from a dense set of controls. The left-aligned heading also gives a natural reference point for positioning an extension without obscuring the person or smartphone shown in the image.

Used in an HTML Code context, this section is therefore best treated as an existing hero composition with a controlled extension area, not as a code feature in itself. The original static structure remains the visual base, while optional custom functionality can be placed only where it supports the campaign message and preserves the block’s single-focus character.

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 73883 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 Medicine & Science Html Code Examples