You need to use tag as follows.

<p>
   <label for="from">Your message:</label>
<br />
   <textarea name="message" id="message" style="height: 200px; width: 1100px;"     onclick="this.value=''">Enter text here...</textarea>
</p>    

I hope this is what you are looking for.

Regards.

Answer from Phesto Mwakyusa on Stack Overflow
๐ŸŒ
Quora
quora.com โ€บ How-do-you-create-a-message-box-in-HTML
How to create a message box in HTML - Quora
Answer (1 of 2): We can use in form tag to create a message box 1. 2. 3. 4. 5. Create the Text Box 6. 7. 8. 9. Hello User! 10.
๐ŸŒ
W3Schools
w3schools.com โ€บ howto โ€บ howto_js_alert.asp
How To Create an Alert Message Box
Fullscreen Video Modal Boxes Delete Modal Timeline Scroll Indicator Progress Bars Skill Bar Range Sliders Color Picker Email Field Tooltips Display Element Hover Popups Collapsible Calendar HTML Includes To Do List Loaders Badges Star Rating User Rating Overlay Effect Contact Chips Cards Flip Card Profile Card Product Card Alerts Callout Notes Labels Ribbon Tag Cloud Circles Style HR Coupon List Group List Group with Badges List Without Bullets Responsive Text Cutout Text Glowing Text Fixed Footer Sticky Element Equal Height Clearfix Responsive Floats Snackbar Fullscreen Window Scroll Drawing
๐ŸŒ
MDN Web Docs
developer.mozilla.org โ€บ en-US โ€บ docs โ€บ Web โ€บ HTML โ€บ Element โ€บ dialog
<dialog>: The Dialog element - HTML | MDN
This pseudo-element could be used, for example, to blur, darken, or otherwise obfuscate the inert content behind the modal dialog. HTML <form> elements can be used to close a dialog box if they have the attribute method="dialog" or if the button used to submit the form has formmethod="dialog" set.
๐ŸŒ
Medium
medium.com โ€บ @brajagopal.tripathi โ€บ how-to-create-a-message-box-in-html-b543795fe0e9
How to create a message box in HTML? | by Brajagopal Tripathi | Medium
September 9, 2023 - <script> function showMessage() ... onclick="showMessage()">Show Message</button> The showMessage() function creates a dialog element and sets its inner HTML to the message....
๐ŸŒ
Webteacher
webteacher.com โ€บ javascript โ€บ ch01.html
Chapter 1- The Message Box
Chapter 1, The Message Box ยท This is a very simple script. It opens up an alert message box which displays whatever is typed in the form box below
Find elsewhere
๐ŸŒ
W3Schools
w3schools.com โ€บ tags โ€บ tag_dialog.asp
HTML dialog Tag
The <dialog> tag defines a dialog box or subwindow. The <dialog> element makes it easy to create popup dialogs and modals on a web page. The numbers in the table specify the first browser version that fully supports the element.
๐ŸŒ
Stack Overflow
stackoverflow.com โ€บ questions โ€บ 39443591 โ€บ create-message-box
html - Create message box - Stack Overflow
This is why you typically see the "tails" attached to the edges instead of the corners when using rounded boxes. You'll need an image or SVG to form the background. If you want the image/SVG to be dynamic, in that it resizes without distorting the corners, you'll need to arrange more complex HTML/CSS and provide either separate images or use in combination with something similar to a 9-patch graphic.
๐ŸŒ
W3Schools
w3schools.com โ€บ jsref โ€บ met_win_alert.asp
Window alert() Method
The alert() method displays an alert box with a message and an OK button. The alert() method is used when you want information to come through to the user.
๐ŸŒ
Devncoffee
devncoffee.com โ€บ show-messages-in-html-forms
4 Ways To Show Messages In HTML Forms (Simple Examples) โ€“ Dev + Coffee
Lastly, for those who want to customize their own โ€œpopup boxโ€. Yes, HTML has a native <dialog>. You can customize it using CSS, unlike alert(). Same old process as the previous example again. Do your checks, put the message into the <dialog>.
๐ŸŒ
W3Schools
w3schools.com โ€บ tags โ€บ att_textarea_form.asp
HTML textarea form Attribute
<!--> <!DOCTYPE> <a> <abbr> <acronym> <address> <applet> <area> <article> <aside> <audio> <b> <base> <basefont> <bdi> <bdo> <big> <blockquote> <body> <br> <button> <canvas> <caption> <center> <cite> <code> <col> <colgroup> <data> <datalist> <dd> <del> <details> <dfn> <dialog> <dir> <div> <dl> <dt> <em> <embed> <fieldset> <figcaption> <figure> <font> <footer> <form> <frame> <frameset> <h1> - <h6> <head> <header> <hgroup> <hr> <html> <i> <iframe> <img> <input> <ins> <kbd> <label> <legend> <li> <link> <main> <map> <mark> <menu> <meta> <meter> <nav> <noframes> <noscript> <object> <ol> <optgroup> <
๐ŸŒ
W3Schools
w3schools.com โ€บ howto โ€บ howto_js_callout.asp
How To Create a Callout Message Box
If you want the ability to close the callout message, add a <span> element with an onclick attribute that says "when you click on me, hide my parent element" - which is the container <div> (class="alert"). Tip: Use the HTML entity "&times;" to create the letter "x". ... /* Callout box - fixed position at the bottom of the page */ .callout { position: fixed; bottom: 35px; right: 20px; margin-left: 20px; max-width: 300px; } /* Callout header */ .callout-header { padding: 25px 15px; background: #555; font-size: 30px; color: white; } /* Callout container/body */ .callout-container { padding: 15px; background-color: #ccc; color: black } /* Close button */ .closebtn { position: absolute; top: 5px; right: 15px; color: white; font-size: 30px; cursor: pointer; } /* Change color on mouse-over */ .closebtn:hover { color: lightgrey; } Try it Yourself ยป
๐ŸŒ
W3Schools
w3schools.com โ€บ js โ€บ js_popup.asp
W3Schools.com
JS Examples JS HTML DOM JS HTML Input JS HTML Objects JS HTML Events JS Browser JS Editor JS Exercises JS Quiz JS Website JS Syllabus JS Study Plan JS Interview Prep JS Bootcamp JS Certificate JS Reference ... An alert box is often used if you want to make sure information comes through to the user.
๐ŸŒ
W3Schools
w3schools.com โ€บ html โ€บ html_forms.asp
HTML Forms
The HTML <input> element is the most used form element. An <input> element can be displayed in many ways, depending on the type attribute.
๐ŸŒ
Quora
quora.com โ€บ How-would-one-create-a-message-and-email-box-in-HTML
How would one create a message and email box in HTML? - Quora
Answer (1 of 2): In can be done using the HTML for the main message. However, you canโ€™t send messages using HTML or Javascript because those programming languages are done on the userโ€™s browser, not a server. You woul...