HTML 4 Interview Questions & Answers

5 avg. rating (100% score) - 1 votes

HTML 4 Interview Questions & Answers

Searching for an HTML 4 Job? Are you confused about the interview questions? Then www.wisdomjobs.com site will help you to explore all the options and build up an excellent career as HTML 4 Expert. HTML4 is the latest version released by the World Wide Web consortium for web pages. To make sure that your pages meet the terms with standards like HTML4 will allow your website to be viewed by the maximum number of people. Since HTML4 was available, browsers have moved on and support for HTML4 is becoming much more reliable between all updated browsers. Many HTML 4 jobs are published frequently for positions like Graphic & Web Designer, PHP Web Developer, Software Engineer, Software Developer, HTML Programmer, UI Developer, System Engineer etc. Our HTML 4 job Interview questions and answers page designed by our experts will help you to grab attention by the hiring recruiter and makes your job search process easier.

HTML 4 Interview Questions

HTML 4 Interview Questions
    1. Question 1. 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.

    2. Question 2. 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.

    3. Question 3. 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.
      •<header>: Represents header data of HTML.
      •<footer>: Footer section of the page.
      •<nav>: Navigation elements in the page.
      •<article>: Self-contained content.
      •<section>: Used inside article to define sections or group content in to sections.
      •<aside>: Represent side bar contents of a page.

    4. Question 4. What Is Html 4 Header And Footer?

      Answer :

      <div id="header"> 
      <h1>Monday Times</h1> 
      </div> 

      .

      <div id="footer"> 
      <p>&copy; JavaTpoint. All rights reserved.</p> 
      </div>  

    5. Question 5. What Are The Authoring Documents With Html 4.0?

      Answer :

      following general principles when working with HTML 4.0.

      Separate structure and presentation
      HTML has its roots in SGML which has always been a language for the specification of structural markup. As HTML matures, more and more of its presentational elements and attributes are being replaced by other mechanisms, in particular style sheets. Experience has shown that separating the structure of a document from its presentational aspects reduces the cost of serving a wide range of platforms, media, etc., and facilitates document revisions.

      Consider universal accessibility to the Web
      To make the Web more accessible to everyone, notably those with disabilities, authors should consider how their documents may be rendered on a variety of platforms: speech-based browsers, braille-readers, etc. We do not recommend that authors limit their creativity, only that they consider alternate renderings in their design. HTML offers a number of mechanisms to this end (e.g., the alt attribute, the accesskey attribute, etc.)

      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
      By carefully designing their tables and making use of new table features in HTML 4.0, authors can help user agents render documents more quickly. Authors can learn how to design tables for incremental rendering (see the TABLE element). Implementors should consult the notes on tables [p.317] in the appendix for information on incremental algorithms.

    6. Question 6. 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.

    7. Question 7. 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.
      •DTD Comments
      •Parameter entity definitions
      •Element declarations
      •Attribute declarations

    8. Question 8. 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">

    9. Question 9. 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">

    10. Question 10. 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.

Html 4 Tutorial

Html 4 Practice Tests

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

HTML 4 Tutorial