Web Design Interview Questions and Answers
Question - 51 : - What Is Css?
Answer - 51 : -
- 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.
Question - 52 : - What Is Html5?
Answer - 52 : -
- 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.
Question - 53 : - Are Html Tags Case Sensitive?
Answer - 53 : -
No HTML tags are not case sensitive.
Question - 54 : - What Is Most Used Email Form Script?
Answer - 54 : - PHP
Question - 55 : - What Is The Difference Between An Alert Box And A Confirmation Box?
Answer - 55 : -
An alert box displays only one button which is the OK button whereas the Confirm box displays two buttons namely OK and cancel.
Question - 56 : - How Do You Convert Numbers Between Different Bases In Javascript?
Answer - 56 : -
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).
Question - 57 : - What Is A Css File? It Is Used For What Purpose?
Answer - 57 : -
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.
Question - 58 : - How Do I Make A Picture As A Background On My Web Pages?
Answer - 58 : -
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" >
Question - 59 : - How Do I Add Scrolling Text To My Page?
Answer - 59 : -
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.
Question - 60 : - What Is External Style Sheet? How To Link?
Answer - 60 : -
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>