Tuesday, August 16, 2011

Interview Questions on HTML

HTML Interview Questions

1) What is an attribute ?
Attribute helps you in actually customizing most of the tags present in HTML. An attribute is a keyword that you use in an opening tag to give more information to the web browser. This tag is very helpful in HTML.

2) Describe about element?
tag has information about “metadata” of your web page. This tag holds information about keywords for search engines, refresh rates for client pull, and more. It connects value to names and it places information in HTTP headers which determine the pages behavior. It includes keywords about your webpage which are parsed and indexed by search engines for collecting information about your webpage. Also the display of your webpage on internet is chiefly dependent upon your keywords.

3) What is the difference between TT, KBD, SAMP?
TT: - This tag displays text in monospace “teletype” font. This is useful to create “teletype” text.
SAMP: -This tag styles text as sample program output. The ouput is usually displayed in a monospace font.
KBD: -This displays the text the user is supposed to enter, usually in bold or standard monospace font. The text which the user should enter is displayed in monospace font.

4) What are the different types of lists? Explain?
There are three kinds of lists they are unordered lists, ordered lists and definition lists.
* Unordered lists: -You can create them with elements like UL. Each item in the list gets its own element using the LI list item tag.
* Ordered lists: -While unordered lists displays a simple bullet before each list item, Ordered lists use a number system of some kind to indicate that the terms are ordered in some way.
• Definition lists: -These lists include both terms and their definitions. You use the

element to create these lists. This tag uses both unordered lists and ordered lists.

5) How do you customize columns in column groups?
You can use the element to specify formatting for every column in a group, if you include these elements inside a element. The first element in a element sets the formatting and style for the first column. The next element sets the formatting and style for the next column.

6) Explain about iframe
Internet explorer supports inline frames which are also called as floating frames. Inline frames can appear wherever you want them including in the middle of the page. All you have to do is specify the height and width of the frame after which you can load the HTML page into it. Inline frames are supported with the IFRAME element.

7) Explain about DATAFLD and DATASRC?
DATAFLD names the column of the data source object that supplies the bound data. Set to alpha numeric characters. DATASRC guides the URL or ID of the data source object supplying data bound to this element. W3c says it should be a url; internet explorer says it should be a data source.

8) What are the different multimedia controls which IE supports?
Internet explorer supports various controls and functions such as
* Behaviors: -which creates special behavior elements for the page
* Effects which lets you apply graphics filter to the page
* Hotspot converts regions of the screen into clickable regions.
* Mixer mixes WAV files
* Path moves elements along a path creating animation
* Sequence provides control for timing events
* Sprite creates sprite based animations etc.

9) Explain about OBJECT and PARAM?
OBJECT command is used to embed objects such as active controls in webpages, tasks of APPLET, EMBED, BGSOUND, SOUND and IMG elements.
PARAM: -Supplies parameters to the object specified by the enclosing OBJECT or APPLET element. Structure graphic control tell you what to draw.

10) Explain about Z-Index?
Z-Index lets you specify the stacking order of alayer. Layers that have higher Z-INDEX values go above those with lower z-index values, Z index values that are positive are stacked above their parents, while negative ones are stacked below their parents.

11) Explain EMBED and NOEMBED and their supporting tags?
Embed lets you embed a plug in in a web page to play multimedia inline or anything else a plug in can do. There are three required attributes HEIGHT, WIDTH AND SRC.
NOEMBED This tag displays text (hyperlinks) or HTML that doesn’t use embedded components. This is used to display text, hyperlinks and no embedded HTML.

12) What is a MARQUEE element?
The MARQUEE element is an internet explorer element that displays text in a moving “marquee” which can scroll, slide, or bounce in a horizontal strip. It is entirely dependent upon the programmer to set the size of the script in a MARQUEE.

13) Describe about server side image map?
To create a server side image map, you use the ISMAP stand alone attribute of the IMG element. Surround the whole element that displays the map in a hyperlink element. Theelements HREF attribute gives the URL of the map file you want to use. The map file specifies the clickable regions in the map.


No comments:

Post a Comment