[Web] [PATCH] Fix remaining html errors.

Darxus darxus at chaosreigns.com
Fri Apr 6 10:40:01 PDT 2012

Before committing, I always run html pages through
That tool also has the ability to recursively check an entire site, which I
just did:  http://htmlhelp.com/tools/validator/
 clutter.html |    6 +++---
 qt5.html     |   27 +++++++++++++--------------
 2 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/clutter.html b/clutter.html
index 64ef034..70ec0f5 100644
--- a/clutter.html
+++ b/clutter.html
@@ -65,7 +65,7 @@ $ make && make install
 <p>The configure scripts may report some missing packages. Install these from
-source or from your distribution.</a>
+source or from your distribution.</p>
 <h2>Trying it out</h2>
@@ -82,7 +82,7 @@ use:</p>
 <code>example/cogl-crate</code> inside the Cogl source tree. It should look
 something like the screenshot below.</p>
-<img src="cogl-crate.png" width="513" height="337"/>
+<p><img src="cogl-crate.png" width="513" height="337" alt="cogl crate"></p>
@@ -90,7 +90,7 @@ something like the screenshot below.</p>
 directory. <code>tests/interactive/test-actors</code> should appear as in the
 screenshot below. When you click the animating hands they will disappear.</p>
-<img src="clutter-test-actors.png" width="513" height="337"/>
+<p><img src="clutter-test-actors.png" width="513" height="337" alt="clutter test actors"></p>
 <h2>Porting your Clutter application</h2>
diff --git a/qt5.html b/qt5.html
index dbd3eef..2c06f1d 100644
--- a/qt5.html
+++ b/qt5.html
@@ -12,20 +12,19 @@
 <h1><a href="/"><img src="wayland.png" alt="Wayland logo"></a></h1>
 <h1>Qt 5 on Wayland</h1>
 <p>Wayland support in the Qt 5 toolkit is happening in the Lighthouse
-<a href="https://qt.gitorious.org/qt/qtwayland">wayland plugin</a>.
+<a href="https://qt.gitorious.org/qt/qtwayland">wayland plugin</a>.</p>
 <div id="generated-toc" class="generate_from_h2"></div>
 <h2>Getting the source and compiling</h2>
-To try it
-out, first clone the qtbase:</p>
+<p>To try it out, first clone the qtbase:</p>
 $ mkdir qt; cd qt
 $ git clone git://gitorious.org/qt/qtbase.git
-you might want to set some env variables for compilation as well:
+<p>you might want to set some env variables for compilation as well:</p>
 $ export QTVER=qt5
@@ -42,8 +41,8 @@ $ make
 $ sudo make install
-at this point you got all needed Qt libraries, and needed tools to compile
-qtwayland platform:
+<p>at this point you got all needed Qt libraries, and needed tools to compile
+qtwayland platform:</p>
 $ cd ../
@@ -51,11 +50,11 @@ $ git clone git://gitorious.org/qt/qtwayland.git
 $ cd qtwayland/
 $ qmake
 $ make
-$ make && make install
+$ make &amp;&amp; make install
 <h2>Trying it out</h2>
-first, don't forget to set the XDG directory and re-run .bashrc:
+<p>first, don't forget to set the XDG directory and re-run .bashrc:</p>
 $ export XDG_RUNTIME_DIR=$HOME/.xdg
@@ -70,7 +69,7 @@ of the application under Wayland and X:</p>
 $ cd ../qtbase/examples/opengl/hellowindow
 $ qmake
 $ make
-$ wayland-compositor &
+$ wayland-compositor &amp;
 $ ./hellowindow -platform wayland
@@ -92,7 +91,7 @@ Wayland: <code>wl_display</code> and <code>wl_surface</code>. With those types,
 Wayland internals to deal with special cases through the interface:
-    void *QPlatformNativeInterface::nativeResourceForWindow(const QByteArray &resource, QWindow *window)
+    void *QPlatformNativeInterface::nativeResourceForWindow(const QByteArray &amp;resource, QWindow *window)
 Getting the display global handler is quite straightforward, as shown in the
@@ -103,7 +102,7 @@ following example:
     QPlatformNativeInterface *native =
     struct wl_display *wl_dpy = (struct wl_display *)
-        native->nativeResourceForWindow("display", NULL);
+        native-&gt;nativeResourceForWindow("display", NULL);
 and for <code>wl_surface</code>:
@@ -112,8 +111,8 @@ and for <code>wl_surface</code>:
     QPlatformNativeInterface *native =
-    struct wl_surface *surface = static_cast<struct wl_surface *>(
-        native->nativeResourceForWindow("surface", this->windowHandle()));
+    struct wl_surface *surface = static_cast&lt;struct wl_surface *&gt;(
+        native-&gt;nativeResourceForWindow("surface", this-&gt;windowHandle()));
@@ -128,7 +127,7 @@ holding window properties will have different effect on Wayland compositors.
 <h2>Getting help and reporting issues</h2>
-<p>Try the #qt-labs IRC channel on freenode.net
+<p>Try the #qt-labs IRC channel on freenode.net</p>

More information about the wayland-devel mailing list