Forwarded from CS_24_MCQ
How do you link to a specific point within the same page?
Anonymous Quiz
19%
Use an <a> tag with an absolute URL
12%
Use a <div> tag with an id
64%
Use an <a> tag with a fragment identifier (#)
4%
Use an <a> tag with the target attribute
Forwarded from CS_24_MCQ
Which symbol is used to navigate to a higher directory in a relative URL?
Anonymous Quiz
13%
//
10%
\
72%
../
6%
~
Forwarded from CS_24_MCQ
How do you create a link to a page in a lower directory?
Anonymous Quiz
9%
By using an absolute URL
68%
By using a relative URL and specifying the path to the file
11%
By using the root directory path
12%
By linking to the main page only
Forwarded from CS_24_MCQ
What is a relative URL?
Anonymous Quiz
74%
A URL that references a page within the same site
9%
A full URL with protocol
3%
A link that opens a new tab
15%
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
49%
Hyperlink Reference
29%
Hypertext Reference
6%
Hypertext Resource
16%
Hyperlink Resource
Forwarded from CS_24_MCQ
How can you make an image a clickable link?
Anonymous Quiz
63%
By placing the <img> tag inside an <a> tag
16%
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
24%
src
11%
link
61%
href
4%
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
70%
Add the fragment identifier (#) to the end of the URL
19%
Use the src attribute
3%
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
84%
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
34%
hidden
8%
disable
2%
readonly
57%
type="hidden"
Forwarded from CS_24_MCQ
Which attribute allows users to select multiple options in a <select> element?
Anonymous Quiz
52%
multiple
27%
multiselect
6%
size
15%
allow-multiple
Forwarded from CS_24_MCQ
How do you create a dropdown menu in a form?
Anonymous Quiz
30%
<input type="dropdown">
22%
<input type="select">
38%
<select>
10%
<menu>
Forwarded from CS_24_MCQ
Which input type allows users to select a file for upload?
Anonymous Quiz
62%
<input type="file">
3%
<input type="image">
28%
<input type="upload">
7%
<input type="button">
Forwarded from CS_24_MCQ
How do you create a radio button group in HTML?
Anonymous Quiz
21%
By giving each radio button a different name
20%
By using the <select> tag
46%
By giving multiple radio buttons the same name
13%
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
3%
<input type="radio">
9%
<input type="select">
6%
<input type="button">
81%
<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
41%
width
16%
size
39%
maxlength
5%
cols
Forwarded from CS_24_MCQ
What is the purpose of the <textarea> element in a form?
Anonymous Quiz
76%
To create a multi-line text input
10%
To create a single-line text input
3%
To create a password field
11%
To create a dropdown menu
Forwarded from CS_24_MCQ
How do you create a submit button in a form?
Anonymous Quiz
22%
<input type="button" value="Submit">
11%
<button type="button">Submit</button>
53%
<input type="submit" value="Submit">
14%
<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
11%
size
78%
maxlength
6%
minlength
5%
limit