If the URL is unknown Html Code Example

This block is a compact unavailable-page message built around a 404 illustration, the heading “Page not found,” and a sentence explaining that the requested URL was not found on the server. Its centered vertical arrangement places the illustration above the text, while two side-by-side buttons, “Go Home” and “Contact Us,” appear below the explanation. A teal background and white controls give the section a strong visual boundary. Together, these elements form one reusable error-content area with clear recovery choices rather than a broader page structure.
ID : 389492   |   Category : Business & Law, Text & Button

Two Recovery Actions Create Clear Extension Areas

The 404 illustration, error heading, and server message already establish the block’s primary content: explain why the requested destination is unavailable. The “Go Home” and “Contact Us” buttons then provide two different recovery directions beneath that explanation. Their position in one horizontal row makes the action area easy to identify without interrupting the centered reading order.

For an HTML Code context, these existing regions define sensible places for project-specific extensions if the surrounding project later requires functionality beyond the current static actions. A site could connect the recovery controls to its own routing or contact destination, or place an additional project-specific element near the message while keeping the illustration and error explanation intact. Any such extension would belong to the containing implementation; it is not an existing custom-code feature of this block.

The teal field and white controls also provide a bounded visual composition for an added element. New functionality would need to respect the centered stack, generous spacing, and rounded action treatment so it supports rather than competes with the unavailable-page message. The block therefore offers a clear base for optional markup or integration while retaining its original role as one focused error section inside a larger page framework.

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