ソースを参照

Make web pages valid HTML and remove a few glitches

Ricardo Garcia 15 年 前
コミット
5de4c645e2
5 ファイル変更29 行追加9 行削除
  1. 5 2
      faq.html
  2. 5 2
      index.html
  3. 5 2
      index.html.in
  4. 8 0
      style.css
  5. 6 3
      windows.html

+ 5 - 2
faq.html

@@ -1,7 +1,10 @@
-<html>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+   "http://www.w3.org/TR/html4/strict.dtd">
+<html>
 <head>
+<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <title>youtube-dl Frequently Asked Questions</title>
-<link rel="stylesheet" href="style.css" type="text/css" />
+<link rel="stylesheet" href="style.css" type="text/css">
 </head>
 <body>
 <h1>youtube-dl Frequently Asked Questions</h1>

+ 5 - 2
index.html

@@ -1,7 +1,10 @@
-<html>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+   "http://www.w3.org/TR/html4/strict.dtd">
+<html>
 <head>
+<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <title>youtube-dl</title>
-<link rel="stylesheet" href="style.css" type="text/css" />
+<link rel="stylesheet" href="style.css" type="text/css">
 </head>
 <body>
 <h1>youtube-dl: Download videos from YouTube.com</h1>

+ 5 - 2
index.html.in

@@ -1,7 +1,10 @@
-<html>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+   "http://www.w3.org/TR/html4/strict.dtd">
+<html>
 <head>
+<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <title>youtube-dl</title>
-<link rel="stylesheet" href="style.css" type="text/css" />
+<link rel="stylesheet" href="style.css" type="text/css">
 </head>
 <body>
 <h1>youtube-dl: Download videos from YouTube.com</h1>

+ 8 - 0
style.css

@@ -26,6 +26,14 @@ p {
 	margin-left: 5%;
 	margin-right: 5%;
 }
+ul {
+	margin-left: 5%;
+	margin-right: 5%;
+}
+li {
+	margin-top: 0.5ex;
+	margin-bottom: 0.5ex;
+}
 tt {
 	background: #dddddd;
 }

+ 6 - 3
windows.html

@@ -1,7 +1,10 @@
-<html>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+   "http://www.w3.org/TR/html4/strict.dtd">
+<html>
 <head>
+<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <title>youtube-dl under Windows</title>
-<link rel="stylesheet" href="style.css" type="text/css" />
+<link rel="stylesheet" href="style.css" type="text/css">
 </head>
 <body>
 <h1>youtube-dl under Windows</h1>
@@ -38,7 +41,7 @@
 
 <p>Right click on it and select <em>Cut</em>. Go to the explorer Window we left open previously, right click on an emtpy space and choose <em>Paste</em>. Tadah! Installation finished.</p>
 
-<p>Now let's suppose I want to download a video to my Windows Desktop. Piece of cake: go to <em>Start</em> > <em>Run</em>, type <tt>cmd</tt> and press the enter key. Type the command <tt>cd desktop</tt> and then type the command <tt>youtube-dl.py "<url>"</tt>, where <tt><url></tt> is a YouTube video URL you can copy from your web browser program address bar, and paste it to the command line interpreter window by right clicking and choosing <em>Paste</em>, for example. Remember commands are always followed by pressing the enter key in the command line interpreter.</p>
+<p>Now let's suppose I want to download a video to my Windows Desktop. Piece of cake: go to <em>Start</em> > <em>Run</em>, type <tt>cmd</tt> and press the enter key. Type the command <tt>cd desktop</tt> and then type the command <tt>youtube-dl.py "&lt;url&gt;"</tt>, where <tt>&lt;url&gt;</tt> is a YouTube video URL you can copy from your web browser program address bar, and paste it to the command line interpreter window by right clicking and choosing <em>Paste</em>, for example. Remember commands are always followed by pressing the enter key in the command line interpreter.</p>
 
 <h2>One final tip</h2>