Placement papers on HTML - Set 1

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 Answer

ANSWER: < 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 Answer

ANSWER: In the < head> section




3. Which HTML attribute is used to define inline styles?

font
class
styles
style
View Answer / Hide Answer

ANSWER: style




4. Which is the correct CSS syntax?

body:color=black
{body;color:black}
{body:color=black(body}
body {color: black}
View Answer / Hide Answer

ANSWER: 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 Answer

ANSWER: 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 Answer

ANSWER: < ?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 Answer

ANSWER: 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 Answer

ANSWER: 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 Answer

ANSWER: DTD.




10. 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 Answer

ANSWER: XSLT uses a set of procedures that specify how a document is to be programmed.


Post your comment

    Discussion

  • RE: Placement papers on HTML - Set 1 -pooja nalawade (03/06/20)
  • this aptitude is helpful for all candidates
  • RE: Placement papers on HTML - Set 1 -pooja nalawade (03/06/20)
  • this aptitude is helpful for all candidates
  • RE: Placement papers on HTML - Set 1 -pooja nalawade (03/06/20)
  • this aptitude is helpful for all candidates
  • RE: Placement papers on HTML - Set 1 -Mohit Patel (12/20/15)
  • What is the correct syntax of the declaration which defines the XML version?

    Ans.
    < ?xml version="1.0"?>
  • RE: Placement papers on HTML - Set 1 -faraman ali (12/15/15)
  • Html programing
  • RE: Placement papers on HTML - Set 1 -Ashish (09/28/15)
  • What is the correct HTML for referring to an external style sheet?
    Ans is

    < link rel="stylesheet" type="text/css" href="mystyle.css">