Skip to main content
Richard Hill - Online Learning
An Introduction to XMLZIPPDF (letter)PDF (A4)e-mail
Main menuSection menuFeedbackPreviousNext
2. Understanding Markup Languages
  


Some HTML page 3 of 7


HTML came before XML, and many of the ideas about document construction and presentation are shared between the standards. The latest version of HTML, eXtensible Hypertext Markup Language (XHTML), is an XML language for HTML, ensuring that it conforms to the strict XML standard.

Let's look at a simple HTML document

<HTML>

<HEAD>

<TITLE>Title of Document</TITLE>

</HEAD>

<BODY BGCOLOR="#CCFFFF">

This is the document content.

</BODY>

</HTML>

We write HTML as plain text, using something like Notepad. In fact, we can have a go right now.

Learning Check: Open up a text editor and type in the HTML markup above. Save the file as 'firstpage.htm' and then open it up in your browser. Check the source of the file from within the browser.


Main menuSection menuFeedbackPreviousNext
www.shu.ac.uk/schools/cms/teaching/rh1