Placement papers on HTML - Set 1
1. What is the correct HTML for referring to an external style sheet?
< link rel="stylesheet" type="text/css" href="mystyle.css">
0
< style src="mystyle.css">
< stylesheet>mystyle.css< /stylesheet>
View Answer / Hide AnswerANSWER: < style src="mystyle.css">
2. Where in an HTML document is the correct place to refer to an external style sheet?
At the top of the document
At the end of the document
In the section
In the < head> section
View Answer / Hide AnswerANSWER: In the < head> section
3. Which HTML attribute is used to define inline styles?
font
class
styles
style
View Answer / Hide Answer4. Which is the correct CSS syntax?
body:color=black
{body;color:black}
{body:color=black(body}
body {color: black}
View Answer / Hide AnswerANSWER: body {color: black}
5. How do you add a background color for all < h1> elements?
h1.all {background-color:#FFFFFF}
all.h1 {background-color:#FFFFFF}
h1 {background-color:#FFFFFF}
_
View Answer / Hide AnswerANSWER: h1 {background-color:#FFFFFF}
6. What is the correct syntax of the declaration which defines the XML version?
< ?xml version="1.0"?>
< ?xml version="1.0" />
< xml version="1.0" />
_
View Answer / Hide AnswerANSWER: < ?xml version="1.0" />
7. Which of the following statements is not true about XML Schemas:
They are used to define the content and structure of data.
They define a set of symbols and the relationships of those symbols.
They are themselves XML documents.
They have their own syntax.
View Answer / Hide AnswerANSWER: They have their own syntax.
8. XML Schemas consist of:
properties and methods.
elements and attributes.
structure and data.
tables and relationships.
View Answer / Hide AnswerANSWER: elements and attributes.
9. An XML component that defines the structure of a document is known as a(n):
DOCTYPE.
DTD.
#PCDATA.
HTML Stylesheet.
View Answer / Hide Answer10. What is not true about XSLT?
XSLT is a declarative transformation language.
XSLT uses a set of rules that govern how a document is to be materialized is created.
XSLT uses a set of procedures that specify how a document is to be programmed.
XSLT is used to transform the input document into another document.
View Answer / Hide AnswerANSWER: XSLT uses a set of procedures that specify how a document is to be programmed.