<%@language="JavaScript"%> <% var strHTML = Request.Form("text").Item(); if (strHTML) { // Update your database here // ... // Confirmation Response.Write("

Database Updated

"); Response.Write("

HTML:-


" + Server.HTMLEncode(strHTML) + "

"); Response.End(); } // Get your HTML from the datbase here strHTML = '

Heading 1

' + '

Heading 2

' + '

Heading 3

' + '

Normal

' + '

Welcome to the richtext text editor, the HTML text editor which works inside a web page.

' + '

This is Link' ; %> Edit Text