You are on page 1of 1

1. What is the DOM?

(2pts)
Is short for Document Object Model. The DOM is a way to represent and navigate
XML data, which includes HTML and XHTML.
2. What is DOCTYPE? (2pts)
DOCTYPE is a declaration of the version of HTML in use by the page, with each new
version of HTML supporting new features.
3. What is XHTML? (2pts)
Extensible Hypertext Markup Language (XHTML) is a family of XML markup
languages that mirror or extend versions of the widely used Hypertext Markup Language
(HTML)
4. Describe the difference between HTML5 and
XHTML? (2 pts)
XHTML requires strict XML syntax whereas HTML5 does not attributes need to be quoted
for XHTML as well as the attributes needing values in XHTML but none of these are
required for HTML5.

5. How to add external CSS in HTML file? Why


it is important to have external files? ( 2pts)
Add a stylesheet link to your document HEAD section. It is important to have external files
as it helps when making the HTML website and makes sure the correct things are displayed.

You might also like