This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
You Have A Web Page From Which You Would Like To Be Able To Send Data Back And Forth To The Server Through A Form Without Reloading The Page. Which Attribute Should You Add To The Form Element To Accomplish Your Goal? |
|
Answer» This is not POSSIBLE USING only HTML. This is not possible using only HTML. |
|
| 2. |
You Have Been Asked To Add Background Music To A Web Page. Which Tags Would Achieve The Desired Result? |
|
Answer» <EMBED src="media/background.mpeg" loop="INFINITE" autostart="TRUE"> <embed src="media/background.mpeg" loop="infinite" autostart="true"> |
|
| 3. |
Which Code Can Be Used To Help Prevent A Page From Being Cached In The Users Browser? |
|
Answer» <META http-equiv="PRAGMA" VALUE="NO-CACHE"> <meta http-equiv="PRAGMA" value="NO-CACHE"> |
|
| 4. |
How To Read The Html Dtd? |
|
Answer» Each ELEMENT and attribute declaration in this specification is ACCOMPANIED by its document type definition fragment. We have chosen to include the DTD fragments in the specification rather than seek a more approachable, but longer and less precise means of DESCRIBING an element’s properties. The following tutorial should allow readers unfamiliar with SGML to read the DTD and understand the TECHNICAL details of the HTML specification. Each element and attribute declaration in this specification is accompanied by its document type definition fragment. We have chosen to include the DTD fragments in the specification rather than seek a more approachable, but longer and less precise means of describing an element’s properties. The following tutorial should allow readers unfamiliar with SGML to read the DTD and understand the technical details of the HTML specification. |
|
| 5. |
What Is Sgml? |
|
Answer» SGML is a system for DEFINING markup languages. Authors mark up their documents by representing structural, presentational, and semantic information ALONGSIDE CONTENT. HTML is one EXAMPLE of a markup language. SGML is a system for defining markup languages. Authors mark up their documents by representing structural, presentational, and semantic information alongside content. HTML is one example of a markup language. |
|
| 6. |
What Are The Authoring Documents With Html 4.0? |
|
Answer» following general principles when working with HTML 4.0. Separate structure and presentation Consider universal accessibility to the Web Furthermore, authors should keep in mind that their documents may be reaching a far-off audience with different computer configurations. In order for documents to be interpreted correctly, authors should include in their documents information about the natural language and direction of the text, how the document is encoded, and other issues related to internationalization. Help user agents with incremental RENDERING following general principles when working with HTML 4.0. Separate structure and presentation Consider universal accessibility to the Web Furthermore, authors should keep in mind that their documents may be reaching a far-off audience with different computer configurations. In order for documents to be interpreted correctly, authors should include in their documents information about the natural language and direction of the text, how the document is encoded, and other issues related to internationalization. Help user agents with incremental rendering |
|
| 7. |
What Is Html 4 Header And Footer? |
|
Answer» <DIV id="header"> <div id="header"> |
|
| 8. |
How Is The Page Structure Of Html 5 Different From Html 4 Or Previous Html? |
|
Answer» A typical WEB page has headers, footers, navigation, central AREA and side bars. Now if we want to represent the same in HTML 4 with proper names to the HTML section we would probably use a DIV tag. But in HTML 5 they have made it more clear by creating element names for those sections which makes your HTML more readable. Below are more DETAILS of the HTML 5 elements which form the page structure. A typical web page has headers, footers, navigation, central area and side bars. Now if we want to represent the same in HTML 4 with proper names to the HTML section we would probably use a DIV tag. But in HTML 5 they have made it more clear by creating element names for those sections which makes your HTML more readable. Below are more details of the HTML 5 elements which form the page structure. |
|
| 9. |
How Do I Create Frames? What Is A Frameset? |
|
Answer» Frames allow an author to divide a browser window into MULTIPLE (rectangular) regions. Multiple documents can be displayed in a single window, each within its own frame. GRAPHICAL browsers allow these frames to be scrolled independently of each other, and links can update the document displayed in one frame without affecting the others. You can't just "add frames" to an EXISTING document. Rather, you must create a frameset document that defines a particular combination of frames, and then display your content documents inside those frames. The frameset document should also include alternative non-framed content in a NOFRAMES element. The HTML 4 frames model has significant DESIGN flaws that cause usability problems for web users. Frames should be used only with great care. Frames allow an author to divide a browser window into multiple (rectangular) regions. Multiple documents can be displayed in a single window, each within its own frame. Graphical browsers allow these frames to be scrolled independently of each other, and links can update the document displayed in one frame without affecting the others. You can't just "add frames" to an existing document. Rather, you must create a frameset document that defines a particular combination of frames, and then display your content documents inside those frames. The frameset document should also include alternative non-framed content in a NOFRAMES element. The HTML 4 frames model has significant design flaws that cause usability problems for web users. Frames should be used only with great care. |
|
| 10. |
How Do I Remove The Border Around Frames? |
|
Answer» Removing the border around frames involves both not drawing the frame borders and ELIMINATING the space between the frames. The most widely supported way to display borderless frames is <FRAMESET ... BORDER=0 FRAMEBORDER=0 FRAMESPACING=0>. Note that these attributes are proprietary and not part of the HTML 4.01 specifications. (HTML 4.01 does define the FRAMEBORDER attribute for the FRAME element, but not for the FRAMESET element.) Also, removing the border around a frame makes it DIFFICULT to RESIZE it, as this border is also USED in most GUIs to change the size of the frame. Removing the border around frames involves both not drawing the frame borders and eliminating the space between the frames. The most widely supported way to display borderless frames is <FRAMESET ... BORDER=0 FRAMEBORDER=0 FRAMESPACING=0>. Note that these attributes are proprietary and not part of the HTML 4.01 specifications. (HTML 4.01 does define the FRAMEBORDER attribute for the FRAME element, but not for the FRAMESET element.) Also, removing the border around a frame makes it difficult to resize it, as this border is also used in most GUIs to change the size of the frame. |
|