Forwarded from CS_24_MCQ
What is a relative URL?
Anonymous Quiz
75%
A URL that references a page within the same site
10%
A full URL with protocol
3%
A link that opens a new tab
13%
A URL that includes the domain name
Forwarded from CS_24_MCQ
Forwarded from CS_24_MCQ
What does the "href" attribute stand for?
Anonymous Quiz
50%
Hyperlink Reference
27%
Hypertext Reference
6%
Hypertext Resource
17%
Hyperlink Resource
Forwarded from CS_24_MCQ
How can you make an image a clickable link?
Anonymous Quiz
64%
By placing the <img> tag inside an <a> tag
14%
By using the href attribute directly on the <img> tag
20%
By adding a link attribute to the <img> tag
2%
By using the alt attribute
Forwarded from CS_24_MCQ
What attribute is required to specify the destination of a hyperlink?
Anonymous Quiz
23%
src
12%
link
61%
href
5%
alt
Forwarded from CS_24_MCQ
Forwarded from CS_24_MCQ
How do you add a link to a fragment in another HTML document?
Anonymous Quiz
72%
Add the fragment identifier (#) to the end of the URL
18%
Use the src attribute
2%
Add the target attribute
8%
Use the mailto protocol
Forwarded from CS_24_MCQ
What is the purpose of the <label> tag in forms?
Anonymous Quiz
10%
To display a placeholder
83%
To specify a label for a form element
5%
To create a hidden input field
2%
To submit the form
Forwarded from CS_24_MCQ
Which attribute is used to hide an input field from the user?
Anonymous Quiz
37%
hidden
8%
disable
0%
readonly
55%
type="hidden"
Forwarded from CS_24_MCQ
Which attribute allows users to select multiple options in a <select> element?
Anonymous Quiz
55%
multiple
27%
multiselect
4%
size
14%
allow-multiple
Forwarded from CS_24_MCQ
How do you create a dropdown menu in a form?
Anonymous Quiz
29%
<input type="dropdown">
25%
<input type="select">
36%
<select>
11%
<menu>
Forwarded from CS_24_MCQ
Which input type allows users to select a file for upload?
Anonymous Quiz
65%
<input type="file">
4%
<input type="image">
28%
<input type="upload">
4%
<input type="button">
Forwarded from CS_24_MCQ
How do you create a radio button group in HTML?
Anonymous Quiz
16%
By giving each radio button a different name
18%
By using the <select> tag
51%
By giving multiple radio buttons the same name
15%
By setting the type to "radio-group"
Forwarded from CS_24_MCQ
What input type allows users to select multiple options using checkboxes?
Anonymous Quiz
4%
<input type="radio">
7%
<input type="select">
7%
<input type="button">
82%
<input type="checkbox">
Forwarded from CS_24_MCQ
Which attribute is used to specify the width of a text input field in characters?
Anonymous Quiz
44%
width
16%
size
35%
maxlength
5%
cols
Forwarded from CS_24_MCQ
What is the purpose of the <textarea> element in a form?
Anonymous Quiz
77%
To create a multi-line text input
11%
To create a single-line text input
4%
To create a password field
9%
To create a dropdown menu
Forwarded from CS_24_MCQ
How do you create a submit button in a form?
Anonymous Quiz
21%
<input type="button" value="Submit">
11%
<button type="button">Submit</button>
58%
<input type="submit" value="Submit">
11%
<button type="submit">Submit</button>
Forwarded from CS_24_MCQ
Which attribute specifies the maximum number of characters a user can enter in a text field?
Anonymous Quiz
9%
size
79%
maxlength
7%
minlength
5%
limit
Forwarded from CS_24_MCQ
How do you create a password input field in a form?
Anonymous Quiz
92%
<input type="password">
3%
<input type="secret">
5%
<input type="text">
0%
<input type="hidden">
Forwarded from CS_24_MCQ
Which HTML tag is used to create a text input field?
Anonymous Quiz
14%
<textarea>
7%
<input type="password">
2%
<input type="button">
78%
<input type="text">
Forwarded from CS_24_MCQ
Which method sends form data as part of the HTTP request body?
Anonymous Quiz
42%
GET
7%
PUT
47%
POST
3%
DELETE