Monday, August 12, 2013

XHTML 1.0 Strict page structure with JQuery and DOM-ready block

Code below is a simple XHTML 1.0 Strict page structure that includes:
  • Basic CSS Reset
  • Loads jQuery from Google
  • DOM-ready block for jQuery

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

<html xmlns="" xml:lang="en" lang="en">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

<title>Test Page</title>

<style type="text/css">
* { margin: 0; padding: 0;}

<script type="text/javascript" src=""></script>

<script type="text/javascript">
// Do stuff.




Disqus Comments