Wisdom jobs Internet Programming Interview Questions and answers have been framed specially to get you prepared for the most frequently asked questions in many job interviews. Here we have provided Tips and Tricks for cracking Internet Programming interview Questions. These Internet Programming Interview questions and answers are useful for Beginner, Advanced Experienced programmers and job seekers of different experience levels. It's a good idea to go through Internet Programming Interview Questions. All the best in your job search.
Answer :
XHTML(Extensible Hybertext Markup Language) is a Markup language that specifies the format of the text that is displayed in a web browser such that microsoft’s Internet Explorer or Netscape.It is cross between HTML and XML.
Question 2. What Is Key Issue Of Xhtml?
Answer :
A key issue when using XHTML is the separation of the presentation of a document from the structure of the information in the document.
Question 3. What Are The Important Elements Of An Xhtml Document?
Answer :
Important elements of an XHTML document are the html element ,the head element and the body element.
Question 4. Difference Between Html And Xhtml?
Answer :
In HTML,it is to specify the document’s content, structure and formatting.Formatting might specify where the browser placed an element in a webpage or the fonts and colors used to display an element.
In XHTML, allows only a document’s content and structure to appear in a valid XHTML document, and not its formatting.Normally such formatting is specified with cascading style sheets.
Question 5. Rules For Writing Xhtml Document ?
Answer :
Question 6. Define Headers In Xhtml ?
Answer :
XHTML provides six headers(h1 through h6) for specifying the relative importance of information.Header element h1 is considered the most significant header and is rendered in a larger font than the other five headers. Each successive header element(h2..h6)is rendered in a progressively smaller font.
Question 7. What Is The Use Of Linking Element In Xhtml?
Answer :
Question 8. Explain The Use Of Img Element ?
Answer :
Question 9. What Is The Use Of Alt Attribute In Img Element?
Answer :
Question 10. What Is The Difference Between Unordered List Element And Ordered List Element?
Answer :
Question 11. What Are The Three Sections In Xhtml Table?
Answer :
Question 12. Define Forms In Xhtml ?
Answer :
Question 13. Define Imagemap ?
Answer :
Image maps are defined with map elements.Attribute id identifies the image map.Hotspots are defined with the area element.Attribute href specifies the link’s target.Attributes shape and co-ords specify the hotspot’s shape and co-ordinates and alt provides alternative text.
Question 14. Define Frames In Xhtml ?
Answer :
Question 15. What Is The Use Of Summary And Caption Element In Table Element?
Answer :
Question 16. What Is The Use Of Internal Hyperlink?
Answer :
Answer :
CSS is Cascading Style Sheets that allow document authors to specify the presentation of elements on a webpage separately from the structure of the document.
This separation of structure from presentation simplifies maintaining and modifying a document’s layout.
Question 18. What Is The Use Of External Linking Of Style Sheets?
Answer :
External linking of style sheets can create a uniform look for a website.Separate pages can all use the same styles.Modifying a single style sheet file makes changes to styles across an entire website.
Question 19. What Is The Difference Between Absolute Positioning And Relative Positioning In Css?
Answer :
Absolute positioning:-Which gives authors greater control over how document elements are displayed. Specifying an element’s position as absolute removes the element from the normal flow of elements on the page, instead positioning it according to the distance from the top, left, right or bottom.
Relative positioning:- In which elements are positioned relative to other elements.Relative positioning keeps elements in the general flow of elements on the page,so positioning is relative to other elements in the flow.
Question 20. What Is The Use Of Z-index In Position Property Of Css?
Answer :
The Z-index property allows a developer to layer overlapping elements .Elements that have higher Z-index value are displayed in front of elements with lower z-index values.
Question 21. Define Margin And Padding In Css ?
Answer :
Margin:-The Margin property determines the distance between the element’s edge and any outside text.Margins for individual sides of an element can be specified by using margin-top,margin-right,margin-left,margin-bottom.
Padding:- The padding property determines the distance between the content inside an element and the edge of the element.Padding also can be set for each side of the box using padding-top,padding-right,padding-left,padding-bottom.
Question 22. What Is The Use Of Class Attribute In Css?
Answer :
The class attribute allows more than one class to be assigned to an XHTML element by separating each class name from the next with a space.
Question 23. Define Object Model In Dhtml ?
Answer :
The Dynamic HTML Object Model gives Web authors great control over the presentation of their pages by giving them access to all the elements on their Web page.The whole Web page elements,forms,frames tables ,etc is presentated in an object hierarchy.Using scripting , an author is able to retrieve and modify any properties or attributes of the webpage dynamically.
Question 24. How To Refer An Element In Dhtml?
Answer :
The simplest way to reference an element is by id attribute.The element is replaced as an object and its various XHTML attributes become properties that can be manipulated by scripting.
Ex: <p id=”ptext”>
In script:<script type=”text/javascript” for=”ptext”>
Question 25. Define Collections In Dhtml?
Answer :
Collections are basically arrays of related objects on a page .There are several special collections in the object model.
Ex: all and children collection.
Question 26. What Is The Difference Between Innertext And Innerhtml Property?
Answer :
innerText:- The innerText property of the object refers to the text contained in the element.
innerHTML:-The innerHTML property is similar to innerText,but it can include XHTML formatting.
Question 27. What Is Dynamic Content?
Answer :
Changing the text displayed on screen is a Dynamic HTML ability called dynamic content.
Question 28. What Is The Use Of Tagname And Classname Property In Dhtml?
Answer :
The tagName property contains the name of the tags we encounter while looping through the document , to place them in the string element.
The className property of an element is used to change the element’s style class.
Question 29. What Is Dynamic Positioning?
Answer :
In Dynamic positioning ,XHTML elements can be positioned with scripting.This is done by declaring an element’s CSS position property to be either absolute or relative and then moving the element by manipulating any of the top,right or bottom CSS properties.
Question 30. What Is The Use Of Navigator Object?
Answer :
The navigator object contains information about the web browser that is viewing the page. This allows Web authors to determine which browser the user has.The navigator.appName property contains the name of the application.
Ex for IE,this property is “Microsoft Internet Explorer” for Netscape, it is “Netscape”.
Question 31. What Is The Use Of Offsetx And Offsety Properties Of An Event Object?
Answer :
The event object contains information about the triggered event.The offsetX and offsetY properties of an event object give the location of the mouse cursor relative to the top-left corner of the object on which the event was triggered.
Question 32. What Is The Use Of On Error Event In Dhtml?
Answer :
The on error event is used to write error handling code.The syntax window.onerror=functionName specifies that functionName runs if the onerror is triggered in the window object. Error handlers can accept three parameters from the onerror event.
Question 33. What Are The Three Parameters Passed By Onerror Event?
Answer :
The Error handlers can accept three parameters from the on error event.The onerror event passes the type of error that occurred, the URL of the file that had the error and the line number on which the error occurred.
Question 34. What Is The Difference Between Filters And Transitions ?
Answer :
Filters and Transitions are specified with the CSS filter property. Filters and Transitions do not add content to your pages-rather, they present existing content in an engaging manner to cpture the user’s attention.
Filters:-Applying filters to text and images causes changes that are persistent.
Transitions:-Applying a transition allow to transfer from one page to another with a pleasant visual effect, such as a random dissolve.
Question 35. Where We Can Apply Filters And Transitions Property?
Answer :
Filters and Transitions can be applied to all block-level elements such as div or p.They can be applied to an inline-level element such as strong or em, however ,only if the element has its height or width CSS property set.
Question 36. What Is The Use Of Flipv And Fliph Flip Filters?
Answer :
The flipv and fliph filters mirror text or images vertically and horizontally.
Fliph:- Which flips the affected object horizontally.
Flipv:- Which flips the affected object vertically.
Question 37. What Is The Use Of Chroma Filter?
Answer :
The chroma filter applies transparency effects dynamically, without using a graphics editor to hard-code transparency into the image.
Question 38. What Is The Use Of Shadow And Glow Filter And Alpha Filters?
Answer :
Shadow filter:-A simple filter that adds depth to your text is the shadow filter.This filter creates a shadowing effect that gives your text a three –dimensional appearance.
Glow filter:- The glow filter adds an aura of color around text.The color and strength can both be specified in glow filter.
Alpha filter:-The alpha filter is also used for transparency effects not achievable with the chroma filter.
Question 39. What Is The Use Of Data Binding ?
Answer :
Answer :
Question 41. What Is Activex Control?
Answer :
Question 42. What Is The Use Of Object Tag?
Answer :
An object tag inserts an ActiveX Tabular Data control .The classid attribute specifies the ActiveX control identifier.
Question 43. What Is The Use Of Param Tag?
Answer :
The param tag specifies parameters for the object in the object tag.The name attribute is the parameter name and the value attribute is the value.The DataURL parameter is the URL of the data source .The Use Header parameter specifies that the first line of the data file is to have a header row when set to true.The TextQualifier parameter sets the text qualifier of the data.The FieldDelim parameter sets the field delimiter of the data.
Question 44. What Is Use Of Datasrc And Datafld Attributes?
Answer :
The datasrc attribute refers to the id of the TDC object,and the datafld attribute specifies the name of the field to which it is bound.
List out the different Multimedia-ActiveX objects:
Question 45. What Are The Two Functions Used For Displaying The Text Using Activex Control?
Answer :
Question 46. What Is The Need Of Client-side Scripting?
Answer :
Following are the issues that get handled using client side scripting:
Question 47. What Is The Advantage Of Indirectly Embedding Of Javascript?
Answer :
Question 48. What Is The Disadvantage Of Indirectly Embedding Of Javascript?
Answer :
If small amount of Javascript code has to be embedded in XHTML document then making a separate Javascript file is meaning less If the Javascript code has to be embedded at several places in XHTML document then it is complicated to make separate Javascript file and each time invoking the code for it from the XHTML documents.
Listout the Global functions in Javascript type:
Question 49. What Are Three Forms Of Control Statements Available In Javascript?
Answer :
If statement
If …else statement
Switch statement
While statement
Do.. while
For statement
For in statement .
Question 50. Write The Name Of Objects Available In Javascript ?
Answer :
Question 51. Write The Methods Available In Window Object ?
Answer :
Question 52. What Are The Methods Available In Date Object?
Answer :
Question 53. What Is The Use Of Array Object In Javascript?
Answer :
An array in Javascript is an Arrayobject Operator new is used to dynamically allocate the number of elements required by an array.Operator new creates an object as the program executes,by obtaining enough memory to store an object of the type specified to the right of new.
Question 54. Write The Methods Available In String Object ?
Answer :
Question 55. What Is The Use Of Data Binding?
Answer :
With data binding, data need no longer reside exclusively on the server.Data can be maintained on the client in a manner that distinguishes it from the XHTML code on the page.
Once the data is available on the client,the web application designer can provide various functionality,especially the ability to sort and filter the data in various ways.
Question 56. Write The Syntax For Various Objects Used In Sgc ?
Answer :
Question 57. What Is The Use Of Init() Method In Servlet Life Cycle?
Answer :
Question 58. What Is The Function Of Service() Method In Servlet?
Answer :
Server can invoke the service for particular HTTP request using service()method.The servlets can thenread the data provided by the HTTP request with the help of service() method.
Question 59. What Is The Function Of Destroy() Method In Servlet?
Answer :
Finally server unloads the servlet from the memory using the destroy() method.
Question 60. What Are The Two Packages Used To Implement The Servlet?
Answer :
Question 61. What Is The Use Of Javax .servlet Pakage?
Answer :
This package is used to implement the servlet.The most important interface in this package is Servlet.All the servlet must implement this interface.
Question 62. Why Internet Protocol Is Called As Connectionless Protocol?
Answer :
Internet protocol(IP) is called connectionless protocol because it does not exchange any control information before transmitting any data.The data is just sent to the destination with a hope that it will reach at appropriate place.
Question 63. Why Internet Protocol Is Called As Unreliable Protocol?
Answer :
IP is known as an unreliable protocol because it does not have the provision of retransmitting the lost packets or detect the corrupted data.
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.