Invitation to Authors

Interested in writing a book for us?


Please fill this form and get a chance to get published plus $200 bonus online coupon.


PayPal Logo
HTML,XHTML & CSS Interview Questions You\'ll Most Likely Be Asked
HTML,XHTML & CSS Interview Questions You'll Most Likely Be Asked

ISBN: 9781458118035

Price:   $19.95
Sale: $15.76

Quantity :        
Book Description:

HTML, XHTML & CSS Interview Questions You'll Most Likely Be Asked is a perfect companion to stand ahead above the rest in today’s competitive job market. Rather than going through comprehensive, textbook-sized reference guides, this book includes only the information required immediately for job search to build an IT career. This book puts the interviewee in the driver's seat and helps them steer their way to impress the interviewer.

Table of Contents

1. General
2. HTML
3. CSS
4. XHTML
5. HR Questions
6. INDEX
 

 
Includes:

 

  1. 200 HTML, XHTML & CSS Interview Questions, Answers and Proven Strategies for getting hired as an IT professional
  2. Dozens of examples to respond to interview questions
  3. 51 HR Questions with Answers and Proven strategies to give specific, impressive, answers that help nail the interviews
  4. 2 Aptitude Tests download available on website

 

Sample from the book

(Below Questions and Answers are randomly taken from different pages of the book)
 

121: You are given legacy code that contains all page headings in <span> elements. Your client wants you to make these headings bold. How would you achieve this while minimizing your work?

Answer:

This is done by using CSS. The following CSS markup would make all <span> contents bold: span{font-weight: bold;}

 

125: On a web page with a greenish color scheme, you wish to color all headers green. What are the syntax options for the CSS markup for coloring fonts green?

Answer:

h1{color: #00FF00;}

h1{color: green;}

h1{color: rgb(0,255,0);}

 

149: There are a wide array of browsers available today, and most have different implementations of CSS standards. In particular, Internet Explorer has been reported as being particularly quirky. In this case, what mechanism is available to provide CSS code that is suited for Internet Explorer and the other browsers?

Answer:

This can be done with conditional CSS, which take a syntax such as:

<!--[if IE]>

IE supported code here

<![endif]-->

 

150: You have handled the peculiarities of Internet Explorer by using conditional CSS. However, you also need to provide alternatives for all other browsers. What syntax does conditional CSS support to check non-Internet Explorer browsers?

Answer:

<!--[if !IE]><![endif]-->

 

156: Explain why the following XHTML code snippet will display correctly in a web browser but give errors in an XHTML parser.

<BODY>

Other XHTML elements here

</BODY>

Answer:

The code uses tag names in uppercase, which is invalid XHTML syntax. The correct way to write this would be

<body>

Other XHTML elements here

</body>

 

157: The following code snippet is in HTML and you are asked to re-write it in XHTML. Before re-writing it, comment on the difference in syntax between HTML and XHTML for this snippet.

<h1>Etiam at dolor dolor.</h1>

<p>Nam ante augue, posuere nec imperdiet vitae, volutpat at arcu.</P>

<p>Duis vel augue felis, vitae elementum nibh.</p>

Answer:

Things to check are proper nesting of the tags, and also that they are in the proper case. In this case, one element is not. The correct XHTML is

<h1>Etiam at dolor dolor.</h1>

<p>Nam ante augue, posuere nec imperdiet vitae, volutpat at arcu.</p>

<p>Duis vel augue felis, vitae elementum nibh.</p>

 

 

195: On a registration form, there needs to be a selection for Gender, with two options: Man, Woman. Only one of these options can be selected. Provide an XHTML code snippet of the XHTML to achieve this that is of type Strict DTD.

Answer:

<input type="radio" name="gender" value="Man" />

<input type="radio" name="gender" value="Woman" />

 

196: A form needs to redirect to a new page that should also open in a new window. Provide a valid XHTML code snippet of what attribute can be used to achieve this. Assume that the web page is DTD Transitional.

Answer:

<form action=”nextpage.html” target=”_blank”></form

 

Share

New Title Idea Submission

Got a fantastic New Title Idea but didn't find it in our catalogue?


Please fill this form and see your idea getting published. Also a chance to win $100 coupon.



Visitor Rating : 10/ 10 Based on 590 ratings.