XHTML Interview Question (71-80)

How does a simple CSS style rule look ?
P { font-family: serif; font-size: 1.2em; }
Here we see a rule with a ’selector’ P that has been given two style declarations, i.e. two ‘property:value’ pairs.
‘font-family’ and ‘font-size’ are properties of the content of element P , and these properties are assigned the values of ’serif’ [...]

XHTML Interview Question (61-70)

Colored Horizontal Rule?
You can apply styles to

Horizontal Rules <HR> in IE without problems,

but NN4.xx can only render the silvery HR. But there is a way around it:
.rule {border-top-width: 1px;
border-top-style: solid;
border-color: #FF0000;
margin: 0px 2%;}
that, applied to a div, should give you a red HR in NN4.xx and IE, with a 2% gap on [...]

XHTML Interview Question (51-60)

How do you target a certain browser?
IE can be targetted by preceding your properties with ‘* html’. For example…
#nav {
position:fixed;
}
* html #nav { /* this will target IE */
position:absolute;
}
Another way to target IE is with conditional comments. Put this (below) in the head – just before the closing tag – and put anything you [...]

XHTML Interview Question (41-50)

What is initial value?
Initial value is a default value of the property, that is the value given to the root element of the document tree. All properties have an initial value. If no specific value is set and/or if a property is not inherited the initial value is used. For example the background property [...]

XHTML Interview Question (31-40)

What XHTML does it stand for? How is if different from HTML? Who developed it? ?
XHTML stands for “Extensible HyperText Markup Language”. It was developed by the World Wide Web Consortium (W3C) and is now a W3C Recommendation.
XHTML is a reformulation of HTML 4 in XML 1.0. This means that the benefits provided by [...]

XHTML Interview Question (21-30)

What’s the advantages of XHTML?
* Mixed namespaces
* Much simpler to work with (for programs, at least) than HTML
* You will immediately know when your document is not well-formed due to an error from your UA.
What’s XHTML DTD?
The XHTML standard defines three Document Type Definitions.
The most common is the XHTML Transitional.
The

<!DOCTYPE>

Is Mandatory
An [...]

XHTML Interview Question (11-20)

Why do we need modular DTDs?
An application may wish to support only a subset of XHTML. For example a mobile phone, an Internet TV or even a Web-aware cooker may only require a subset of XHTML. Also modularity makes it easier to deploy new developments.
Any other important new developments?
Yes: XSLT provides a transformation [...]

XHTML Interview Question (1-10)

XHTML Interview Question and Answer
There are many things that you can do ahead of time to prepare for the interviewing process, and move yourself a step above of the competition. Updating your resume and reviewing frequently asked interview questions can be very effective, and goes a long way in getting the most out of [...]