Web Designing Interview Questions And Answers


Question: What is the relationship between SGML,HTML , XML and HTML ?
Answers: SGML stand for (standard generalizd markup language) is a standard which tells us how to specify document markup.
Its only a meta language which describes how a document should be markup. HTML stands for hyper text markup language. HTML is described using SGML.

By SGML they created DTD which the HTML refres. So we find "DOCTYPE" attribute at the top of HTML page whcih defines DTD is used for parsing purpose.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 

Simply in short SGML is parent for every one. Older HTML utilize SGML and HTML 4.0 uses XHTML which is derived from XML.




QUESTION: What is HTML5?
Answers: HTML 5 is new standard for HTML whose main target is to deliver everything without using third party plugins example flash, silver light etc. It provide us facility for attach Animation, videos, Rich GUI in our webpage. HTML5 is cooperation output between world wide web consortium (W3C) and the web hypertext application technology working group(WHATWG).

Question: What is difference between  HTML4.0 and HTMl5 page structure?
Answers: 
A typical web page has numbers of sections like header, footer, navigation, sidebars. Now if we want to place these section we use div tags with regarding ID and classes.

Now but in HTML5 we use separate tags like for header we use <header> tag same as footer, navigation, article, aside, section.

Question: What is data list in HTML5?
Answer:  Datalist elements in HTMl5 provides us auto complete feature in textbox.

<datalist id="Country">
<option value="csszilla">
<option value="htmlcss">
<option value="jquery">
<option value="javascript">
<option value="csszilla">
</datalist>  

Question:  What are the different new form elements in HTML5?
Answers:  
  • color
  • date
  • datetime-local
  • email
  • time
  • url
  • range
  • telephone
  • number
  • search
Example: <input type="email" name="email"> 


Question:- Which browser supports HTML5?
Answers: Almost all web browser supports HTML5, mainly new version of web browsers example, IE9+, opera, mozilla, google crome, safari.

Question:- What is SVG?
Answer:- SVG is scalable vector graphic. Its a text based language used for draw graphics, images,. This facility makes its light version and render fast on web.

Question: What is canvas in HTML5?
Answer:- Canvas is HTML area on which we draw graphics.


What is a CSS File? It is used for what purpose?
Answer:- CSS stands for "Cascading Style Sheets". CSS is used to control font-size, font-weight, color, etc. In easy way we can say that css is used for change look and feel of any website.

How we set backgorund images in our website?
Answer:- < body background="picture.gif" >. 
Background-image property of css is used for set background image.

How do I add scrolling text to my page?
Answer:- Marque property of css is used for scrolling text in website.< marquee >CSS ZILLA is good tutorial blog for website< /marquee>

How do I make it so that someone can mail me by just clicking on text with subject?
Answer:- For this we use mailto function of css, for example <a href="mailto:code.madeeasy@gmail.com">Go to CSS Zilla</a>

What is external css? How we use this in our css?
Answer:- External css is used for make a seperate file of css and include in our index page in head section. 
<head>
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />
</head>
















Comments

Popular posts from this blog

50 Beautiful Color Palettes for Your Next Web Project

div fixed on scroll, scorll js, js for fixed div when scroll