Answer:
The answer to this question is given below in the explanation section.
Explanation:
The correct answer to this question is d- 346px.
The complete code of this example is given below:
<div>
style="margin:20px; border:solid 3px #888888;">
</div>
while the image width is 300px.
It is noted that the image width is 300px and the margin is 20 px.
Margin:20px means that image margin from four side is 20 px each.
So the width of dive from both side increase to 40 px and the image has 300 px, then total width becomes 340px. Now the border also has 3px of four sides of the image, then the width of the border becomes 6px.
so the total width of the div tag is 346 px.
In short, we can calculate the width of tag as below:
total width of div= width of image+ width of margin+ width of border
total width of dive= 300px+40px+6px
total width of div=346px.
Answer:
Syntax:
For variable_name As [Data Type] = start To end [ Step step ]
For variable_name As [Data Type] = start To end [ Step step ]
[ inner loop statements ]
Next.
[ Outer loop statements ]
Next.
Explanation:
a. speed + 12 - miles * 2 = 10 + 12 - 5 * 2. With order of operations, we do the multiplication first so the equation is now 10 + 12 - 10 = 22 - 10 = 12
b. speed + miles * 3 = 10 + 5 * 3 and again, order of operations gives us 10 + 15 = 25
c. (speed + miles) * 3 = (10 + 5) * 3 = 15 * 3 = 45
d. speed + speed * miles + miles = 10 + 10 * 5 + 5 = 10 + 50 + 5 = 60 + 5 = 65
e. (10 – speed) + miles / miles = (10 - 10) + 5 / 5 = 0 + 5 / 5 = 5 / 5 = 1
Answer: It allows us to do everyday tasks on the internet
Explanation: We wouldn’t be able to email, research, etc without coding!