You are on page 1of 2

Facun, Joana Maurice G.

BTLEd II ICT

CHAPTER 5

1. What is the difference between XHTML and HTML?


HTML and XHTML are both markup languages used to create web
pages and applications. Hypertext Mark-up Language (HTML) is a programming
language that shows information and depicts a site page's design. Hypertext works
with perusing the web by referring to an HTML page's hyperlinks. The hyperlink
empowers one to go to any put on the web by clicking it while XHTML stands for
extensible hypertext markup language which is a connection between HTML
(hypertext mark-up language) and XML (extensible markup language) also at most of
the places XHTML is considered superior than HTML.

2. How is XHTML is better than HTML?


XHTML is easy to use with other data formats, and it creates more neat code as it
is stricter than HTML. Therefore, it is more compatible with most browsers, and it
maintains a standard of code that can be used for various devices.

3. What is XML used for?


XML is a format to store data along with its structure. This feature makes it
useful for many things, including transferring data, formatting documents, creating
layouts, and more. Let's take a closer look at what XML is used for.

4. Does XML support user-defined tags? Explain your answer.


Yes, the users can create their own tags in XML.

5. What are the things that control attributes can on audio tags?
 Auto play - Specifies that the audio will start playing as soon as it is ready
 Loop - Specifies that the audio will start over again, every time it is finished

 Controls - Specifies that audio controls should be displayed (such as a


play/pause button etc)
 Muted - Specifies that the audio output should be muted
 Preload - Specifies if and how the author thinks the audio should be loaded
when the page loads
 Src - Specifies the URL of the audio file
https://www.javatpoint.com/html-vs-xhtml
https://www.codecademy.com/resources/blog/what-is-xml-used-for/
https://www.w3schools.com/TAGS/tag_audio.asp

You might also like