web designing interview questions for Freshers/beginners

What is www?

WWW stands for world wide web. It is a kind of website version that help webmasters to display text, video, graphic, and other digital data to the Internet users via uniform resource locator(URL).
Html stands for?

Who is known as the father of www?

Tim Berner-Lee is known as the father of www.

HTML stands for Hypertext Markup Language.

Tell me the latest version of HTML?

Html5.

Properties of html?

.Error free langauge.

.upper case and lower case both are same.

.Microsoft Wordpad is enough to do HTML coding.

what is a tag?

A tag is a piece of code which shows the format of a webpage.
for e.g.-<h1>header</h1>,<p>paragraph</p>

How to create space between two links

by placing   in between the links

for e.g.- <a href=”test.html”>test</a>&nbsp;&nbsp;<a href=”text.html”>text</a>

Write the html code for opening the link in new tab?

<a href=”link location” target=”new”>.

1.What is java script?
Javascript is an interpreted computer programming which is used for client side validation and now for server side validation also.
2.When was javascript came into existence?
1995.
3.who developed javascript?

Netscape communication.

4.Features of javascript?

It is used for client and server side validation.

It is a case sensitive language. Both upper and lower cases are different.

Javascript files are saved with a .js extension.

5.Differentiate client side validation or Server side validation?

Client and server side validations both have their unique advantages and disadvantages.  We can say both are good in different aspects.

Client side validation is fast in comparison to server side as the validations will be checked on the browser, while in server side validation request will be sent to the server and then after checking validation results will occur, it take little bit more time than client side validation.

From a security point of view server side is better than client side validation.

The threat of error occurrence is quite higher in client side scripting during complex calculations than server side scripting.

1.CSS stands for?

cascading style sheet.

2.what is CSS?

CSS(cascade style sheets) as the name is explaining that it is used to format the layout of webpages, it can be used to define text styles, tables, tc which was previously done in html pages.

3.Who developed css?

WWW consortium developed CSS.

4.When was css developed?

In December 1996.

5.Which is the latest version of CSS?

CSS3.

6.what are id and class in CSS?

Id->Id is used to specify style for single specific element.It is denoted by”#”.

class->class is used to spcify style to various elements in the same class.it is denoted by”.”.

7.Difference between id and class?

Id is unique as it specify style for single elements while class specifies style for various elements in a class.

Id and class can both be numeric ,alphanumericbut can be alphabetic.

8.types of css?

There are three types of css:-

Inline css: -Inline css is used when unique style is applied to a single occurence of element.It is pplied within a tag.

internal css: -It is defined in head tag and applies only to that page.

external css: -It is defined in a seperate page or seperate file.It applies to all pages which is linked with the external sheets.

9.Diff. between internal and external css?

internal css external css
changes applied internally. changes applied externally.
modification needs to be done by opening each webpage. modifications need to be done in single css page and changes will automatically applied to all webpages.
webpage will take more loading time as the code size is more. webpage will take less time to load because of short code as style is defined extrenally.

define.tables?

The HTML table model allows programmer to arrange data — text, preformatted text, images, links, forms, form fields, other tables, etc. into rows and columns of cells.

how will you submit registration form without submit button?

We can submit registration form through header() and java script.

List various tags with their uses?

tags full name description
p paragraph Used to align the text in paragraph manner
i italic Used to align the text in italic.
u underline used to under the text.
br breaking row to break the row or for breaking a single line.
non breakable space used for making space between two links.
sub subscript we can use it to write chemical equations in thier actual manner.
sup superscript we use it for assigning power to the variables.
a href hyperrefrence used to create link of another page on the current page.
ul unordered list used to arrange list in any manner.
ol ordered list used to arrange list in a systematic manner.
div division tag it is used for division on a web page.
align alignment tag it is used to align the text,image etc.in center,left or right side on a web-page.
text area text area tag it is used for making a column for writing text.
marquee marquee tag used for scrolling text.
cell spacing cell space tag used in tables for space between cells
cell padding cell pad tag used in table to modify table size
style style tag used to describe font size, color, witdth , bg-color etc in a table