Forwarded from CS_24_MCQ
What attribute is used to identify a specific location on a page for internal linking?
Anonymous Quiz
12%
class
29%
href
53%
id
7%
target
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%
//
12%
\
69%
../
6%
~
Forwarded from CS_24_MCQ
How do you create a link to a page in a lower directory?
Anonymous Quiz
10%
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
11%
By linking to the main page only
Forwarded from CS_24_MCQ
What is a relative URL?
Anonymous Quiz
72%
A URL that references a page within the same site
9%
A full URL with protocol
3%
A link that opens a new tab
16%
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
48%
Hyperlink Reference
29%
Hypertext Reference
7%
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
17%
By using the href attribute directly on the <img> tag
19%
By adding a link attribute to the <img> tag
1%
By using the alt attribute
Forwarded from CS_24_MCQ
What attribute is required to specify the destination of a hyperlink?
Anonymous Quiz
26%
src
12%
link
58%
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
69%
Add the fragment identifier (#) to the end of the URL
18%
Use the src attribute
6%
Add the target attribute
7%
Use the mailto protocol
Forwarded from CS_24_MCQ
What is the purpose of the <label> tag in forms?
Anonymous Quiz
9%
To display a placeholder
84%
To specify a label for a form element
6%
To create a hidden input field
1%
To submit the form
Forwarded from CS_24_MCQ
Which attribute is used to hide an input field from the user?
Anonymous Quiz
35%
hidden
7%
disable
1%
readonly
57%
type="hidden"
Forwarded from CS_24_MCQ
Which attribute allows users to select multiple options in a <select> element?
Anonymous Quiz
54%
multiple
28%
multiselect
6%
size
13%
allow-multiple
Forwarded from CS_24_MCQ
How do you create a dropdown menu in a form?
Anonymous Quiz
30%
<input type="dropdown">
24%
<input type="select">
37%
<select>
10%
<menu>
Forwarded from CS_24_MCQ
Which input type allows users to select a file for upload?
Anonymous Quiz
60%
<input type="file">
3%
<input type="image">
31%
<input type="upload">
6%
<input type="button">
Forwarded from CS_24_MCQ
How do you create a radio button group in HTML?
Anonymous Quiz
23%
By giving each radio button a different name
20%
By using the <select> tag
45%
By giving multiple radio buttons the same name
12%
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">
8%
<input type="select">
7%
<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
44%
width
14%
size
38%
maxlength
4%
cols
Forwarded from CS_24_MCQ
What is the purpose of the <textarea> element in a form?
Anonymous Quiz
74%
To create a multi-line text input
10%
To create a single-line text input
3%
To create a password field
13%
To create a dropdown menu
Forwarded from CS_24_MCQ
How do you create a submit button in a form?
Anonymous Quiz
24%
<input type="button" value="Submit">
10%
<button type="button">Submit</button>
53%
<input type="submit" value="Submit">
14%
<button type="submit">Submit</button>