ファイル名:hollywood_cafe/4t/top.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content="ハリウッド・カフェはクリエイターが集まる創造空間カフェです。"> <meta name="keywords" content="カフェ,クリエイター,CAFE,作品,創造,空間"> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Script-Type" content="text/javascript"> <title>HOLLYWOOD CAFE</title> </head> <body> </body> </html>
ファイル名:hollywood_cafe/xt/top.html
<?xml version="1.0" encoding="utf-8"?> <!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" xml:lang="ja" lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="ハリウッド・カフェはクリエイターが集まる創造空間カフェです。" /> <meta name="keywords" content="カフェ,クリエイター,CAFE,作品,創造,空間" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>HOLLYWOOD CAFE</title> </head> <body> </body> </html>
※文字コードが「UTF-8」または「UTF-16」である場合には、XML宣言を 省略できるとされていますが、使用上はXML宣言はきちんと指定することが 強く推奨されています。但し、Internet Explorer 6ではXML宣言を指定する ことでCSSの解釈に問題がでるために、やむをえずXML宣言を省略している サイトも多くあるのが現状です。
ここでは、一旦、XML宣言を記述したままで作業を進めます。