Vous êtes sur la page 1sur 13

1. What does HTML stand for?

Hyperlinks and Text Markup Language


Home Tool Markup Language
Hyper Text Markup Language

2. Who is making the Web standards?

The World Wide Web Consortium


Microsoft
Mozilla

3. Choose the correct HTML tag for the largest heading

<h6>
<h1>
<head>
<heading>

4. What is the correct HTML tag for inserting a line break?

<br />
<break />
<lb />
4. What is the correct HTML tag for inserting a line break?

<br />
<break />
<lb />

5. What is the correct HTML for adding a background color?

<body style="background-color:yellow">
<background>yellow</background>
<body background="yellow">

6. Choose the correct HTML tag to make a text bold

<b>
<bold>

7. Choose the correct HTML tag to make a text italic

<italic>
<i>

8. What is the correct HTML for creating a hyperlink?

<a href="http://www.w3schools.com">W3Schools</a>
<a url="http://www.w3schools.com">W3Schools.com</a>
<a name="http://www.w3schools.com">W3Schools.com</a>
<a>http://www.w3schools.com</a>

9. How can you create an e-mail link?

<a href="mailto:xxx@yyy">
<a href="xxx@yyy">
<mail href="xxx@yyy">
<mail>xxx@yyy</mail>

10. How can you open a link in a new browser window?

<a href="url" target="new">


<a href="url" target="_blank">
<a href="url" new>

11. What does CSS stand for?

Colorful Style Sheets


Computer Style Sheets
Cascading Style Sheets
Creative Style Sheets

12. What is the correct HTML for referring to an external style sheet?

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


<style src="mystyle.css">
<stylesheet>mystyle.css</stylesheet>

13. Where in an HTML document is the correct place to refer to an external


style sheet?

At the end of the document


At the top of the document

In the <head> section


In the <body> section

14. Which HTML tag is used to define an internal style sheet?

<style>
<css>
<script>

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

style
class
font
styles

16. Which is the correct CSS syntax?

{body:color=black(body}
body {color: black}

body:color=black
{body;color:black}

17. How do you insert a comment in a CSS file?

// this is a comment
/* this is a comment */
// this is a comment //
' this is a comment

18. Which property is used to change the background color?

bgcolor:
color:
background-color:

19. How do you add a background color for all <h1> elements?

h1 {background-color:#FFFFFF}
all.h1 {background-color:#FFFFFF}
h1.all {background-color:#FFFFFF}

20. How do you change the text color of an element?

color:
text-color=
text-color:
fgcolor:

21. Inside which HTML element do we put the JavaScript?

<scripting>
<script>
<javascript>
<js

22. What is the correct JavaScript syntax to write "Hello World"?

document.write("Hello World")
response.write("Hello World")
("Hello World")

"Hello World"

23. Where is the correct place to insert a JavaScript?

The <body> section


The <head> section
Both the <head> section and the <body> section are correct

24. What is the correct syntax for referring to an external script called
"xxx.js"?

<script type="text/javascript" name="xxx.js">


<script type="text/javascript" href="xxx.js">
<script type="text/javascript" src="xxx.js">

25. The external JavaScript file must contain the <script> tag

True
False

26. How do you write "Hello World" in an alert box?

msgBox("Hello World")
alert("Hello World")
alertBox("Hello World")
alertBox="Hello World"

27. How do you create a function?

function=myFunction()
function myFunction()
function:myFunction()

28. How do you call a function named "myFunction"?

myFunction()
call function myFunction
call myFunction()

29. How do you write a conditional statement for executing some code if "i"
is equal to 5?

if i=5 then
if i==5 then
if (i==5)

if i=5

30. How do you write a conditional statement for executing some code if "i"
is NOT equal to 5?

if =! 5 then
if (i <> 5)
if <>5
if (i != 5)

31. What does XML stand for?

eXtra Modern Link


eXtensible Markup Language
X-Markup Language
Example Markup Language

32. There is a way of describing XML data, how?

XML uses XSL to describe data


XML uses a DTD to describe the data
XML uses a description node to describe data

33. XML's goal is to replace HTML

True
False

34. 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" />

35. What does DTD stand for?

Do The Dance
Direct Type Definition
Dynamic Type Definition
Document Type Definition

36. Is this a "well formed" XML document?


<?xml version="1.0"?>
<note>
<to>Tove</to>

<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>

Yes
No

37. Is this a "well formed" XML document?


<?xml version="1.0"?>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>

Yes
No
38. Which statement is true?

All XML elements must be lower case


All XML elements must be properly closed
All XML documents must have a DTD
All the statements are true

39. Which statement is true?

All the statements are true


XML tags are case sensitive
XML documents must have a root tag
XML elements must be properly nested

40. XML preserves white spaces

False
True

Vous aimerez peut-être aussi