Re: I want to put <li> inside of <font>,<h#>,<b>,<i> tags

	     Tidy complains when I do this:
	
		<OL>
		<H2><LI>Overview of Process</H2>
		...
	
<!ELEMENT (OL|UL) - - (LI)+>
<!ENTITY % flow "(%text | %block)*">
<!ELEMENT LI      - - %flow>
BUT H2 is not an element of the %flow class.

H1-H6 and ADDRESS aren't supposed to occur in lists *anyhere*.


	     Problem is, if I put the <LI> tag first,
	
		<OL>
		<LI><H2>Overview of Process</H2>
		...
	
	     the numeric index generated by <LI> won't share the
	text attributes of the header string.

No, you have a worse problem.  That one isn't legal HTML either.

	Is there any syntax that Tidy approves of?

Yes.
	<H2>1.  Overview of Process</H2>
	...
	<H2>2.  Second section</H2>
	...
	<H2>n.  Last section</H2>
	...

Received on Thursday, 3 August 2000 21:52:32 UTC