Add to Google

What Is The Xhtml 1.1 Code To Embed An Applet?

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > HTML, XML etc..

What Is The Xhtml 1.1 Code To Embed An Applet?

beeseven
I've been doing a lot of java stuff recently and some is pretty neat, so I'd like to put it on the internet. I'm using XHTML 1.1 for all my pages, though, and according to W3Schools <applet> doesn't exist anymore and to use object.

It's not working, though. There are a bunch of attributes (http://www.w3schools.com/tags/tag_object.asp) and I have no idea which things I need to use. Which do I put for an applet?

Reply

rejected
I'm not an XHTML expert, but I think you will find this excerpt from http://academ.hvcc.edu/~kantopet/xhtml/ind...ks&printme=true interesting.

QUOTE
The <object> Tag

The primary means for including embedded content in a document is with the <object> tag. It had been created to replace both the <embed> and the <applet> tags. With XHTML, the <applet> tag has been revived, but not the <embed> tag.

The <object> tag allows you to embed an object in a document. This object can be static or it can be executable.

If the object is data for a plugin the browser has available, you can just specify the data to be processed. If the object is and external program, you can specify both the program name and location and the data it is supposed to process.

You use the classid attribute to specify the name of an applet to be loaded, and the codebase to specify an address for it (classid will take a full URL, but this split is from older methods of invoking applets). You can also specify a codetype to identify the MIME-type of the applet.

The data attribute specifies the location of data to go with the applet. The type attribute specifies the MIME-type for this, not the applet.

The <object> tag also has an end tag. It takes two forms of content. One is alternate content if the object cannot be loaded. The other is a series of <param> tags that can be used to pass parameters to the applet.

Here is a sample where an image has been embedded using the following. Note that such things as width, height and border can be specified directly within the tag. Also note that Explorer does not quite render it correctly, putting it in a window with scroll bars. This tag, as used below, currently only works in Explorer.
CODE
<object data="../../images/banner_opera.gif"
   width="466" height="60"  type="image/gif">
A sample image embedded with an <object> tag.
</object>

 

 

 


Reply

beeseven
Yay it works! Your link helped me tweak what I had found so far.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

Recent Queries:-
  1. xhtml applet equivalent - 182.77 hr back. (1)
  2. embed applet css - 440.91 hr back. (1)
  3. appletscode for media xhtml - 464.28 hr back. (1)
  4. embed and xhtml 1.1 strict - 783.20 hr back. (1)
  5. embed xhtml applet - 848.67 hr back. (2)
  6. embed applet myspace - 970.96 hr back. (1)
  7. intranet embed codebase for wmv - 1432.47 hr back. (1)
  8. how to refersh the applet in phpcode? - 2121.38 hr back. (1)
Similar Topics

