Interview Question Answer Html Dhtml
what is the Html?
HyperText is the method by which you move around on the web — by clicking
on special text called hyperlinks which bring you to the next page. The fact
that it is hyper just means it is not linear — i.e. you can go to any place on
the Internet whenever you want by clicking on links — there is no set order to
do things in.
Markup is what HTML tags do to the text inside them. They mark it as a
certain type of text (italicised text, for example).
HTML is a Language, as it has code-words and syntax like any other language.
What are the attributes that make up a DHTML?
DHTML is called as Dynamic HTML. This is used to increase the interactive
ability and the visual effect of the web pages which is loaded in the browser.
The main technologies that are used in DHTML are namely:
What is meant by iframe ?
iframe is used for creating an inline or floating frame. As most of know frames
are mainly used to structure the page or for placing a menu bar on the side and
so on. But iframe is used in a different context. That is in other words iframe
is used to embed or insert content on a page of padding. This is done for
several reasons. Say the content may be large enough that the user may wish to
place it separately and scroll through it
How to place a background for a single table cell?
You can put a background for a single table cell in two ways namely: Either by
What are differences between DIV and SPAN?
DIV is used to select a block of text so that one can apply styles to it.
SPAN is used to select inline text and let users to apply styles to it.
The main difference between DIV and SPAN is SPAN does not do formatting by
itself. Also the DIV tag is used as a paragraph break as it creates a logical
division of the document in which it is applied. This is in contrast to the
SPAN as SPAN simply dos the functionality of applying the style and alignment
whatever was specified in it. DIV has ALIGN attribute in it which is not
present in case of SPAN. Thus DIV is used in cases where one wants to apply
styles to a block of text. But there may be situations in which there might not
be clear well structured block of text to work with. In those cases one can opt
to apply SPAN which is used to apply styles inline. That is in other words DIV
is generally used for block of text and SPAN is generally used for words or
What are the differences between cell spacing and cell padding?
Cell padding is used for formatting purpose which is used to specify the space
needed between the edges of the cells and also in the cell contents.
Cell spacing is one also used f formatting but there is a major difference
between cell padding and cell spacing. It is as follows: Cell padding is used
to set extra space which is used to separate cell walls from their contents.
But in contrast cell spacing is used to set space between cells.
How do I specify page breaks in HTML?
Here is no way in standard HTML to specify where page breaks will occur when
printing a page. HTML was designed to be a device-independent structural
definition language, and page breaks depend on things like the fonts and paper
size that the person viewing the page is using.
How do I add scrolling text to my page?
Add a Tag of marquee
How do I close a browser window with HTML code?
Use the below code example. < type="button" value="Close this window"
Is it possible to make the HTML source not viewable?
There is no real method or script for making standard HTML source code not
There are various script that Disable Right click feature.
How do I do multiple colors of text?
To do the multicolor text adjust the color of your font tag as:
< font color="blue">blue
WHow do I make a picture a link?
Use the A HREF link tag around the IMG image tag as:
< A HREF="http://www.computerhope.com"> < image SRC="title.gif">