QUESTION 1 To specify the location of an image we use: O the caddress> tag O the href attribute of the mg tag O the sr tag O the src attribute of the mg tag QUESTION 2 What are the dimensions (rows x columns) of this table table>trad 100<< qa200<> 300< ? O 3X2 O 2x2 O 3X1 O 2x1 QUESTION 3 What will be the output of the following JavaScript code?

EBK JAVA PROGRAMMING
8th Edition
ISBN:9781305480537
Author:FARRELL
Publisher:FARRELL
Chapter16: Graphics
Section: Chapter Questions
Problem 9PE
icon
Related questions
Question
QUESTION 1
To specify the location of an image we use:
O the <address> tag
O the href attribute of the <img tag
O the sr tag
O the src attribute of the <mg tag
QUESTION 2
What are thd dimensions (#rows x columns) of this table
<table> <tr>id100<nd<tr> >a200<n><t> «pa>300<td<t </table>?
O 3X2
O 2x2
O 3X1
O 2x1
QUESTION 3
What will be the output of the following JavaScript code?
<HTML>
<body>
<p id="demo"> </p>
<script>
var x = 10;
var y = 2;
var z = x/y; document.getElementByld("demo").innerHTML = z;
</body>
</HTML>
O 5
O 2
01
QUESTION 4
What will be the output of the following PHP code?
<? php
function foo($msg)
echo "$msg":
Svar1 = "foo";
Svar1("This works!!");
?>
O $msg
O This works!!
O Error
Transcribed Image Text:QUESTION 1 To specify the location of an image we use: O the <address> tag O the href attribute of the <img tag O the sr tag O the src attribute of the <mg tag QUESTION 2 What are thd dimensions (#rows x columns) of this table <table> <tr>id100<nd<tr> >a200<n><t> «pa>300<td<t </table>? O 3X2 O 2x2 O 3X1 O 2x1 QUESTION 3 What will be the output of the following JavaScript code? <HTML> <body> <p id="demo"> </p> <script> var x = 10; var y = 2; var z = x/y; document.getElementByld("demo").innerHTML = z; </body> </HTML> O 5 O 2 01 QUESTION 4 What will be the output of the following PHP code? <? php function foo($msg) echo "$msg": Svar1 = "foo"; Svar1("This works!!"); ?> O $msg O This works!! O Error
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Hyperlinks
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT