YouTube Icon

Interview Questions.

Top 100+ Html 4 Interview Questions And Answers - May 31, 2020

fluid

Top 100+ Html 4 Interview Questions And Answers

Question 1. How Do I Remove The Border Around Frames?

Answer :

Removing the border round frames entails both no longer drawing the body borders and disposing of the gap between the frames. The most widely supported way to display without borders frames is <FRAMESET ... BORDER=0 FRAMEBORDER=0 FRAMESPACING=0>.

Note that these attributes are proprietary and now not a part of the HTML four.01 specs. (HTML four.01 does define the FRAMEBORDER characteristic for the FRAME detail, but no longer for the FRAMESET detail.) Also, casting off the border around a body makes it hard to resize it, as this border is likewise used in maximum GUIs to alternate the dimensions of the frame.

Question 2. How Do I Create Frames? What Is A Frameset?

Answer :

Frames allow an creator to divide a browser window into more than one (rectangular) areas. Multiple files may be displayed in a single window, each inside its very own body. Graphical browsers permit those frames to be scrolled independently of every different, and hyperlinks can replace the document displayed in one body without affecting the others.

You can't just "add frames" to an current record. Rather, you should create a frameset report that defines a particular mixture of frames, after which show your content material files inner the ones frames. The frameset file must also include opportunity non-framed content material in a NOFRAMES element. The HTML four frames version has sizable design flaws that cause usability troubles for web users.  Frames ought to be used most effective with extraordinary care.

XML Interview Questions
Question three. How Is The Page Structure Of Html five Different From Html four Or Previous Html?

Answer :

A normal internet page has headers, footers, navigation, principal location and aspect bars. Now if we want to symbolize the equal in HTML 4 with right names to the HTML phase we'd probable use a DIV tag.

But in HTML five they have made it more clean by way of developing element names for the ones sections which makes your HTML extra readable.

Below are more details of the HTML 5 factors which form the page structure.
•<header>: Represents header records of HTML.
•<footer>: Footer section of the page.
•<nav>: Navigation elements inside the web page.
•<article>: Self-contained content material.
•<section>: Used inner article to outline sections or organization content material in to sections.
•<aside>: Represent aspect bar contents of a web page.

Question four. What Is Html 4 Header And Footer?

Answer :

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

.

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

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

Answer :

following wellknown principles when running with HTML 4.0.

Separate shape and presentation
HTML has its roots in SGML which has always been a language for the specification of structural markup. As HTML matures, increasingly of its presentational factors and attributes are being changed through different mechanisms, mainly fashion sheets. Experience has proven that separating the structure of a file from its presentational elements reduces the cost of serving a wide variety of structures, media, and so forth., and allows report revisions.

Consider customary accessibility to the Web
To make the Web more available to anyone, significantly people with disabilities, authors should recall how their documents can be rendered on an expansion of structures: speech-primarily based browsers, braille-readers, etc. We do not recommend that authors restrict their creativity, handiest that they keep in mind trade renderings in their layout. HTML offers some of mechanisms to this stop (e.G., the alt attribute, the accesskey attribute, and many others.)

Furthermore, authors must understand that their documents can be achieving a much-off audience with distinctive computer configurations. In order for documents to be interpreted effectively, authors should encompass in their files records approximately the natural language and direction of the text, how the record is encoded, and different issues related to internationalization.

Help consumer sellers with incremental rendering
By cautiously designing their tables and making use of new table features in HTML 4.Zero, authors can help consumer retailers render documents more fast. Authors can discover ways to layout tables for incremental rendering (see the TABLE element). Implementors must consult the notes on tables [p.317] in the appendix for facts on incremental algorithms.

HTML Interview Questions
Question 6. What Is Sgml?

Answer :

SGML is a gadget for outlining markup languages. Authors mark up their files by using representing structural, presentational, and semantic information alongside content. HTML is one instance of a markup language.

Question 7. How To Read The Html Dtd?

Answer :

Each detail and attribute announcement in this specification is accompanied by using its record type definition fragment. We have selected to include the DTD fragments within the specification in preference to searching for a more approachable, however longer and less particular means of describing an element’s residences. The following tutorial must permit readers unexpected with SGML to examine the DTD and recognize the technical info of the HTML specification.
•DTD Comments
•Parameter entity definitions
•Element declarations
•Attribute declarations

HTML 4 Tutorial HTML 5 Interview Questions
Question eight. 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">

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">

HTML+XHTML Interview Questions
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 feasible the usage of most effective HTML.

HTML Tutorial




CFG