View Single Post
Old 12-03-2008, 06:12 PM   #10
mikecook
Enthusiast
mikecook began at the beginning.
 
mikecook's Avatar
 
Posts: 35
Karma: 10
Join Date: Jun 2007
Location: United Kingdom
Device: iPad Mini, Nexus 7, Sony Reader, Kindle, and others.
Quote:
Originally Posted by kovidgoyal View Post
Another suggestion: Add class="chapter_heading" to the chapter headings.

Also, if you are able to identify image captions, you should put that into the alt attribute of img tags instead of the generic Illustration and add class="image_caption" to the image captions in the text itself.
Can I ask why you recommend adding these classes? Am I right in thinking that it is only for descriptive purposes?

Some images in the PG files have both a caption and description so the TEI is marked up in this way. I can't now remember the reasoning for taking the alt attribute from the <figDesc> tag but perhaps this needs rethinking.
mikecook is offline   Reply With Quote