← Prev in month ← Prev in thread

XHTML usage

From
Tristan Fiedler <>
Date
2005-02-02T00:01:24+00:00
ID
Thread
XHTML usage
Note : This post is primarily XHTML but relates to DocBook XML.

I am setting up an online book using DocBook XML.  To create a wrapper 
website for the chapters, I was initially using "vanilla" html, but 
have migrated to xhtml :

<?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="en">

1.  Does a user friendly website exist which shows allowed 
nesting/parents/children for this xhtml?
I'm looking for something similar to : 
http://www.docbook.org/tdg5/en/html/docbook.html

Currently I'm using :  
http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Transitional

2.  How can I properly nest an <h2> within an <a>?

allowed:  <a name="chapterlist"><big>My Text</big></a>
disallowed : <a name="chapterlist"><h2>My Text</h2></a>


Thank you,        Tristan
------------------------------
Tristan J. Fiedler
Cold Spring Harbor Laboratory
← Prev in month ← Prev in thread