Tuesday, 15 April 2014

Top Web Designing interview questions and answers are below

Questions : 1 Wht is a CSS File? It is used for what purpose
Answers :
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
Answers :
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" >
Questions : 3 How do I add scrolling text to my page?
Answers :
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 :
Use the mailto command in your A HREF link tag as shown below. < A HREF="mailto:support@computerhope.com?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 :
Use the align statement in your IMG SRC tag as shown below. < IMG SRC="http://www.computerhope.com/chguy.gif" align=top > Also, instead of align=top you can do align=middle, and align=bottom. .


Post a Comment