Top 34 Web Designing Interview Questions You Must Prepare 19.Mar.2024

It’s a number in JavaScript, derived by dividing negative number by zero.

Layer is a component which holds the object. Without affecting the other content, we can modify the object in it.

Gradient is a mixing of two or more colors.

  • DHTML is a combination of HTML, XHTML, Javascript, Jquery and CSS.
  • DHTML is a TERM describing the art of making dynamic and interactive web pages.

Point the body background to the name of your image you wish to use as the background as shown below. This body line should be the first line after your < / head> tag.
< body background="picture.gif" >
You can also have the background image fixed, so it does not move when using the scroll bar in the browser. To do this add the BGPROPERTIES tag as shown below.
< body background="picture.gif" bgproperties="fixed" >

Keep in mind not all browsers support scrolling text. however to do this add a tag similar to the below example. < marquee >THIS WOULD SCROLL< /marquee> The above example would create the below scrolling text. If your browser supports scrolling text the below example should be scrolling. More examples can be found on our main HTML page that lists most of the HTML commands.

  • CSS stands for Cascading Style Sheets.
  • Styles define how to display HTML elements.
  • Styles were added to HTML 4.0 to solve a problem.
  • External Style Sheets can save a lot of work.
  • External Style Sheets are stored in CSS files.

External Style Sheet is a template/document/file containing style information which can be linked with any number of HTML documents. This is a very convenient way of formatting the entire site as well as restyling it by editing just one file. The file is linked with HTML documents via the LINK element inside the HEAD element. Files containing style information must have extension .css, e.g. style.css.

< HEAD > < LINK REL=STYLESHEET HREF="style.css" TYPE="text/css"> < / HEAD>

With this one in css —– text-transform: capitalize.

Since 1 is a string, everything is a string, so the result is 124.

Number, String, Boolean, Function, Object, Null, Undefined.

Use the parseInt() function, that takes a string as the first parameter, and the base as a second parameter. So to convert hexadecimal 3F to decimal, use parseInt ("3F", 16).

A prompt box allows the user to enter input by providing a text box.

<body style=”background-color:yellow”>.

Values for position: static, relative, absolute, fixed, inherit.

CSS stands for "Cascading Style Sheets", and are used to control and manage font styles, font sizes, and web site color combinations that are used in a web page. In order to retain continuity of "look and feel" throughout a website, all pages within a website will often refer to a single CSS file. The CSS file is typically contained in a separate file from the website, and the various web pages retrieve the CSS file each time a web page is displayed. CSS files make global appearance changes easy -- a single change in a CSS file will mean that any pages using that CSS file will automatically display the changes.

The World Wide Web Consortium (w3c Consortium).

  • XHTML stands for Extensible Hyper Text Markup Language.
  • XHTML is almost identical to HTML 4.0@
  • XHTML is a stricter and cleaner version of HTML.
  • XHTML is HTML defined as an XML application.
  • XHTML is supported by all major browsers.
  • XHTML is case sensitive.

Return true if the argument is not a number.

An alert box displays only one button which is the OK button whereas the Confirm box displays two buttons namely OK and cancel.

/* include your comment here*/.

Cascading Style Sheets (CSS) is not case sensitive. However, font families, URLs to images, and other direct references with the style sheet may be. The trick is that if you write a document using an XML declaration and an XHTML doctype, then the CSS class names will be case sensitive for some browsers. It is a good idea to avoid naming classes where the only difference is the case, for example: div.myclass { ...} div.myClass { ... } If the DOCTYPE or XML declaration is ever removed from your pages, even by mistake, the last instance of the style will be used, regardless of case.

Yes we can organize layers.. For example you create a Ball in 1st layer and then in second layer you create the background. But you should lock all the layers and unlock the layer which u r working, because unlocked layers will be active always(active means, if u want to drag the ball, background layers also will be affected).

~ operator is used convert 00110011 into 11001100.

  • HTML5 will be the new standard for HTML, XHTML, and the HTML DOM.
  • HTML5 is still a work in progress. However, most modern browsers have some HTML5 support.

There are three types to write CSS in html:

  • Inline style sheet.
  • Internal style sheet.
  • External style sheet.

  • XML stands for extensible Markup Language.
  • XML is designed to transport and store data.

We use the clearance in HTML code for separating the content from one <div> content after floating the position of other<div> content.

No HTML tags are not case sensitive.

<a href=”URL”>Link</a> – Used for linking another page.
<h1> – heading1 tag.
<b> – Used for Bold.
<img src=”imageurl”> – To insert a image.

There are two types of graphics

  • Raster Graphics –pixels (photoshop).
  • Vector Graphics – Lines & Curves( Illustrator).

<link rel=”stylesheet” type=”text/css” href=”mystyle.css”>.