B.
11. Which of the following HTML codes will float an
image towards right if the image is saved on desktop
having filename as "bird.jpg"?
A. <marquee behaviour="scroll" dir="right">
<img src="bird.jpg" width="100" height="120">
</marquee>
<marquee behaviour="scroll” direction="right">
<img src="bird.jpg" width="100" height="120">
</marquee>
<marquee behaviour="scroll" float="right">
<img src="bird.jpg" width="100" height="120">
</marquee>
<marquee behaviour="scroll” alt="right"
<img src="bird.jpg" width="100" height="120">
</marquee>
Answers
Answered by
1
Answer:
Second option is correct:
<marquee behaviour="scroll” direction="right">
<img src="bird.jpg" width="100" height="120">
</marquee>
Explanation:
As marquee has 'behaviour' and 'direction' attribute. It doesn't have float, dir, or alt attribute.
Answered by
2
Option b <marquee behaviour="scroll” direction="right"> is the correct answer.
Explanation:
- In HTML language, the marquee tag is used to move the image in any direction.
- By default, it helps to float the text or image from right to left
- If the user wants to float the text in any other direction except towards left. Then he needs to use the direction attributes in the marquee tag with the help of the following syntax--<MARQUEE DIRECTION=right>.
Learn More:
- HTML: https://brainly.in/question/4020168
Similar questions