Task 4


  • XHTML tags are all lowercase.
  • XHTML is a stricter, tidier version of HTML.
  • Pages written in XHTML work well in most browsers.
  • All tags, including empty elements, must be closed.
  • XHTML is the reformulation of HTML 4.0 as an application of XML.
  • The elements (tags) and attributes are almost identical to HTML.


	"-//W3C//DTD XHTML 1.0 Transitional//EN"
	"DTD/xhtml1-transitional.dtd"	>
<html	xmlns	= "http://www.w3.org/1999/xhtml">
	<title>Quick Example</title>
<h1>	Quick Example
<a	href	= "http://validator.w3.org/check/referer">
<img	src	= "http://validator.w3.org/images/vxhtml10"
	height	= "31"
	width	= "88"
	border	= "0"
	hspace	= "16"
	align	= "left"
	alt	= "Valid XHTML 1.0!"
<p>	Note that the layout (with tabs and alignment) is
	purely for readability - XHTML doesn't require it.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: