Solved

text box and inactive html code

Posted on 1998-01-19
2
948 Views
Last Modified: 2012-06-22
ok, first i need a text box, but not for a form or input. i just want to display it on a page with text inside. whats the html code for that? second, i want to put inactive html code inside the box. but when the page loads, will the html code still stay inactive?
0
Comment
Question by:crazigyrl
  • 2
2 Comments
 
LVL 18

Accepted Solution

by:
mgfranz earned 50 total points
ID: 1842543
Hey Crazy, this is relatively easy, first, you really do need to simulate a form entry, even though you won't be executing it.

Try this...

<!--Start of FORM-->

<FORM METHOD=POST>
<TEXTAREA NAME="Field_Test" COLS=45 ROWS=10>
This is a default text area for full viewing<br>
by whoever wants to look at it.  It is easy to <br>
change the contents just by typing stuff, and <br>
the size by changing the columns and rows tag.<br></TEXTAREA>

</FORM>

<!--end of FORM-->

0
 
LVL 18

Expert Comment

by:mgfranz
ID: 1842544
There is also another way you can target this text box via JaveScript, and have whatever image you want appear inside of it, this image can be pure text or a combination of both.  Want to know how? mark.g.franz@cpmx.saic.com
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now