MCQs > IT & Programming > RSS >

Analyze the code below:
1. <?xml version="1.0" encoding="ISO-8859-1" ?>
2. <rss version="2.0">
3. <channel>
4. <title>Home Page</title>
5. <link>http://www.expertrating.com</link>
6. <description>Free web building tutorials</description>
7. <copyright>Copyright</copyright>
8. <item>
9. <title>RSS Tutorial</title>
10. <link>http://www.expertrating.com/rss</link>
11. <description>New RSS tutorial</description>
12. </item>
13. </channel>
14. <channel>
15. <item>
16. <title>XML Tutorial</title>
17. <link>http://www.expertrating.com/xml</link>
18. <description>New XML tutorial</description>
19. </item>
20. </channel>
21.</rss>
What is the error in the above code?

RSS MCQs

Analyze the code below:
1. <?xml version="1.0" encoding="ISO-8859-1" ?>
2. <rss version="2.0">
3. <channel>
4. <title>Home Page</title>
5. <link>http://www.expertrating.com</link>
6. <description>Free web building tutorials</description>
7. <copyright>Copyright</copyright>
8. <item>
9. <title>RSS Tutorial</title>
10. <link>http://www.expertrating.com/rss</link>
11. <description>New RSS tutorial</description>
12. </item>
13. </channel>
14. <channel>
15. <item>
16. <title>XML Tutorial</title>
17. <link>http://www.expertrating.com/xml</link>
18. <description>New XML tutorial</description>
19. </item>
20. </channel>
21.</rss>
What is the error in the above code?

Answer

Correct Answer: More than one <channel> element cannot exist in an RSS feed.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

RSS Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

RSS Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it