Cool, some what slow-going comic about all the different xhtml/html versions floating around and how to go from xhtml to html 5.
So long as you’re not using any of the new features of html 5 (since it’s not yet a standard) the easiest way to go from xhtml to html 5 is replacing the doctype. So you would be going from this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" >
to this:
<!DOCTYPE html> <html>
Originally found on mojoportal blog.
0 Responses to “Transitioning from XHTML to HTML5 the easy way”