What is an example of a self-closing XML tag?
Suggested Answer: D
Get Premium Web Development Foundations (D276) Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
30 comments · newest first
GL
Gladys
6 months ago
Self-closing tags are so straightforward.
RA
Rachael
6 months ago
I feel confident about this one!
VA
Valentin
6 months ago
Agreed, D is the only correct format.
GE
Gerald
6 months ago
Yeah, self-closing tags need that slash.
DI
Dick
7 months ago
Not sure about that, seems too simple.
CH
Chan
7 months ago
I thought self-closing tags had to end with a slash!
TA
Tasia
7 months ago
Wait, is even valid?
TO
Tom
8 months ago
Definitely D! That's the right answer.
ST
Stephaine
8 months ago
A self-closing tag is like .
BO
Bonita
8 months ago
D) is the correct answer, but I'm more of a JSON guy myself. Less pointy brackets, more curly braces.
RA
Rasheeda
8 months ago
D) is the answer, but I still can't figure out why we need all these angled brackets in the first place.
SH
Shaquana
8 months ago
D) is the way to go. Anything else is just plain wrong, like trying to close a tag that's never been opened.
KA
Katie
8 months ago
Ah, the age-old question of XML tags. I'm just glad I don't have to deal with that in my day-to-day life.
MA
Marget
9 months ago
I definitely remember that self-closing tags are used for elements without content. D looks right to me, but I hope I’m not confusing it with something else!
JA
Jaleesa
9 months ago
I might be mixing this up, but I thought self-closing tags looked like option A. I need to double-check that!
VA
Van
9 months ago
I remember practicing with XML tags, and I feel like self-closing ones usually end with a slash. So, D seems like the best choice, but I'm not completely sure.
JO
Jose
9 months ago
Ah, self-closing tags, I remember those! I'm pretty sure D is the right answer. Gotta love those handy little tags that don't need a separate closing element.
SU
Sunny
9 months ago
I remember learning about self-closing tags in XML. I think D looks like the best example here. Gonna go with that.
JA
Janna
9 months ago
I'm a bit confused on this one. I know self-closing tags are a thing, but I'm not confident I can identify one from the options given. Guess I'll have to make an educated guess.
MA
Maricela
10 months ago
I think it's D) .
CH
Chau
10 months ago
D) is the correct self-closing XML tag.
CO
Cordelia
10 months ago
I think a self-closing tag is one that doesn't have a separate closing tag, right? So maybe it's option D?
MA
Marnie
10 months ago
A) looks similar but isn't right.
MA
Maxima
11 months ago
Okay, let's see. A self-closing tag doesn't have a separate closing tag, right? I'm pretty sure D is the correct answer here.
LO
Louis
11 months ago
Hmm, I think I've seen self-closing tags before, but I'm not totally sure. I'll have to think this through carefully.
HO
Holley
5 months ago
Agreed! D is the best example.
GE
Gerardo
5 months ago
Not really, it’s less common. D is the standard.
TA
Tammy
6 months ago
Yeah, that looks right!
AL
Aleisha
6 months ago
I think it's D) .
LA
Lajuana
10 months ago
A) is also a self-closing tag, isn't it?