HTML Hyperlinks & Images – MCQ Quiz

1.Which HTML tag is used to create a hyperlink?





2. What attribute of the <a> tag specifies the URL of the link?





3. Which attribute opens a hyperlink in a new tab/window?





4. What is the correct HTML to display an image?





5. Which attribute is mandatory in the <img> tag for accessibility?





6. How do you set the width and height of an image in HTML?





7. Which HTML code makes an image clickable as a hyperlink?





8. What does the alt attribute in <img> do?





9. What is the default behavior of a hyperlink in HTML if target is not specified?





10. Which of the following is correct syntax for opening a link in new tab?





Wait for 20 seconds...

Post a Comment

Previous Post Next Post