Hi all, It might be a wrong question to ask here. Actually, can somebody tell me about the HTML code used to display the applet. like: which are the different tags; does the sequence matter; what are the mandatory tags; Actually I've only Phillip Heller book. That doesn't mention this thing,anywhere. I tried to find it on net, but no help. Also, if anybody knows any related URL, it will be vry helpful to me. Looking forward for help Shikhar
Thunthu, This discussion forum software will interpret all HTML tags. That's the reason for the above display of your post. I purposly introduced a space as 2nd char in all HTML tags of your post. Shikar, Please remove the space char after '<' char in all the HTML tags in your original .html file where you are going to put the applet tags. regds maha anna < HTML> < BODY> < APPLET code="Test" height=500 width=500> < /APPLET>
< /BODY> < /HTML>
[This message has been edited by maha anna (edited July 17, 2000).]
posted 19 years ago
HI Mana Thanks for help. But what is correct code = "Test" or code = "Test.class" Anyway thanks I know that there are some more parameters we can use apart from code, width and height. can anybody tell me about that?
posted 19 years ago
shikhar, The following is the syntax for the < APPLET> tag. We can give either as "CODE=Test" OR "CODE=Test.class". When you have doubts like this just code them in a .html file and open with a browser like Netscape or Internet Explorer. If everything is ok, then we can use such a tag. This is how myself test and remember things. Just a thought. Also since our discussion is more of Applets , and Applets are NOT included in SCJP exam, I think it is more appropriate to go to Applets forum and discuss it over there. So I am closing this thread. regds maha anna < APPLET<br /> ALIGN="TOP | MIDDLE | BOTTOM | LEFT | RIGHT"<br /> ALT="alternative text"<br /> ARCHIVE="URL of archive file"<br /> CLASS="class name(s)"<br /> CODE="URL of Java class file"<br /> CODEBASE="URL for base referencing"<br /> HEIGHT="pixels"<br /> HSPACE="pixels"<br /> ID="unique alphanumeric identifier"<br /> NAME="unique name for scripting reference"<br /> OBJECT="file name"<br /> STYLE="style information"<br /> TITLE="advisory text"<br /> VSPACE="pixels"<br /> WIDTH="pixels"> <PARAM> elements Alternative content < /APPLET>
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!