Web Designing interview questions and answers from PCDS consultancy services with Free Training on dynamic website development and interview questions for freshers as well 1 to 3 year experienced on advance and basic Web Designing with examples for getting jobs in IT
Questions : 1 | Wht is a CSS File? It is used for what purpose |
Answers : 1 |
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 |
Questions : 2 | How do I make a picture as a background on my web pages? |
Answers : 2 |
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. |
Questions : 3 | How do I add scrolling text to my page? |
Answers : 3 |
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. |
Questions : 4 | How do I make it so that someone can mail me by just clicking on text with subject? |
Answers : 4 |
Use the mailto command in your A HREF link tag as shown below. < A HREF="mailto:support@pcds.co.in?Subject=Enquiry" >Click here to mail Computer Hope< / A> . |
Questions : 5 | How do I align pictures so that one may be higher or lower than the other? |
Answers : 5 |
Use the align statement in your IMG SRC tag as shown below. < IMG SRC="http://www.pcds.co.in/gum.gif" align=top > Also, instead of align=top you can do align=middle, and align=bottom. . |
Questions : 6 | What is external Style Sheet? How to link? |
Answers : 6 |
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> |
Questions : 7 | Is CSS case sensitive? |
Answers : 7 |
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. |
Questions : 8 | What are the five possible values for “position”? |
Answers : 8 |
Values for position: static, relative, absolute, fixed, inherit |
Questions : 9 | How does the browser determine where to place positioned elements? |
Answers : 9 |
How does the browser determine where to place positioned elements? |
Questions : 10 | What are JavaScript types? |
Answers : 10 |
: Number, String, Boolean, Function, Object, Null, Undefined. |
Questions : 11 | What does isNaN function do? |
Answers : 11 |
Return true if the argument is not a number. |
Questions : 12 | How do you convert numbers between different bases in JavaScript? |
Answers : 12 |
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); |
Questions : 13 | What is negative infinity? |
Answers : 13 |
It’s a number in JavaScript, derived by dividing negative number by zero. |
Questions : 14 | What does "1"+2+4 evaluate to? |
Answers : 14 |
Since 1 is a string, everything is a string, so the result is 124. |
Questions : 15 | What is the difference between an alert box and a confirmation box? |
Answers : 15 |
An alert box displays only one button which is the OK button whereas the Confirm box displays two buttons namely OK and cancel. |
Questions : 16 | What is a prompt box? |
Answers : 16 |
A prompt box allows the user to enter input by providing a text box. |
Questions : 17 | What is work Area in photoshop? |
Answers : 17 |
The work area can be intimidating to work with because of all the complex functionality but with a quick breakdown of the available features and their uses, you will be ready to comfortably navigate the work area with ease. The work area in Photoshop has the following basic functionality and features: ? Menu Bar ? this is where you can access most of the commands and features in Photoshop ? Drawing Palette ? where the image being worked on will appear ? Options bar ? content sensitive display of tool options ? changes as different tools are selected ? display using Window > Options or Click a tool in the toolbox. Lasso options bar ? Tool box - for creating an editing images (display or hide using Windows > Tools) ? Palettes - to monitor and modify images (there are 5 palettes by default) ? Palette Well - to organize palettes in work area ? Drag a palette?s tab into the palette well to store it in the palette well ? Once in the palette well click on the palette tab to use it |
Questions : 18 | How Can you organize layers as in photoshop? |
Answers : 18 |
Yes we can organize layes.. 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 drage the ball, backgroung layers also will be affected) |