XML and HTML – Programming Language

XML and HTML – Programming Language

Question 1 UGC NET June-2020      
In HTML, < map > tag is used for
A – Defining a path between two nodes in an image
B – Defining clickable region in an image
C – Highlighting an area in an image
D – Defining the site-map of a web-site

Show Answer With Best Explanation

Answer : B
Explanation:
The tag is used to define an image map. An image map is an image with clickable areas.


Question 2 UGC NET June-2020      
Which of the following statements regarding XML is/are TRUE?
(A) XML is a set of tags designed to tell browsers how to display text and images in a web page.
(B) XML defines a syntax for representing data, but the meaning of data varies from application to application.
(C) < Letter >, < LETTER > and < letter > are three different tags in XML
Choose the correct answer from the options given below:
A – (A) and (B) only
B – (A) and (C) only
C – (B) and (C) only
D – (A), (B) and (C)

Show Answer With Best Explanation

Answer : C
Explanation:
• XML is mainly focused on transfer of data while HTML is mainly focused on presentation of data.
• XML is focused on what data is while HTML is focused on how data looks.
• XML is Case sensitive while HTML is Case insensitive.
A) FALSE: HTML is a set of tags designed to tell browsers how to display text and images in a web page.
B) TRUE: XML defines a syntax for representing data, but the meaning of data varies from application to application.
C) TRUE: < Letter >, < LETTER > and < letter > are three different tags in XML. Because XML is case sensitive.


error: Content is protected !!
Open chat
1
Hi,how Can We Help You ?