Home | Contact Us | Log In | Help
  ASP.Net & C#
  Perl and PHP
  Java Scripts
  C and C++
  Ajax Tutorials
  J2ee, J2Me, Java
  Python & Ruby Rail
  Crystal Report
  Cold Fusion & CFML
  Photoshop/Web Designing
  Tools & Utilities
  Sql Server
  Domain Name Registration
  Remotely Hosting
  Web/Server Application
  Hotel Marketing
  Internet and Law
   Search Engine Optimization/SEO
Interview Questions

Previous < 1 2 3 4 5 6 > Next

  Does Microsoft Internet Explorer accept the media type application/xhtml+xml?

 No. However, there is a trick that allows you to serve XHTML1.0 documents to Internet Explorer as application/xml.
Include at the top of your document the line in bold here:
where copy.xsl is a file that contains the following:
Note that this file must be on the same site as the document referring to it.
Although you are serving the document as XML, and it gets parsed as XML, the browser thinks it has received text/html, and so your XHTML 1.0 document must follow many of the guidelines for serving to legacy browsers.
Your XHTML document will continue to work on browsers that accept XHTML 1.0 as application/xml.

  What is HTML(Hypertext Markup Language)?

  It's a method by which web pages can be built and generally used for formatting and linking text.

  What are the types of HTML?

  ? Static HTML ? Browser uses HTTP to request HTML file from the Web Server.
  ? Dynamic HTML ? Browser uses HTTP to request an executable application rather than a Static HTML file

  Why is it allowed to send XHTML 1.0 documents as text/html?

  XHTML is an XML format; this means that strictly speaking it should be sent with an XML-related media type (application/xhtml+xml, application/xml, or text/xml). However XHTML 1.0 was carefully designed so that with care it would also work on legacy HTML user agents as well. If you follow some simple guidelines, you can get many XHTML 1.0 documents to work in legacy browsers. However, legacy browsers only understand the media type text/html, so you have to use that media type if you send XHTML 1.0 documents to them. But be well aware, sending XHTML documents to browsers as text/html means that those browsers see the documents as HTML documents, not XHTML documents.

  Where can I go to verify my document uses correct markup?

  W3C offers a service at http://validator.w3.org/. The Amaya browser/editor will also ensure that your markup is correct.

  Does document.write work in XHTML?

 No. Because of the way XML is defined, it is not possible to do tricks like this, where markup is generated by scripting while the parser is still parsing the markup.
You can still achieve the same effects, but you have to do it by using the DOM to add and delete elements.

  How do I get a counter?

 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 ballless, 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 logfile provides a lot more reliable information for you, and you don't have to bother your readers with it.

  How can you have different number of cells for each row of a table?
 By using the COLSPAN attribute of the

Column 1 Comumn 2
Column1 & Column 2


Previous < 1 2 3 4 5 6 > Next

  Copyright 2000-2006 © SoloScript.com, All rights reserved.