Académique Documents
Professionnel Documents
Culture Documents
<h6>
<h1>
<head>
<heading>
<br />
<break />
<lb />
4. What is the correct HTML tag for inserting a line break?
<br />
<break />
<lb />
<body style="background-color:yellow">
<background>yellow</background>
<body background="yellow">
<b>
<bold>
<italic>
<i>
<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>
<a href="mailto:xxx@yyy">
<a href="xxx@yyy">
<mail href="xxx@yyy">
<mail>xxx@yyy</mail>
12. What is the correct HTML for referring to an external style sheet?
<style>
<css>
<script>
style
class
font
styles
{body:color=black(body}
body {color: black}
body:color=black
{body;color:black}
// this is a comment
/* this is a comment */
// this is a comment //
' this is a comment
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}
color:
text-color=
text-color:
fgcolor:
<scripting>
<script>
<javascript>
<js
document.write("Hello World")
response.write("Hello World")
("Hello World")
"Hello World"
24. What is the correct syntax for referring to an external script called
"xxx.js"?
25. The external JavaScript file must contain the <script> tag
True
False
msgBox("Hello World")
alert("Hello World")
alertBox("Hello World")
alertBox="Hello World"
function=myFunction()
function myFunction()
function: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)
True
False
34. What is the correct syntax of the declaration which defines the XML
version?
Do The Dance
Direct Type Definition
Dynamic Type Definition
Document Type Definition
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
Yes
No
Yes
No
38. Which statement is true?
False
True