-
-
HTML Width Attribute
What is the difference between width=”100” and width=”100%”?
-
-
What are the differences between cell spacing and cell padding?
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.
The general format of specifying cell padding is as follows:
< table width="100" border="2" cellpadding="5">
The above adds 5 pixels of padding inside each cell .
Cell... -
JavaScript in HTML
Which tag do we use insert a JavaScript in HTML page?
-
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...
-
Html Interview Questions
Ans