|
Home > Archive > i-NET+ > July 2000 > I had this question on the test
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
I had this question on the test
|
|
|
| I only had maybe two questions on the test.
here is one of them:
<HTML>
<Head>
<TITLE>My Computer<TITLE>
</head>
<body>Hello World.
</body>
</HTML>
In the HTML section above, it doesn't show on the browser, why?
a) all the HTML tags should be Capitalized
b) all the HTML tags should be lower case
c) all HTML tags should be capitalized and the <TITLE> should be closed
d) the <TITLE> tag should be closed.
I hope that I can add to the brain dump.
I also hope to take the test again. 
| |
|
| Hey cafe,
Sorry to hear that you will have to take the test again.
I also had this question on my test and it made me stop and spend a few minutes thinking of the answer. The way the answers are worded makes it more difficult.
<HTML>
<Head>
<TITLE>My Computer<TITLE>
</head>
<body>Hello World.
</body>
</HTML>
In the HTML section above, it doesn't show on the browser, why?
a) all the HTML tags should be Capitalized
b) all the HTML tags should be lower case
c) all HTML tags should be capitalized and the <TITLE> should be closed
d) the <TITLE> tag should be closed.
I personally picked answer D because it obviously is correct in that the example lacks the appropriate title closing tag. However, answer C also has merit. Every reference I own on HTML tells me that tags are not case sensitive. So, why should you need to worry about that. Recently I read somewhere in a post here that making all tags uppercase helps in the readability, but that in itself wouldn't cause the problem the question addresses. So, I chose D, but I could have been wrong. Do you remember which one you chose?
Good luck on the re-test!
------------------
Rick i-Net+ | |
|
| D is the correct answer. HTML is not case-sensitive.
------------------
Randy, A+, Network+, i-Net+ | |
|
| Yeah, me, too. everybook that I read said that HTML is not case sensitive. I, too chose D. Come to think of it, answer C looks like it has more merit.
Cafe | |
|
| I agree the answer is D.
Used Notepad to change the code to the following:
<HTML>
<Head>
<TITLE>My Computer</title>
</head>
<body>Hello World.
</body>
</HTML>
Notice the closing title tag has been changed to lower case and the closing forward slash added. I saved it as an HTML file, tried it, and it works ok. It did not work before adding the forward slash.
I also have read the purpose for keeping tags upercase is for readability. Failure to abide by that guideline will not keep the browser from rendering it, it's just easier to read when done in the recommended way.
The question asks why it doesn't show on the browser, and the missing forward slash in second title tag is the only thing causing that.
BobR |
|
|
|
|