WEB DESIGN HTML INTERVIEW QUESTIONS AND ANSWERS FOR FRESHERS

by Wednesday, February 01, 2012 0 comments
(Q) List out the tags those are mostly used  in HTML?
(A) <a href=”URL”>Link</a> – Used for linking another page.
<h1> – heading1 tag
<b> – Used for Bold
<img src=”imageurl”> – To insert a image
(Q) What is the difference between html and xhtml?
(A)   XHTML stands for Extensible Hyper Text Markup Language
XHTML is almost identical to HTML 4.01
XHTML is a stricter and cleaner version of HTML
XHTML is HTML defined as an XML application
XHTML is supported by all major browsers.
XHTML is case sensitive
Tags must be closed
(Q) In how many types we include CSS style sheet?
(A) There are three types to write CSS in html
Inline style sheet
Internal style sheet
External style sheet
(Q) Who is making the Web standards?
(A) The World Wide Web Consortium (w3c Consortium)
(Q) Write a background color in HTML?
(A) <body style=”background-color:yellow”>
(Q) What is the correct HTML for creating a hyperlink with title?
(A) <a href=http://neeedanyhelp.blogspot.in/ title=”thestudentdaily”>Thestudentdaily</a> Sample: http://neeedanyhelp.blogspot.in/ (Over your mouse on this link)
(Q) Write an HTML code to create an e-mail link?
(A) <a href=”mailto:xxx@yyy”>
(Q) How can we call the external style sheet in HTML for referring?
(A) <link rel=”stylesheet” type=”text/css” href=”mystyle.css”>
(Q) How do we comment a CSS file?
(A) /* include your comment here*/
(Q) How can we make each word in a text start with a capital letter?
(A) With this one in css   —– text-transform: capitalize
(Q) Why we use ‘clear ‘in HTML?
(A) We use the clearance in HTML code for separating the content from one <div> content after floating the position of other<div> content.
(Q) How many types of graphics?
(A) There are two types of graphics
Raster Graphics –pixels (photoshop)
Vector Graphics – Lines & Curves( Illustrator)
(Q) What is a Layer in photoshop?
(A) Layer is a component which holds the object. Without affecting the other content, we can modify the object in it.
(Q) What is Gradient? How to apply gradient?
(A) Gradient is a mixing of two or more colors.
(Q) What is DHTML?
(A) DHTML is a combination of HTML, XHTML, Javascript, Jquery and CSS.
DHTML is a TERM describing the art of making dynamic and interactive web pages.
(Q) What is XML?
(A) XML stands for extensible Markup Language.
XML is designed to transport and store data.
(Q)  What is CSS?
(A) 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
(Q) What is HTML5?
(A) 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.
(Q) Are HTML tags case sensitive?
(A) No HTML tags are not case sensitive.
(Q) What is most used email form script?
(A) PHP
(Q) Which operator used to convert 00110011 into 11001100?
(A) ~ operator is used convert 00110011 into 11001100.

Pankaj Mehndiratta

Network Engg

i am Network Engg in WIPRO