Logo F2FInterview

HTML Interview Questions

Q   |   QA

Actually, the browser has downloaded the document, it is just treating it as a plain text file. This is because the server said it was a plain text file. To get the file in the helper application (or plug-in), you will have to configure the server to send out the right MIME type, and the browser to start the appropriate helper application for files with that MIME type.

Use <INPUT NAME=foo TYPE=image SRC=”http://url.to/image.gif”> instead of the normal submit tag. There is no way to do this for the reset button.
Note that some browsers will also send the x and y coordinates of the location where the user clicked on the image to the server. They are available as “foo.x=000&foo.y=000″ in the CGI input.

HTML text is supposed to be written in the ISO Latin-1 character set. A complete overview of all the characters in this set is available from:

Either ask your Webmaster for access to the log files, or for a server-side include which can do this, or use one of the freeware counters available at the CGI archives. There is no HTML tag to do this.
Counters are quite ball less, though. They can be set to any value the owner wants, so they don’t give you any information. Because of the delay that often occurs when using an external counter, your visitors may get annoyed with the long loading time of your document. The server’s log file provides a lot more reliable information for you, and you don’t have to bother your readers with it.

Many browsers identify themselves when they request a document. A CGI script will have this information available in the HTTP_USER_AGENT environment variable, and it can use that to send out a version of the document which is optimized for that browser.
Keep in mind not all browsers identify themselves correctly. Microsoft Internet Explorer, for example, claims to be “Mozilla 1.2″ to get at Netscape enhanced documents.
And of course, if a cache proxy keeps the Netscape enhanced document, someone with an other browser will also get this document if he goes through the cache.

I want to get an audio file to play automatically when someone visits my site!
For Netscape, this is done using the tag. You can also do this with the Netscape <META> refresh tag, as described earlier. Just put the URL of the audio file in the CONTENT field.
There is also a MS Internet Explorer specific tag to do this: <BGSOUND SRC=URL> which plays the file specified in the SRC attribute automatically. You can add LOOP followed by a value or the keyword “INFINITE” to indicate how many times the sound should be played.

In order to link this F2FInterview's page as Reference on your website or Blog, click on below text area and pres (CTRL-C) to copy the code in clipboard or right click then copy the following lines after that paste into your website or Blog.

Get Reference Link To This Page: (copy below code by (CTRL-C) and paste into your website or Blog)
HTML Rendering of above code: