This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Tags question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Tags question" Watch "Tags question" New topic
Author

Tags question

Ronan Dowd
Ranch Hand

Joined: Jan 21, 2006
Posts: 84
Hi All,

I was doing one of the Whizlabs sample exam (Practice Test 3, Q20). I've attached the question as a screenshot.
It says the answer is 'C' but I'm thinking the space inside the final ending tag would mess things up.
Also I would have thought 'A' would be the correct answer and it's a correct usage of tags (the indentation may be to throw off the user).

The bit I've highlighted in red seems (I think) to hint at the fact that the question maybe should have been something like '..which below
shows the correct syntax of nested tags...'

Any clarification would be great.
Thanks, Ro



[Thumbnail for tags-question.jpg]



SCJP 1.4 | OCWCD JEE 5
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1644
    
  23

Hi Ronan,

It says the answer is 'C' but I'm thinking the space inside the final ending tag would mess things up.

You are right: there should be no spacing there.

Also I would have thought 'A' would be the correct answer and it's a correct usage of tags

I agree, it is a correct usage

Regards,
Frits
Ronan Dowd
Ranch Hand

Joined: Jan 21, 2006
Posts: 84
Thanks Fritz..
 
 
subject: Tags question
 
Similar Threads
Mock Exam Question
examulator question error
bodycontent or body-content
Exception
Custom Tags and DD