Keywords : xhtml, 1, 1, code, embed, applet

  1. Object Tag / Embed Tag
    using them to play audio files (1)
  2. Signup Bonus Promotional Code Found Here
    (0)
    OpaQue has released bonus code for signing up with Billing for new hosting members. The bonus of
    $1 account credit is undetermined as it's only for new signing up members or just once for
    everyone. The promotional code will be announced here. Until then this topic will remain pinned and
    closed.....
  3. Fixed Centred Layout
    Learn how to code that popular Centred/Fixed width layout... (2)
    I remember learning this so long ago after piecing together some tutorials. First , put together
    your basic HTML Code. Nothing complicated , but it should probably look like this;
    http-equiv="content-type" /> Your Site Name All but All content should be here
    The ID is important. It doesn't matter what you ID/Class it as , as long as it has a value/Id
    /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />. The entire
    tutorial is useless otherwise Open a new CSS file , or make a new one in notepad body ....
  4. What Is The Basic Diiference In Java Script And Vbscript
    java script use javas code and vb script use vbcode (0)
    what is the basic diiference in java script and vbscript, java script and vb script are very much
    popular validation language. both these are use for validation but finally what is difference in
    between two can one replace to other it is possible. then how much change are required.give any
    example for both vb and java script. with code. i am not using any one. most time use i use PHP
    validation as i know it very well, but i want to move to this side also, any suggetion, advice,
    views all are welcomes. here i am posting sample how to use PHP validation i am use PHP ....
  5. Php Code For Login Form With Validation In Php
    (6)
    I dont want to use javascript as a validation form i want to use Regular expression in PHP for Login
    or other page. please any one have a best code for validation in PHP. as i thinks that web site
    Validation on server site is faster then client site validation. Most welcome.....
  6. Html Code Question
    (2)
    Hi all, I was wondering is there a way I could make a field in a form that will take you to the
    address you enter in it? (in other words) Site: trap17.com (go) and clicking go takes you to
    trap17. I will explain why. What I have done is set up a page with frames, I've got all my
    most visited sites on the left, and I browse in the right, I want to make a frame up the top of the
    browsing window that will be like the address bar, Just to retain this framed setup. (I will put a
    google box in it too). Alot of you are probably wondering why, its for purely aesthetic....
  7. Social Network Code
    college project (2)
    i need a code .i am building a social network site for our department and i am running out of time
    pls help me out....
  8. What's The Point Of Xhtml?
    (4)
    Does anyone here use XHTML? If you do so, why? I'm told XHTML is just "strict" HTML (for
    example, you have to use instead of because the tag has to close itself or something), but what
    is the advantage of using a "stricter" form of HTML?....
  9. Video Play Like Youtube
    php, javascript source code need like player youtube (6)
    i need help for source code php or javascript... i want display video with a player like in
    youtube... please for help?....
  10. An Uncrackable Code!
    (2)
    You gotta check this out. This code is completely uncrackable. http://www.waingo.com/impossible
    I tried a hex to bin converter, then a reverse matrix algorithm, and I got nothing.....
  11. Create Dynamic Html/php Pages Using Simple Vb.net Code
    Taking your application data, and creating a webpage for others to vie (1)
    This example will show you how use a string in VB to create PHP code. In order to do this, you need
    a string to store your PHP page and a function that I will list at the bottom of the page for you to
    put in a module. This code is written in VB.NET Public Sub CreatePage(ByVal HTMLTitle As
    String, ByVal HTMLText As String, ByVal HTMLFileName As String) Dim strFile As String '
    ---------------------- ' -- Prepare String -- ' ---------------------- strFile = "" '
    -------------------- ' -- Write Starter -- ' -------------------- strFile = " " ....
  12. Davinci Code
    (10)
    Ok, Ok, I know I am way behind on the times, the movie is allready out and gone and I just now got
    around to reading the book. First off, so you know, I'm a cheap skate, and just happened to see
    the book at the swap meet for a quarter, so I decided I wanted to see what all the fuss was about.
    I remember a lot of controversy when the movie came out from the religous sector. And boy do I know
    why now, after reading the book! Talk about a serious stab at organaized religion!!! At any
    rate, it was a good story and I did enjoy reading it. Sure kept me guessing. ....
  13. Html, Xhtml, And Css, Sixth Edition (visual Quickstart Guide) Review
    (0)
    HTML, XHTML & CSS then this book is a must as this book will teach you how to build basic websites
    and learn what each tag does and how and where to use it. When you finish this book you will have
    saved yourself a whole bunch of time trying to learn from tutorials and other websites as you will
    be able to build a fully functional website in no time. Also what is best with this book as it
    comes with a companion website in which you can download all the mini tutorials that this book as to
    offer so you can see what their examples look like and learn from how the coding is....
  14. Syntax Highlighting For Code
    (4)
    Hey all, I'm not sure if its been brought up but I couldn't find any topics on this. Has
    anyone brought up the idea of updating the blocks to allow syntax highlighting? This would be a
    nice feature to have but I don't know if its something that can be easily added on. I don't
    know about you guys but when I see long blocks of code in the same color from users I just don't
    want to read them. Especially when they are put in a small box container about 100px high and I have
    to scroll through it. Making code easier to read would help a lot. Peace Sone.....
  15. Add Flashing Inbox To Invisionfree Forum
    Html code for invsiionfree!! (2)
    Do you find it annoying when you are on your invisionfree forum, and you get a new message, and it
    ends up taking you 5 minutes to notice? This code makes the inbox link flash bold red saying how
    many messages you have. In version 1 the word inbox stays the same, and doesnt change at all (for
    Example this is flashing: Inbox (2) In version 2 (the second code) the word inbox changes to
    messages (constantly, so that if you have none, it says messages (0) instead of inbox (0). It still
    flashes Red Put the following In the Header and Body Section (Admin Cp>>>Skinning ....
  16. Java Applet Query
    (2)
    Hey there, I have made an applet that shows images moving about the screen. I have pause/resume
    buttons that work. But i've noticed that when the applet is interuppted by something i.e moving
    another window over it, it will automatically repaint. My question is how can I stop this? How can
    I make it so that the only time that paint is called is when I want it to be called? Thanks in
    advance!....
  17. Runescape 2 Private Server: Code/guide 1
    Creating a wilderness training zone. (12)
    Purpose: To make a cool training area in the wild. Difficulty: 1-3 Classes Modified:
    Client.java, shop.cfg, autospawn.cfg, npchandler, item2.java, shop.cfg Assumed Knowledge:
    Copy/paste, basic knowledge of cases, and how to search. Credits: 10% fedexer(global object tut),
    10% to my friend for teaching me how to make monsters drop random things, 80% me for the idea, and
    comming up with it. REQUIREMENTS: Make sure that your server can use herblore, mining,
    woodcutting, theiving, and prayer. You must also have fedexer's global objects code. Other
    Thi....
  18. Each And Every Nokia Code For Your Mobile
    (7)
    Nokia 3210/5110/6110 And All Most Works In Most Of The Nokia Phones. QUOTE To view IMEI number
    *#06# To view Software Version enter *#0000# To view Status of Sim Clock Stop. Enter *#746025625#
    Latest Version is under Phone Info Type is NSE-3NX *#92702689# offers you Serial Number and also
    IMEI number. There are various options to scroll here. The code is easier to remember as *#war0anty#
    (warranty) The next screen is the date of manufacture in the format Made: 1197 The next screen is
    the purchase date in the format Purchasing Date: 1197 (this can be edited) The nex....
  19. Your First Autoit
    Learning To Code.. (6)
    Autoit is a simple, yet powerful programming language, it allowed the creation of the pangea
    desktops, and the Remote Pc Control with a cell.. You can learn it too. Here is the first of several
    lessons i will post inside of this topic. It is a 32 bit program, it doesnt work on windows 98, 95,
    and i dont think (THINK) Windows ME Step 1: Download and install the latest version of autoit from
    http://www.autoitscript.com i prefer that you use beta. Step 2: Right click somewhere on your
    desktop or my documents, and mouseover new and click Autoit V3 Script Step 3 (optiona....
  20. Rpg Code And Rpg Toolkit
    oh I forgot pixeling (10)
    Has anyone ever heard of RPG Code or even RPG Toolkit. RPG Toolkit is an RPG Creation tool. And RPG
    Code is the code that you use for programming a game using RPG Toolkit. Also does anyone know a good
    site for me to learn how to draw using pixels? I really need this for Dark Times, a game that I am
    creating.....
  21. Unofficial Project Igi Cheat Code
    (1)
    As we all know that there is no cheat code for IGI but somewhere i got this unofficial cheat.. Check
    it out QUOTE Make the enemy soldiers act like civilians: Find the "common/ai" folder in the
    game directory. Copy the guard.qvm, observer.qvm, rpg.qvm, gunner.qvm, patrol.qvm, radioguard.qvm
    and sniper.qvm files to a backup folder on your desktop. Make another folder on your desktop, then
    copy the civilian.qvm file there. Rename this file to one of the files listed above, then copy it
    back to the "ai" folder. Copy and rename the civilian file until each of the above ....
  22. How To Create Embed Image Mail In Gmail
    (65)
    Hi to all ! Anybody can help me to create an email with embedded image so that mail reader
    automatically see that image. Moreover I wont attached that image as it appears small in size in on
    gmail. Thanks in Advance. ....
  23. How To Make A Search Form And Php Code?
    Can you help please? (11)
    I am looking to put a whole Bible on my site, don't worry about copyrights, I already have all
    that. It will be put into my site book by book. My problem? I need a form that will only search
    the /Bible part of my database. I need an html form, and then a php code that can be put into just
    ONE file but that will display a search page afterward. If you could help me out here, I would
    greatly appreciate it since I will need this in order for it to work. The goal is simple, have an
    html form, that will lead to a search of my entire inneed.mxweb.co.uk/bible database....
  24. Simple C File Handling In Action
    Small code snipet which covers most of basic file handling and navigat (5)
    Yesterday I suddenly got a lot of work. The same work we try to push off, yes you are right all
    formalities to get the code review incorporated and update all source code files with code review
    headers. Imagine if you need to open 300 files one by one and append code review headers at the
    end. Since most files are reviewed in groups of 20 to 30 files. We require one header to be placed
    in say 20 to 30 files. To simplify I went back to my class assignment days and wrote this small c
    utility to open all files passed on command line and open attach code review headers an....
  25. Myspace Music Player
    Anyone have the code? (11)
    Hey, I was looking around on MySpace to see if they had a particular song with a player that you see
    on many different MySpaces, but they did not have one for the song I wanted. I was wondering if
    anyone had the proper code for a music player. I do have the song I want and have the capability to
    upload it, but I just need the code for it. If you can help at all I'd really appreciate it.
    Example on the top right of this MySpace (but I just want a one song player):
    http://www.myspace.com/ofarevolution ....
  26. Da Vinci Code
    What's it about?? (16)
    Well I heard in the news abut the Da Vinchi Code and stuff, whats it really about, Like I've
    seen previews and yeah, codes that da vichi used or something, like the How Da Vichin Painted the
    First Supper and if you trace along all the people it says Da Vichi. So I like to Know What The Book
    is about???? Maybe I'll buy it and read it myself....
  27. Get Filename Of Referring Url
    php code to get filename of referring URL (8)
    Hey /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> I want to know how
    to get the filename of the referring URL. Look at the following example: Page A which has a URL of
    http://blah.trap17.com/blah/blah1.php redirects the user to Page B which has a URL of
    http://blah.trap17.com/blah/blah2.php . Is there a PHP code that I can put on blah2.php that will
    output blah1.php? I tried _SERVER ; (please note the code may not exactly be correct as I do not
    remember the code /laugh.gif' border='0' style='vertical-align:middle' alt='laugh.gif' />....
  28. Crack The Binary Code An Win A Gmail Invitation!
    as if you don't have one already... (9)
    Anyways, I've played around with some binary, and made a large binary sentence. If you can
    succefully "crack" to binary code, and convert it back to plain text, you will find in the convered
    text one gmail invite. But, i figured that probably everyone has got one areadly, but, it's wort
    a try, here comes the code. /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif'
    /> This oinvite will automaticlly expire in three weeks, so quickness is the key. -BINARY CODE-
    0101010001100101011100110111010001101001011011100110011100100000010101000110010....
  29. Whats The Best Code?
    www.bpsite.tk (32)
    Whats you fav code?....
  30. How do you test your php code
    (86)
    We know that php is a server side scripting language. So we will need a server with the php parser
    to parse/test our code. How are you doing that. Do you upload it to a server for testing or did you
    instal php and the server (apache) on your computer (localhost)....

    1. Looking for xhtml, 1, 1, code, embed, applet






*SIMILAR VIDEOS*
Searching Video's for xhtml, 1, 1, code, embed, applet

*MORE FROM TRAP17.COM*
Similar
Object Tag / Embed Tag - using them to play audio files
Signup Bonus Promotional Code Found Here
Fixed Centred Layout - Learn how to code that popular Centred/Fixed width layout...
What Is The Basic Diiference In Java Script And Vbscript - java script use javas code and vb script use vbcode
Php Code For Login Form With Validation In Php
Html Code Question
Social Network Code - college project
What's The Point Of Xhtml?
Video Play Like Youtube - php, javascript source code need like player youtube
An Uncrackable Code!
Create Dynamic Html/php Pages Using Simple Vb.net Code - Taking your application data, and creating a webpage for others to vie
Davinci Code
Html, Xhtml, And Css, Sixth Edition (visual Quickstart Guide) Review
Syntax Highlighting For Code
Add Flashing Inbox To Invisionfree Forum - Html code for invsiionfree!!
Java Applet Query
Runescape 2 Private Server: Code/guide 1 - Creating a wilderness training zone.
Each And Every Nokia Code For Your Mobile
Your First Autoit - Learning To Code..
Rpg Code And Rpg Toolkit - oh I forgot pixeling
Unofficial Project Igi Cheat Code
How To Create Embed Image Mail In Gmail
How To Make A Search Form And Php Code? - Can you help please?
Simple C File Handling In Action - Small code snipet which covers most of basic file handling and navigat
Myspace Music Player - Anyone have the code?
Da Vinci Code - What's it about??
Get Filename Of Referring Url - php code to get filename of referring URL
Crack The Binary Code An Win A Gmail Invitation! - as if you don't have one already...
Whats The Best Code? - www.bpsite.tk
How do you test your php code
advertisement



What Is The Xhtml 1.1 Code To Embed An Applet?