Html 5 interview Questions and Answers
Hyper Text Markup Language (HTML) is the main markup language for creating web pages and additional information with the aim of can be displayed in a web browser.
HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like <html>), inside the web page content. HTML tags the majority commonly come in pairs like <h1> and </h1>, even though some tags, well-known as empty elements, are unpaired, for example <img>. The first tag in a two of a kind is the start tag, and the second tag is the end tag (they are also called opening tags and closing tags). In sandwiched between these tags web designers can add text, tags, explanation and extra types of text-based content.
HTML Version history of the standard:
November 24, 1995:Html 2.0
January 1997 :Html 3.2
April 1998: Html 4.0
December 1999:Html 4.01
14 February 2011:Html 5.0
The principle of a web browser is to read HTML documents and compose them into visible or audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page.
1. Define HTML?
The language which is used for describing web pages is known
as HTML.
• The abbreviation of HTML is Hyper Text Markup Language.
• HTML is a markup language but not a programming language.
• A set of mark up tags is known as markup language.
• To describe web pages, markup tags are used by HTML.
2. Differentiate HTML and HTML Extension?
The extension which is used for saving HTML file is .html or
.htm. In our example .htm is used. It is a past habit when only three letters
are allowed for the software in file extensions. In the new versions of
software, we can perfectly use .html extension.
3. Define tag?
Browser is told what to do by the tags in the HTML language.
While writing an HTML page, the tags are entered for many reasons such as to
show graphic, to change the text appearance or to link to other page.
4. Define HTML tag?
In the HTML language, HTML tag is a syntactical construct
that abbreviates particular instruction to be executed when the web browser
loads HTML script. It is like a function in C++, method in Java, routine in
FORTRAN or a procedure in Pascal.
5. Define Hypertext link?
The special tag linking one page to other resource or a page
is known as hypertext link. If you click the link then the browser jumps to the
destination link.
6. Differentiate HTML form methods GET and POST?
Which method is used by the client to send information to
web server is specified by the method parameter.
• POST – post_args
• GET – httpargs
7. How an index document is defined?
Many times we use index.htm document as it is standard for
host-server to look and deploy document. It is the default document which is
displayed on the web.
8. How a HEAD is defined in HTML?
In HTML, HEAD is placed before body and it is used to show
general information or unordered collection about HTML document. In HTML, it is
the first tag which helps to give title for the page.
9. How a body is defined in HTML 5?
In HTML, body specifies all the contents in the document and
it contains colors, images, text, graphics, etc.
10. How to keep sound for older version internet explorer?
is the technique used for older versions of internet
explorers.
11. Can HTML is used in box?
Yes. Any HTML tag that is supported by the browser works in
the box.
12. Define polymorphism?
In object oriented programming polymorphism is nothing but
objects ability to take form objects of different classes.
13. Differentiate component and container?
Component is an object like a scroll bar or button that is
visually presented on screen window whereas a container is window-like
component which has different components.
Each component has unique container that contains it
directly.
14. Differentiate constructor and method?
The member function of a class which is used for creating
objects of that particular class is known as a constructor. It has the same
name of a class without any return type. New operator is used to invoke it.
An ordinary member function of a class is known as a method.
It has a return type with its own name. Dot operator is used to invoke it.
15. What are the different graphic types?
In general, there are two different types of graphics, they
are:
• Raster Graphics – pixels
• Vector Graphics – lines and curves
16. Define Gradient and how to apply it?
Mixing two or more colors are known as Gradient.
17. Define DHTML?
The combination of HTML, JavaScript, XHTML, CSS and Jquery
is known as DHTML.
It is used for creating interactive and dynamic web pages.
18. What is the difference between HTML and DHTML?
HTML:
• The full form of HTML is hyper text markup language.
• HTML is a markup language but not programming.
• It does not allow any features.
• HTML documents describe web pages which include HTML tags
and plain text.
DHTML:
• The full form of DHTML is dynamic hyper text markup
language.
• Few extra features are permitted by DHTML.
• DHTML sites are going fast on the client based technologies.
• The art of combining HTML, HTML DOM and JavaScript is
known as DHTML.
19. Define XML?
• The abbreviation of XML is extensible markup language.
• To store and transport data, XML is used.
20. Define CSS?
The abbreviation of CSS is Cascading Style Sheets. To solve
problem, styles are added to HTML 4.0 and these styles define how the HTML
elements are showed. Lot of work is saved by External Style Sheets and is
stored in CSS files.
21. Define HTML5?
The new standard for HTML, HTML DOM and XHTML is HTML5.
HTML5 is work in progress and the modern browsers have
support to HTML5.
22. Does HTML is case sensitive?
No, it is not case sensitive.
23. What are the advantages of HTML?
The main advantages of HTML are as follows:
• HTML is the widely used language.
• Almost all the browsers support HTML.
• HTML is very simple and usage, learning is easy.
• You need not purchase additional software as it is in
windows by default.
• The syntax of HTML and XML is similar and XML is widely
used for storing data.
• Even the beginners feel easy to code the program.
24. What are the disadvantages of HTML?
• HTML is used to develop plain and static pages. HTML suits
perfectly when dynamic pages are required.
• A lengthy code is written to create a simple HTML page.
• The security features are not good in HTML.
• If you write a length code to develop web pages then the
code may result in complexity.
Really this HTML5 interview Questions is help full for new candidates. Currently i am doing job change in HTML5. I learned these questions before into interview with Cognizant Solution. Thanks i got few questions from this article. Nice one. I am sharing few more interview questions here for HTML5 Developers http://jharaphula.com/top-15-html5-interview-questions-with-answers
ReplyDeleteReally this HTML5 interview Questions is help full for new candidates. Currently i am doing job change in HTML5. I learned these questions before into interview with Cognizant Solution. Thanks i got few questions from this article. Nice one. I am sharing few more interview questions here for HTML5 Developers http://jharaphula.com/top-15-html5-interview-questions-with-answers
ReplyDelete