What is the default playback behavior of the <video> element if the autoplay attribute is used?
Anonymous Quiz
10%
Video waits for user interaction
10%
Video downloads but doesn’t play
78%
Video plays automatically on page load
2%
Only audio plays automatically
What is the difference between the <div> tag and the <span> tag in HTML?
Anonymous Quiz
7%
<div> is used to display images and <span> to display videos
7%
<div> is used only for text styling and <span> to divide the page
7%
<div> is an inline element and <span> is a block element
5%
Both are used only for creating tables
75%
<div> is a block element and <span> is an inline element
What is the difference between the <ul> tag and the <ol> tag?
Anonymous Quiz
5%
<ul> is used to create a table and <ol> to create a list
7%
<ul> creates a numbered list and <ol> creates an unordered list
2%
Both are used only to display plain text without formatting
0%
<ul> is for images and <ol> is for links
87%
<ul> creates an unordered list and <ol> creates an ordered list
What is the role of the alt attribute inside the <img> tag?
Anonymous Quiz
8%
To automatically resize the image
11%
To display only a noscript for the image
14%
To show alternative text when hovering the mouse
3%
To change the image path
63%
To show alternative text if the image fails to load and for accessibility
To create a table with 3 rows and 2 columns, which basic tags are used?
Anonymous Quiz
3%
<form>, <input>, <button>
11%
<ul>, <li>, <ol>
2%
<div>, <span>
2%
<section>, <article>
83%
<table>, <tr>, <td>
What will this code create? <a href=https://example.com>Click here</a>
Anonymous Quiz
6%
A bookmark
81%
A link
9%
A button
4%
An image
Which tag is wrong in this code? <bold>Hello</bold>
Anonymous Quiz
3%
Nothing wrong
80%
<b> should be used instead of <bold>
6%
Should use <p>
11%
Should use <h1>
What does this code do? <ul> <li>HTML</li> <li>CSS</li> </ul>
Anonymous Quiz
5%
Numbered list
59%
Bullet list
16%
Dropdown menu
20%
Definition list
Which is the correct HTML for a checkbox? <input type= name=agree>
Anonymous Quiz
3%
<check>
15%
<checkbox>
77%
<input type=checkbox>
5%
<option>
What’s wrong here? <a>https://google.com</a>
Anonymous Quiz
3%
Nothing wrong
72%
Missing href
17%
Wrong tag
7%
Should be <link>
What does this code produce? <ol> <li>One</li> <li>Two</li> </ol>
Anonymous Quiz
15%
Bulleted list
79%
Numbered list
1%
Dropdown menu
4%
Definition list
What does <meta charset=UTF-8> do?
Anonymous Quiz
13%
Defines page noscript
80%
Defines encoding
4%
Adds styles
3%
Adds comments
Which is correct for inserting a comment?
Anonymous Quiz
4%
// Comment
6%
# Comment
85%
<!-- Comment -->
6%
/* Comment */
What’s wrong here? <table> <tr> <td>Apple</td> <td>Banana</td> </table>
Anonymous Quiz
0%
Nothing wrong
86%
Missing closing </tr>
6%
Wrong tag
9%
Should use <th>
What does this code display? <input type=text value=Hello>
Anonymous Quiz
4%
A password field
93%
A text field with “Hello”
3%
A button
0%
A dropdown
What does <noscript> do?
Anonymous Quiz
21%
Sets the heading
73%
Sets the tab noscript
6%
Creates a footer
0%
Creates a section
❤1
What’s wrong in this code? <form> <input name=username> <submit>Send</submit> </form>
Anonymous Quiz
1%
Nothing wrong
94%
<submit> is not valid, should use <button> or <input type=submit>
3%
Missing method
1%
Missing action
🔥4
What does this code produce? <iframe src=page.html></iframe>
Anonymous Quiz
4%
Insert CSS
86%
Insert another HTML page
9%
Insert JavaScript
1%
Insert comment
❤1
What’s wrong here? <a href=home.html target=new>Home</a>
Anonymous Quiz
8%
Nothing wrong
83%
target=new is not standard, should be _blank
4%
Should use <link>
4%
Should be <button>
What does <hr> do?
Anonymous Quiz
58%
Creates a line
19%
Creates a break
14%
Creates a heading
9%
Creates a paragraph
What does this code produce? <video controls> <source src=movie.mp4 type=video/mp4> </video>
Anonymous Quiz
5%
Audio player
88%
Video player
4%
Image
3%
Link