bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Patrice Dumas
Date: Sat, 13 Feb 2021 17:50:17 -0500 (EST)

branch: master
commit 0c6f9bba0c2e5590e8ac1708af852cd95d86901e
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Feb 13 22:54:30 2021 +0100

    Use the sectionning tree structure in HTML output
    
    * tp/Texinfo/Convert/HTML.pm (register_opened_section_level,
    close_registered_sections_level, _convert_heading_command,
    _convert_element_type, _default_end_file): use <div> for
    elements and keep the sectioning tree structure.
---
 ChangeLog                                          |   9 +
 tp/Texinfo/Convert/HTML.pm                         |  65 +-
 tp/t/results/converters_tests/accent.pl            |   6 +-
 tp/t/results/converters_tests/accentenc.pl         |   6 +-
 .../converters_tests/accentenc_enable_encoding.pl  |   6 +-
 .../converters_tests/accentenc_no_entity.pl        |   6 +-
 .../results/converters_tests/at_commands_in_raw.pl |   7 +-
 .../converters_tests/at_commands_in_refs.pl        | 252 +++++---
 .../----_0021---_002e--_002e-_003f-_0040.html      |   7 +-
 .../res_html/-_0040-_007b_007d-_002e-.html         |   7 +-
 .../res_html/-_007b-_007d.html                     |   7 +-
 .../res_html/8_002e27in.html                       |   7 +-
 .../AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th.html       |   7 +-
 .../res_html/AAA-AAA-BBB.html                      |   7 +-
 .../res_html/CCC-CCC-DDD.html                      |   7 +-
 ...eX-_2022-_002c-_00a9-_2026-_002e_002e_002e.html |   7 +-
 .../res_html/_0040-_007b-_007d-_005c-_0023.html    |   7 +-
 ...027-_002d_002d_002d-_002d_002d-_0060-_0027.html |   7 +-
 .../_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae.html |   7 +-
 .../_00ab-_00bb-_00ab-_00bb-_2039-_203a.html       |   7 +-
 .../_201c-_201d-_2018-_2019-_201e-_201a.html       |   7 +-
 .../res_html/_21d2-_00b0-a-b--aa.html              |   7 +-
 ...ror_002d_002d_003e-_20ac-_00a1-_21a6-_2212.html |   7 +-
 .../res_html/_2265-_2264-_2192.html                |   7 +-
 .../res_html/a-e-i-a-a-e-c-e-e-e-e.html            |   7 +-
 ...e-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i.html |   7 +-
 .../res_html/e-e-e-e-e-j-ee.html                   |   7 +-
 ...-code-option-samp-command-file-C_002dx-ESC.html |   7 +-
 .../res_html/f_002d_002dile1-f_002d_002dile.html   |   7 +-
 .../res_html/gH-3rd.html                           |   7 +-
 ..._005faaa-url-_002fman_002ecgi_002f1_002fls.html |   7 +-
 .../at_commands_in_refs_latin1/res_html/i-E-C.html |   7 +-
 .../at_commands_in_refs_latin1/res_html/index.html |   9 +-
 .../res_html/indicateurl.html                      |   7 +-
 .../res_html/sansserif-slanted.html                |   7 +-
 ...eone_0040somewher-no_005fexplain_0040there.html |   7 +-
 .../----_0021---_002e--_002e-_003f-_0040.html      |   7 +-
 .../res_html/-_0040-_007b_007d-_002e-.html         |   7 +-
 .../res_html/-_007b-_007d.html                     |   7 +-
 .../res_html/8_002e27in.html                       |   7 +-
 .../AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th.html       |   7 +-
 .../res_html/AAA-AAA-BBB.html                      |   7 +-
 .../res_html/CCC-CCC-DDD.html                      |   7 +-
 ...eX-_2022-_002c-_00a9-_2026-_002e_002e_002e.html |   7 +-
 .../res_html/_0040-_007b-_007d-_005c-_0023.html    |   7 +-
 ...027-_002d_002d_002d-_002d_002d-_0060-_0027.html |   7 +-
 .../_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae.html |   7 +-
 .../_00ab-_00bb-_00ab-_00bb-_2039-_203a.html       |   7 +-
 .../_201c-_201d-_2018-_2019-_201e-_201a.html       |   7 +-
 .../res_html/_21d2-_00b0-a-b--aa.html              |   7 +-
 ...ror_002d_002d_003e-_20ac-_00a1-_21a6-_2212.html |   7 +-
 .../res_html/_2265-_2264-_2192.html                |   7 +-
 .../res_html/a-e-i-a-a-e-c-e-e-e-e.html            |   7 +-
 ...e-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i.html |   7 +-
 .../res_html/e-e-e-e-e-j-ee.html                   |   7 +-
 ...-code-option-samp-command-file-C_002dx-ESC.html |   7 +-
 .../res_html/f_002d_002dile1-f_002d_002dile.html   |   7 +-
 .../at_commands_in_refs_utf8/res_html/gH-3rd.html  |   7 +-
 ..._005faaa-url-_002fman_002ecgi_002f1_002fls.html |   7 +-
 .../at_commands_in_refs_utf8/res_html/i-E-C.html   |   7 +-
 .../at_commands_in_refs_utf8/res_html/index.html   |   9 +-
 .../res_html/indicateurl.html                      |   7 +-
 .../res_html/sansserif-slanted.html                |   7 +-
 ...eone_0040somewher-no_005fexplain_0040there.html |   7 +-
 .../res_html/a-e-i-o-u-A-E-I-O-U.html              |   7 +-
 .../res_html/a-e-i-o-u-y-A-E-I-O-U.html            |   7 +-
 .../char_latin1_latin1_in_refs/res_html/a-e-u.html |   7 +-
 .../char_latin1_latin1_in_refs/res_html/c.html     |   7 +-
 .../char_latin1_latin1_in_refs/res_html/e.html     |   7 +-
 .../char_latin1_latin1_in_refs/res_html/index.html |   9 +-
 .../res_html/a-e-i-o-u-A-E-I-O-U.html              |   7 +-
 .../res_html/a-e-i-o-u-y-A-E-I-O-U.html            |   7 +-
 .../char_latin1_utf8_in_refs/res_html/a-e-u.html   |   7 +-
 .../char_latin1_utf8_in_refs/res_html/c.html       |   7 +-
 .../char_latin1_utf8_in_refs/res_html/e.html       |   7 +-
 .../char_latin1_utf8_in_refs/res_html/index.html   |   9 +-
 .../res_html/A-a-_002c-E-e.html                    |   7 +-
 .../char_latin2_latin2_in_refs/res_html/index.html |   9 +-
 tp/t/results/converters_tests/complex_nestings.pl  |   5 +-
 .../results/converters_tests/footnote_no_number.pl |   7 +-
 .../footnote_no_number_separate.pl                 |   7 +-
 tp/t/results/converters_tests/image_formatting.pl  |   5 +-
 .../index_entry_in_preformatted.pl                 |   5 +-
 .../japanese_shift_jis/res_html/Introduction.html  |   7 +-
 .../japanese_shift_jis/res_html/Preface.html       |   7 +-
 .../japanese_shift_jis/res_html/index.html         |   9 +-
 .../printindex_merged_indices_code_style.pl        |   5 +-
 tp/t/results/converters_tests/ref_in_sectioning.pl |  61 +-
 tp/t/results/converters_tests/refs_formatting.pl   |   6 +-
 .../res_html/DiYiZhang_0028First-Chapter_0029.html |   7 +-
 .../sample_utf8/res_html/Index-node.html           |   7 +-
 .../res_html/Second-Chapter-AE-AE-ae-ae.html       |   7 +-
 .../sample_utf8/res_html/index.html                |   9 +-
 .../some_at_commands_in_ref_nodes.pl               |  16 +-
 .../converters_tests/spaces_in_empty_node_names.pl |  14 +-
 .../converters_tests/spaces_in_node_names.pl       |  20 +-
 .../converters_tests/test_deftypefnnewline.pl      |   5 +-
 .../converters_tests/things_before_setfilename.pl  |   7 +-
 tp/t/results/converters_tests/top_in_ref.pl        |   5 +-
 .../converters_tests/top_in_ref_keep_top.pl        |   5 +-
 tp/t/results/converters_tests/weird_accents.pl     |   6 +-
 .../weird_accents_disable_encoding.pl              |   6 +-
 tp/t/results/coverage/commands.pl                  |   5 +-
 .../coverage/punctuation_in_line_commands.pl       |  11 +-
 tp/t/results/coverage_braces/footnote_no_node.pl   |   7 +-
 .../results/coverage_braces/heading_in_footnote.pl |   5 +-
 .../coverage_braces/inforef_too_much_args.pl       |   5 +-
 tp/t/results/coverage_braces/test_image.pl         |  10 +-
 .../coverage_braces/two_footnotes_in_nodes.pl      |  34 +-
 .../two_footnotes_in_nodes_separate.pl             |  34 +-
 tp/t/results/coverage_braces/verb_in_xref.pl       |   5 +-
 .../def/all_commands_delimiters_printindex.pl      |  20 +-
 tp/t/results/def/all_commands_printindex.pl        |  20 +-
 tp/t/results/def/space_in_def_for_index.pl         |   5 +-
 tp/t/results/float/anchor_in_caption.pl            |   5 +-
 tp/t/results/float/cindex_in_caption.pl            |   5 +-
 .../results/float/comment_space_comand_in_float.pl |   5 +-
 tp/t/results/float/complex_float.pl                |  18 +-
 tp/t/results/float/float_copying.pl                |  18 +-
 tp/t/results/float/footnote_in_caption.pl          |   7 +-
 .../results/float/footnote_in_caption_and_error.pl |   7 +-
 .../float/numbering_captions_listoffloats.pl       |  81 ++-
 tp/t/results/formatting/cond.pl                    |   5 +-
 .../results/formatting/cond_ifhtml_ifinfo_iftex.pl |   5 +-
 .../cond_no-ifhtml_no-ifinfo_no-iftex.pl           |   5 +-
 .../res_html/documentlanguage_set.html             |   7 +-
 .../res_html/documentlanguage_set.html             |   7 +-
 .../float_copying/res_html/Copying-and-floats.html |  19 +-
 .../float_copying/res_html/float_copying_abt.html  |   4 +-
 .../float_copying/res_html/float_copying_fot.html  |   4 +-
 .../formatting/float_copying/res_html/index.html   |   9 +-
 .../res_html/simplest.html                         |   5 +-
 .../simplest_test_prefix/res_html/truc.html        |   5 +-
 tp/t/results/formatting/texi_bib_example.pl        |  27 +-
 tp/t/results/formatting/texi_cond.pl               |   5 +-
 tp/t/results/formatting/texi_glossary.pl           |  18 +-
 tp/t/results/heading/heading_in_copying.pl         |  13 +-
 tp/t/results/heading/heading_in_example.pl         |   5 +-
 tp/t/results/heading/heading_in_quotation.pl       |   5 +-
 .../character_number_leading_toc_stoc.pl           |  14 +-
 tp/t/results/html_tests/check_htmlxref.pl          |  14 +-
 tp/t/results/html_tests/documentdescription.pl     |   5 +-
 .../empty_lines_at_beginning_no_setfilename.pl     |   7 +-
 tp/t/results/html_tests/html_in_copying.pl         |   7 +-
 .../results/html_tests/index_and_node_same_name.pl |   8 +-
 tp/t/results/html_tests/index_below.pl             |  15 +-
 .../res_html/circumflex.html                       |  14 +-
 .../redirection_same_labels/res_html/index.html    |   9 +-
 .../redirection_same_labels/res_html/umlaut.html   |  19 +-
 tp/t/results/html_tests/ref_in_preformatted.pl     |  10 +-
 tp/t/results/html_tests/shortcontents_no_top.pl    |  11 +-
 tp/t/results/html_tests/simple_menu.pl             |   7 +-
 .../html_tests/test_xrefautomaticsectiontitle.pl   |  18 +-
 .../text_before_top_and_contents_after_title.pl    |  10 +-
 tp/t/results/html_tests/titles.pl                  |   7 +-
 .../htmlxref/htmlxref/res_html/test_refs.html      |  46 +-
 ...25_0026_0027_0028_0029_002a_002b_002d_002e.html |   5 +-
 ...3f_005b_005c_005d_005e_005f_0060_007c_007e.html |   5 +-
 .../htmlxref/htmlxref_nodes/res_html/index.html    |  24 +-
 .../htmlxref_nodes/res_html/local-node.html        |   5 +-
 .../htmlxref_nodes/res_html/other-nodes.html       |   9 +-
 .../htmlxref_nodes/res_html/test_refs_abt.html     |   4 +-
 .../htmlxref_only_mono/res_html/test_refs.html     |  46 +-
 ...25_0026_0027_0028_0029_002a_002b_002d_002e.html |   5 +-
 ...3f_005b_005c_005d_005e_005f_0060_007c_007e.html |   5 +-
 .../htmlxref_only_mono_nodes/res_html/index.html   |  24 +-
 .../res_html/local-node.html                       |   5 +-
 .../res_html/other-nodes.html                      |   9 +-
 .../res_html/test_refs_abt.html                    |   4 +-
 .../htmlxref_only_split/res_html/test_refs.html    |  46 +-
 ...25_0026_0027_0028_0029_002a_002b_002d_002e.html |   5 +-
 ...3f_005b_005c_005d_005e_005f_0060_007c_007e.html |   5 +-
 .../htmlxref_only_split_nodes/res_html/index.html  |  24 +-
 .../res_html/local-node.html                       |   5 +-
 .../res_html/other-nodes.html                      |   9 +-
 .../res_html/test_refs_abt.html                    |   4 +-
 tp/t/results/indices/def_syn_indices.pl            |   5 +-
 ...default_cp_index_and_one_letter_syncodeindex.pl |   5 +-
 tp/t/results/indices/double_index_entry.pl         |  10 +-
 tp/t/results/indices/double_syncodeindex.pl        |   5 +-
 tp/t/results/indices/empty_cindex_entry.pl         |   5 +-
 tp/t/results/indices/empty_index_entry.pl          |   5 +-
 tp/t/results/indices/empty_string_index_entry.pl   |   5 +-
 .../encoding_index_ascii/res_html/index.html       |   7 +-
 .../res_html/index.html                            |   7 +-
 .../encoding_index_latin1/res_html/index.html      |   7 +-
 .../res_html/index.html                            |   7 +-
 .../encoding_index_utf8/res_html/index.html        |   7 +-
 .../res_html/index.html                            |   7 +-
 tp/t/results/indices/explicit_sort_key.pl          |   6 +-
 tp/t/results/indices/ftable_vtable.pl              |   5 +-
 tp/t/results/indices/image_lines_count.pl          |   5 +-
 tp/t/results/indices/image_text_lines_count.pl     |   5 +-
 tp/t/results/indices/index_entries_locations.pl    |   5 +-
 .../indices/index_entry_before_first_node.pl       | Bin 9413 -> 9431 bytes
 tp/t/results/indices/index_entry_before_node.pl    |  15 +-
 tp/t/results/indices/index_entry_in_footnote.pl    |   7 +-
 .../index_entry_in_footnote_different_node_end.pl  |  10 +-
 .../indices/index_entry_in_footnote_separate.pl    |  10 +-
 .../indices/printindex_index_entry_in_copying.pl   |  16 +-
 ...rintindex_index_entry_in_copying_in_footnote.pl |  16 +-
 ...ndex_index_entry_in_copying_no_insertcopying.pl |  16 +-
 .../indices/printindex_with_space_before.pl        | Bin 8982 -> 9000 bytes
 .../indices/same_index_entry_merged_indices.pl     |   6 +-
 tp/t/results/indices/seealso_duplicate.pl          |   5 +-
 tp/t/results/indices/seeentry.pl                   |   6 +-
 tp/t/results/indices/subentries.pl                 |   6 +-
 tp/t/results/indices/subentry_and_sortas.pl        |  13 +-
 tp/t/results/indices/syncode_index_print_both.pl   |   5 +-
 tp/t/results/indices/syncodeindex_to_plain.pl      |   5 +-
 tp/t/results/indices/transparent_sort_chars.pl     |   6 +-
 tp/t/results/indices/w_lines_count.pl              |   6 +-
 tp/t/results/languages/appendix_translated.pl      |  10 +-
 tp/t/results/languages/command_translated.pl       |   7 +-
 tp/t/results/languages/multiple.pl                 |   5 +-
 .../res_html/multiple_lang_chapters.html           |  54 +-
 .../res_html/multiple_lang_chapters.html           |  58 +-
 tp/t/results/languages/unknown_language.pl         |   7 +-
 tp/t/results/languages/unknown_region.pl           |   5 +-
 .../layout/navigation/res_html/navigation.html     |  44 +-
 .../navigation_chapter/res_html/chapter.html       |  27 +-
 .../layout/navigation_chapter/res_html/index.html  |   9 +-
 .../res_html/navigation_abt.html                   |   4 +-
 .../res_html/navigation_toc.html                   |   4 +-
 .../res_html/chapter.html                          |  23 +-
 .../res_html/index.html                            |   9 +-
 .../res_html/navigation_abt.html                   |   4 +-
 .../res_html/navigation_toc.html                   |   4 +-
 .../res_html/chapter.html                          |  23 +-
 .../res_html/index.html                            |   9 +-
 .../res_html/navigation_abt.html                   |   4 +-
 .../res_html/navigation_toc.html                   |   4 +-
 .../res_html/chapter.html                          |  27 +-
 .../res_html/index.html                            |   9 +-
 .../res_html/navigation_abt.html                   |   4 +-
 .../res_html/navigation_toc.html                   |   4 +-
 .../navigation_no_header/res_html/navigation.html  |  32 +-
 .../res_html/navigation.html                       |  32 +-
 .../layout/navigation_node/res_html/chapter.html   |   9 +-
 .../layout/navigation_node/res_html/index.html     |   9 +-
 .../navigation_node/res_html/navigation_abt.html   |   4 +-
 .../navigation_node/res_html/navigation_toc.html   |   4 +-
 .../layout/navigation_node/res_html/section.html   |   9 +-
 .../navigation_node/res_html/subsection.html       |   9 +-
 .../res_html/chapter.html                          |   7 +-
 .../navigation_node_no_header/res_html/index.html  |   9 +-
 .../res_html/navigation_abt.html                   |   4 +-
 .../res_html/navigation_toc.html                   |   4 +-
 .../res_html/section.html                          |   7 +-
 .../res_html/subsection.html                       |   7 +-
 .../res_html/chapter.html                          |   7 +-
 .../res_html/index.html                            |   9 +-
 .../res_html/navigation_abt.html                   |   4 +-
 .../res_html/navigation_toc.html                   |   4 +-
 .../res_html/section.html                          |   7 +-
 .../res_html/subsection.html                       |   7 +-
 .../navigation_node_vertical/res_html/chapter.html |   9 +-
 .../navigation_node_vertical/res_html/index.html   |   9 +-
 .../res_html/navigation_abt.html                   |   4 +-
 .../res_html/navigation_toc.html                   |   4 +-
 .../navigation_node_vertical/res_html/section.html |   9 +-
 .../res_html/subsection.html                       |   9 +-
 .../navigation_section/res_html/chapter.html       |   9 +-
 .../layout/navigation_section/res_html/index.html  |   9 +-
 .../res_html/navigation_abt.html                   |   4 +-
 .../res_html/navigation_toc.html                   |   4 +-
 .../navigation_section/res_html/section.html       |  18 +-
 .../res_html/chapter.html                          |   9 +-
 .../res_html/index.html                            |   9 +-
 .../res_html/navigation_abt.html                   |   4 +-
 .../res_html/navigation_toc.html                   |   4 +-
 .../res_html/section.html                          |  16 +-
 .../res_html/chapter.html                          |   9 +-
 .../res_html/index.html                            |   9 +-
 .../res_html/navigation_abt.html                   |   4 +-
 .../res_html/navigation_toc.html                   |   4 +-
 .../res_html/section.html                          |  16 +-
 .../res_html/chapter.html                          |   9 +-
 .../res_html/index.html                            |   9 +-
 .../res_html/navigation_abt.html                   |   4 +-
 .../res_html/navigation_toc.html                   |   4 +-
 .../res_html/section.html                          |  18 +-
 .../navigation_vertical/res_html/navigation.html   |  44 +-
 .../no_monolithic/res_html/no_monolithic.html      |  18 +-
 .../no_monolithic/res_html/no_monolithic_abt.html  |   4 +-
 .../no_monolithic/res_html/no_monolithic_fot.html  |   4 +-
 .../no_monolithic/res_html/no_monolithic_ovr.html  |   4 +-
 .../no_monolithic/res_html/no_monolithic_toc.html  |   4 +-
 .../menu/block_commands_in_menu_description.pl     |   7 +-
 tp/t/results/menu/comment_on_menu_line.pl          |  14 +-
 tp/t/results/menu/detailmenu_on_subnodes.pl        |  54 +-
 tp/t/results/menu/detailmenu_unknown_node.pl       |   5 +-
 tp/t/results/menu/entry_after_detailmenu.pl        |  15 +-
 tp/t/results/menu/example_in_menu_description.pl   |   7 +-
 tp/t/results/menu/formats_in_menu.pl               |   5 +-
 tp/t/results/menu/inlineraw_in_menu_description.pl |   7 +-
 tp/t/results/menu/invalid_info_menu_entry.pl       |   5 +-
 tp/t/results/menu/menu_in_example.pl               |   5 +-
 tp/t/results/menu/menu_pointing_to_anchor.pl       |   7 +-
 tp/t/results/menu/menu_title_before_entries.pl     |  10 +-
 tp/t/results/menu/no_colon_in_menu.pl              |   5 +-
 tp/t/results/menu/reference_to_external_manual.pl  |   5 +-
 tp/t/results/menu/sc_in_menu.pl                    |  10 +-
 tp/t/results/menu/verb_in_menu_description.pl      |   7 +-
 .../codequoteundirected_codequotebacktick.pl       |   6 +-
 .../misc_commands/comment_space_command_on_line.pl |  11 +-
 .../no_empty_line_between_headings.pl              |  16 +-
 tp/t/results/misc_commands/ref_in_center.pl        |   5 +-
 tp/t/results/misc_commands/test_allowcodebreaks.pl |   5 +-
 tp/t/results/morecoverage/formatting_fr.pl         |  63 +-
 tp/t/results/morecoverage/texi_formatting.pl       |  63 +-
 .../res_html/double_index_entry.html               |   8 +-
 .../index_no_node/res_html/Chapter-2.html          |   5 +-
 .../index_no_node/res_html/Chapter.html            |   5 +-
 .../moreindices/index_no_node/res_html/index.html  |  10 +-
 .../index_no_node/res_html/index_no_node_abt.html  |   4 +-
 .../index_no_node/res_html/unnumbered.html         |   5 +-
 .../moreindices/index_split/res_html/first.html    |  63 +-
 .../moreindices/index_split/res_html/index.html    |   9 +-
 .../index_split/res_html/index_split_abt.html      |   4 +-
 .../index_split/res_html/second-chapter.html       |   9 +-
 .../index_split_nodes/res_html/first.html          |   9 +-
 .../index_split_nodes/res_html/index.html          |   9 +-
 .../res_html/index_split_abt.html                  |   4 +-
 .../res_html/node-2-in-section-3.html              |   5 +-
 .../res_html/node-3-in-section-3.html              |   5 +-
 .../res_html/node-in-section-3.html                |   5 +-
 .../index_split_nodes/res_html/second-chapter.html |   9 +-
 .../index_split_nodes/res_html/section-1.html      |   9 +-
 .../index_split_nodes/res_html/section-2.html      |   9 +-
 .../index_split_nodes/res_html/section-3.html      |   9 +-
 .../index_split_nodes/res_html/subsection-1.html   |   9 +-
 .../index_split_nodes/res_html/subsection-2.html   |   9 +-
 .../res_html/first-before-top.html                 |  30 +-
 .../nodes_before_top/res_html/index.html           |   5 +-
 .../res_html/nodes_before_top_abt.html             |   4 +-
 .../res_html/nodes_before_top_and_sections.html    |  43 +-
 .../nodes_before_top_no_nodes/res_html/index.html  |  23 +-
 .../nodes_before_top_nodes/res_html/a-node.html    |   5 +-
 .../nodes_before_top_nodes/res_html/another.html   |   5 +-
 .../res_html/first-before-top.html                 |   5 +-
 .../nodes_before_top_nodes/res_html/first.html     |   5 +-
 .../nodes_before_top_nodes/res_html/index.html     |   5 +-
 .../res_html/node-in-menu-before-top.html          |   5 +-
 .../res_html/nodes_before_top_abt.html             |   4 +-
 .../nodes_before_top_nodes/res_html/second.html    |   5 +-
 .../split_chapter_index/res_html/first.html        |  27 +-
 .../split_chapter_index/res_html/index.html        |   9 +-
 .../res_html/split_chapter_index_abt.html          |   4 +-
 .../res_html/equivalent_nodes.html                 |  19 +-
 .../res_html/equivalent_nodes.html                 |  11 +-
 .../res_html/more_sections_than_nodes.html         |  89 +--
 .../node_footnote_end/res_html/node_footnote.html  |  21 +-
 .../res_html/node_footnote.html                    |  21 +-
 .../node_footnote_use_node/res_html/a.html         |  15 +-
 .../node_footnote_use_node/res_html/chapter.html   |   9 +-
 .../node_footnote_use_node/res_html/index.html     |   5 +-
 .../res_html/node_footnote_abt.html                |   4 +-
 .../res_html/nodes_after_top_before_chapter.html   |  13 +-
 .../res_html/index.html                            |  10 +-
 .../nodes_after_top_before_chapter_abt.html        |   4 +-
 .../res_html/third-node.html                       |   9 +-
 .../res_html/index.html                            |  13 +-
 .../res_html/nodes_after_top_before_section.html   |  23 +-
 .../res_html/index.html                            |  19 +-
 .../nodes_after_top_before_section_abt.html        |   4 +-
 .../res_html/placed_things_before_element.html     |   7 +-
 .../sectioning_frames/res_html/First-node.html     |  84 ++-
 .../sectioning_frames/res_html/Second-node.html    |   9 +-
 .../res_html/Third-node-unnumbered.html            |  12 +-
 .../sectioning_frames/res_html/index.html          |   9 +-
 .../sectioning_frames/res_html/sectioning_abt.html |   4 +-
 .../sectioning_frames/res_html/sectioning_ovr.html |   4 +-
 .../sectioning_frames/res_html/sectioning_toc.html |   4 +-
 .../res_html/top_node_up_explicit.html             |  22 +-
 .../res_html/top_node_up_implicit.html             |  22 +-
 .../res_html/two_footnotes_in_nodes.html           |  26 +-
 .../res_html/two_footnotes_in_nodes.html           |  26 +-
 tp/t/results/regions/anchor_in_copying.pl          |   5 +-
 .../regions/anchor_in_copying_in_footnote.pl       |   7 +-
 tp/t/results/regions/anchor_in_titlepage.pl        |   8 +-
 .../regions/anchor_in_titlepage_titlepage.pl       |   8 +-
 tp/t/results/regions/format_in_titlepage.pl        |   5 +-
 .../regions/format_in_titlepage_titlepage.pl       |   5 +-
 tp/t/results/regions/ref_in_copying.pl             |  18 +-
 tp/t/results/regions/today_in_copying.pl           |   7 +-
 tp/t/results/sectioning/anchor_in_footnote.pl      |  18 +-
 .../sectioning/anchor_in_footnote_separate.pl      |  18 +-
 tp/t/results/sectioning/anchor_zero.pl             |   5 +-
 .../sectioning/chapter_before_and_after_part.pl    |  11 +-
 tp/t/results/sectioning/chapter_before_part.pl     |   8 +-
 tp/t/results/sectioning/chapter_between_nodes.pl   |  21 +-
 .../chapter_node_before_and_after_part.pl          |  19 +-
 .../sectioning/character_and_spaces_in_node.pl     |  25 +-
 .../sectioning/character_and_spaces_in_refs.pl     |  43 +-
 ...25_0026_0027_0028_0029_002a_002b_002d_002e.html |   5 +-
 ...3f_005b_005c_005d_005e_005f_0060_007c_007e.html |   5 +-
 .../res_html/index.html                            |  19 +-
 .../res_html/local-node.html                       |   5 +-
 .../res_html/other-nodes.html                      |   7 +-
 tp/t/results/sectioning/contents.pl                |  35 +-
 .../sectioning/contents_and_shortcontents.pl       |  35 +-
 tp/t/results/sectioning/contents_in_html_text.pl   |  14 +-
 .../sectioning/contents_with_only_top_node.pl      |   5 +-
 .../results/sectioning/double_node_anchor_float.pl |  14 +-
 tp/t/results/sectioning/double_part.pl             |  22 +-
 tp/t/results/sectioning/double_top.pl              |   8 +-
 tp/t/results/sectioning/empty_top_node_up.pl       |  14 +-
 tp/t/results/sectioning/equivalent_labels.pl       |   5 +-
 tp/t/results/sectioning/equivalent_nodes.pl        |  10 +-
 .../results/sectioning/explicit_node_directions.pl |  15 +-
 tp/t/results/sectioning/external_node_in_menu.pl   |  27 +-
 tp/t/results/sectioning/internal_top_node_up.pl    |  14 +-
 tp/t/results/sectioning/next_in_menu_is_below.pl   |  36 +-
 .../results/sectioning/no_argument_and_contents.pl |   6 +-
 tp/t/results/sectioning/no_menu.pl                 |  36 +-
 .../sectioning/node_part_chapter_after_chapter.pl  |  30 +-
 .../sectioning/node_part_chapter_after_top.pl      |  21 +-
 .../node_up_direction_for_top_with_manual.pl       |   5 +-
 tp/t/results/sectioning/node_up_external_node.pl   |  10 +-
 .../nodes_after_top_before_chapter_nodes.pl        |  19 +-
 .../nodes_after_top_before_chapter_not_split.pl    |  19 +-
 ...ore_chapter_not_split_no_use_node_directions.pl |  19 +-
 .../nodes_after_top_before_chapter_sections.pl     |  19 +-
 .../nodes_after_top_before_section_nodes.pl        |  19 +-
 .../nodes_after_top_before_section_sections.pl     |  19 +-
 .../nodes_no_node_top_explicit_directions.pl       |  10 +-
 .../non_automatic_internal_top_node_up.pl          |  14 +-
 .../non_automatic_top_node_up_and_url.pl           |  14 +-
 .../sectioning/non_automatic_top_node_up_url.pl    |  14 +-
 .../one_node_explicit_directions_anchor.pl         |   5 +-
 tp/t/results/sectioning/one_subsection.pl          |   5 +-
 tp/t/results/sectioning/one_subsection_and_node.pl |   7 +-
 tp/t/results/sectioning/part_before_chapter.pl     |   8 +-
 tp/t/results/sectioning/part_before_section.pl     |   8 +-
 tp/t/results/sectioning/part_before_top.pl         |   8 +-
 tp/t/results/sectioning/part_chapter_after_top.pl  |  19 +-
 tp/t/results/sectioning/part_node_after_top.pl     |  17 +-
 tp/t/results/sectioning/part_node_before_top.pl    |  15 +-
 .../sectioning/part_node_chapter_after_top.pl      |  26 +-
 .../sectioning/part_node_chapter_appendix.pl       |  22 +-
 .../sectioning/part_node_chapter_node_appendix.pl  |  28 +-
 .../sectioning/part_node_node_part_appendix.pl     |  31 +-
 tp/t/results/sectioning/part_node_part_appendix.pl |  25 +-
 .../sectioning/part_node_part_node_appendix.pl     |  29 +-
 .../sectioning/placed_things_before_element.pl     |   7 +-
 .../sectioning/placed_things_before_node.pl        |   9 +-
 .../sectioning/protected_node_parentheses.pl       |  14 +-
 tp/t/results/sectioning/ref_to_top.pl              |   7 +-
 tp/t/results/sectioning/section_before_part.pl     |   8 +-
 tp/t/results/sectioning/section_before_top.pl      |  18 +-
 .../results/sectioning/section_below_unnumbered.pl |  27 +-
 .../sectioning/section_below_unnumbered_no_top.pl  |   8 +-
 .../sectioning/section_chapter_before_top_nodes.pl |  27 +-
 .../sectioning/section_in_unnumbered_info.pl       | 288 ++++++---
 .../sectioning/section_in_unnumbered_plaintext.pl  | 288 ++++++---
 .../results/sectioning/section_node_before_part.pl |  10 +-
 tp/t/results/sectioning/sections_test.pl           |  35 +-
 .../sectioning/sections_test_no_use_nodes.pl       |  53 +-
 ...ctions_test_no_use_nodes_use_node_directions.pl |  53 +-
 .../setfilename_on_top_and_after_node.pl           |   7 +-
 tp/t/results/sectioning/shortcontents.pl           |  35 +-
 tp/t/results/sectioning/space_in_node.pl           |  20 +-
 .../sectioning/top_no_argument_and_content.pl      |   5 +-
 .../results/sectioning/top_no_argument_and_node.pl |   5 +-
 .../sectioning/top_no_argument_and_top_node.pl     |   5 +-
 .../sectioning/top_node_no_menu_direction.pl       |  10 +-
 tp/t/results/sectioning/top_node_part_top.pl       |  12 +-
 tp/t/results/sectioning/top_node_up_url.pl         |  14 +-
 tp/t/results/sectioning/top_without_node_nodes.pl  |  10 +-
 .../sectioning/top_without_node_sections.pl        |  10 +-
 .../res_html/a.html                                |   8 +-
 .../res_html/index.html                            |   5 +-
 .../res_html/n.html                                |   5 +-
 tp/t/results/sectioning/two_nodes_at_the_end.pl    |  28 +-
 .../sectioning/two_nodes_between_chapters.pl       |  32 +-
 .../sectioning/two_unnumbered_no_argument.pl       |   2 +-
 .../sectioning/unnumbered_before_node_top_top.pl   |  10 +-
 .../sectioning/unnumbered_before_top_node.pl       |   8 +-
 .../unnumbered_top_without_node_nodes.pl           |  21 +-
 .../unnumbered_top_without_node_sections.pl        |  21 +-
 tp/t/results/xtable/block_commands_in_table.pl     |   6 +-
 .../contents_and_parts/contents_and_parts.html     |  50 +-
 .../contents_at_begin/contents_at_begin.html       |  26 +-
 .../contents_at_begin.html                         |  22 +-
 .../contents_at_end/contents_at_end.html           |  26 +-
 .../contents_at_end_inline/contents_at_end.html    |  22 +-
 .../contents_in_middle_chapter.html                |  35 +-
 .../contents_in_middle_chapter.html                |  31 +-
 .../contents_in_middle_section.html                |  44 +-
 .../contents_in_middle_section.html                |  40 +-
 .../double_contents/double_contents.html           |  35 +-
 .../double_contents.html                           |  31 +-
 .../double_contents.html                           |  31 +-
 .../chapter.html                                   |  18 +-
 .../double_contents_abt.html                       |   4 +-
 .../index.html                                     |   9 +-
 .../chapter.html                                   |   7 +-
 .../index.html                                     |   9 +-
 .../section.html                                   |   7 +-
 .../double_contents_book/double_contents.html      |   4 +-
 .../double_contents_chapter/chapter.html           |  18 +-
 .../double_contents_abt.html                       |   4 +-
 .../double_contents_toc.html                       |   4 +-
 .../res_parser/double_contents_chapter/index.html  |   9 +-
 .../double_contents_inline/double_contents.html    |  31 +-
 .../double_contents_inline_chapter/chapter.html    |  18 +-
 .../double_contents_abt.html                       |   4 +-
 .../double_contents_inline_chapter/index.html      |   9 +-
 .../double_contents_inline_nodes/chapter.html      |   9 +-
 .../double_contents_abt.html                       |   4 +-
 .../double_contents_inline_nodes/index.html        |   9 +-
 .../double_contents_inline_nodes/section.html      |   9 +-
 .../double_contents_inline_section/chapter.html    |   9 +-
 .../double_contents_abt.html                       |   4 +-
 .../double_contents_inline_section/index.html      |   9 +-
 .../double_contents_inline_section/section.html    |   9 +-
 .../res_parser/double_contents_nodes/chapter.html  |   9 +-
 .../double_contents_nodes/double_contents_abt.html |   4 +-
 .../double_contents_nodes/double_contents_toc.html |   4 +-
 .../res_parser/double_contents_nodes/index.html    |   9 +-
 .../res_parser/double_contents_nodes/section.html  |   9 +-
 .../double_contents_section/chapter.html           |   9 +-
 .../double_contents_abt.html                       |   4 +-
 .../double_contents_toc.html                       |   4 +-
 .../res_parser/double_contents_section/index.html  |   9 +-
 .../double_contents_section/section.html           |   9 +-
 .../contents/res_parser/no_content/no_content.html |  22 +-
 .../no_content_do_contents/no_content.html         |  26 +-
 .../no_content_do_contents_inline/no_content.html  |  22 +-
 .../res_parser/no_content_inline/no_content.html   |  22 +-
 .../no_content_setcatpage.html                     |  22 +-
 .../no_content_setcatpage.html                     |  26 +-
 .../no_content_setcatpage.html                     |  22 +-
 .../no_content_setcatpage.html                     |  22 +-
 .../res_parser/simplest_test_css/simplest.html     |   5 +-
 .../res_parser/test_redefine_need/test_need.html   |   7 +-
 .../index_and_node_same_name.html                  |  22 +-
 .../index_entry_in_footnote.html                   |  26 +-
 .../index_no_node_no_top/index_no_node_no_top.html |  29 +-
 .../res_parser/index_nodes/index_nodes.html        |  17 +-
 .../res_parser/index_nodes_nodes/a-node.html       |   5 +-
 .../res_parser/index_nodes_nodes/another.html      |   5 +-
 .../res_parser/index_nodes_nodes/first.html        |   5 +-
 .../res_parser/index_nodes_nodes/index.html        |   5 +-
 .../index_nodes_nodes/index_nodes_abt.html         |   4 +-
 .../res_parser/index_nodes_nodes/second.html       |   5 +-
 .../res_parser/index_one_node/index_one_node.html  |   5 +-
 .../res_parser/index_special_region/Chapter.html   |   5 +-
 .../index_special_region/Copying-and-indices.html  |   9 +-
 .../res_parser/index_special_region/index.html     |   9 +-
 .../index_special_region_abt.html                  |   4 +-
 .../index_special_region_fot.html                  |   4 +-
 .../index_special_region_toc.html                  |   4 +-
 .../index_special_region_html/Chapter.html         |   5 +-
 .../Copying-and-indices.html                       |   9 +-
 .../index_special_region_html/index.html           |   9 +-
 .../index_special_region_abt.html                  |   4 +-
 .../index_special_region_fot.html                  |   4 +-
 .../index_special_region_toc.html                  |   4 +-
 .../Chapter.html                                   |   5 +-
 .../Copying-and-indices.html                       |   9 +-
 .../index.html                                     |   9 +-
 .../index_special_region_no_insertcopying_abt.html |   4 +-
 .../index_special_region_no_insertcopying_toc.html |   4 +-
 .../Chapter.html                                   |   5 +-
 .../Copying-and-indices.html                       |   9 +-
 .../index.html                                     |   9 +-
 .../index_special_region_no_insertcopying_abt.html |   4 +-
 .../index_special_region_no_insertcopying_fot.html |   4 +-
 .../index_special_region_no_insertcopying_toc.html |   4 +-
 .../index_special_region_no_region/Chapter.html    |   5 +-
 .../Copying-and-indices.html                       |   9 +-
 .../index_special_region_no_region/index.html      |   9 +-
 .../index_special_region_no_region_abt.html        |   4 +-
 .../index_special_region_no_region_toc.html        |   4 +-
 .../Chapter.html                                   |   5 +-
 .../Copying-and-indices.html                       |   9 +-
 .../index_special_region_no_region_html/index.html |   9 +-
 .../index_special_region_no_region_abt.html        |   4 +-
 .../index_special_region_no_region_fot.html        |   4 +-
 .../index_special_region_no_region_toc.html        |   4 +-
 tp/tests/indices/res_parser/index_table/index.html |   9 +-
 .../res_parser/index_table/index_table_abt.html    |   4 +-
 .../res_parser/index_table/index_table_toc.html    |   4 +-
 .../res_parser/index_table/indices-refs.html       |  18 +-
 .../index_table/node-with-ftable-and-vtable.html   |   9 +-
 .../index_table/node-with-printindex.html          |   9 +-
 .../chapter.html                                   |  12 +-
 .../index.html                                     |  27 +-
 .../nodes_before_top_and_sections_abt.html         |   4 +-
 .../chapter.html                                   |  14 +-
 .../first-before-top.html                          |  10 +-
 .../index.html                                     |  29 +-
 .../nodes_before_top_and_sections_abt.html         |   4 +-
 .../printindex_between_node_section.html           |  31 +-
 .../printindex_between_part_chapter.html           |  32 +-
 .../Copying-and-indices.html                       |   9 +-
 .../index_special_region_html/index.html           |  12 +-
 .../Copying-and-indices.html                       |   9 +-
 .../index.html                                     |  12 +-
 .../Copying-and-indices.html                       |   9 +-
 .../index_special_region_no_region_html/index.html |  12 +-
 .../chapter.html                                   |  14 +-
 .../first-before-top.html                          |  10 +-
 .../index.html                                     |  29 +-
 .../chapter.html                                   |  14 +-
 .../first-before-top.html                          |  10 +-
 .../index.html                                     |  29 +-
 .../layout/res_parser/formatting/formatting.html   | 204 ++++---
 .../layout/res_parser/formatting_chm/chapter.html  |   6 +-
 .../layout/res_parser/formatting_chm/chapter2.html |  10 +-
 .../res_parser/formatting_chm/formatting.html      | 131 +++--
 .../res_parser/formatting_chm/formatting_abt.html  |   4 +-
 .../res_parser/formatting_chm/formatting_ovr.html  |   4 +-
 .../res_parser/formatting_chm/formatting_toc.html  |   6 +-
 .../formatting_chm/s_002d_002dect_002cion.html     |   6 +-
 .../res_parser/formatting_chm/subsection.html      |   6 +-
 ...tion-_0060_0060simple_002ddouble_002d_002d.html |   6 +-
 ...02d_002dfour_002d_002d_002d_002d_0027_0027.html |   7 +-
 .../res_parser/formatting_exotic/chapter.html      |   9 +-
 .../res_parser/formatting_exotic/chapter2.html     |   9 +-
 .../formatting_exotic/formatting_abt.html          |   4 +-
 .../formatting_exotic/formatting_ovr.html          |   4 +-
 .../formatting_exotic/formatting_toc.html          |   4 +-
 .../layout/res_parser/formatting_exotic/index.html |  84 +--
 .../formatting_exotic/s_002d_002dect_002cion.html  |  34 +-
 .../res_parser/formatting_fr_icons/formatting.html | 654 +++++++++++----------
 .../res_parser/formatting_html/formatting.html     | 204 ++++---
 .../res_parser/formatting_html32/formatting.html   | 204 ++++---
 .../res_parser/formatting_html_nodes/chapter.html  |   9 +-
 .../res_parser/formatting_html_nodes/chapter2.html |   9 +-
 .../formatting_html_nodes/formatting_abt.html      |   4 +-
 .../formatting_html_nodes/formatting_fot.html      |   4 +-
 .../formatting_html_nodes/formatting_ovr.html      |   4 +-
 .../formatting_html_nodes/formatting_toc.html      |   4 +-
 .../res_parser/formatting_html_nodes/index.html    | 134 +++--
 .../s_002d_002dect_002cion.html                    |   9 +-
 .../formatting_html_nodes/subsection.html          |   9 +-
 ...tion-_0060_0060simple_002ddouble_002d_002d.html |   9 +-
 ...02d_002dfour_002d_002d_002d_002d_0027_0027.html |   9 +-
 .../res_parser/formatting_mathjax/formatting.html  | 204 ++++---
 .../res_parser/formatting_nodes/chapter.html       |   9 +-
 .../res_parser/formatting_nodes/chapter2.html      |   9 +-
 .../formatting_nodes/formatting_abt.html           |   4 +-
 .../formatting_nodes/formatting_fot.html           |   4 +-
 .../formatting_nodes/formatting_ovr.html           |   4 +-
 .../formatting_nodes/formatting_toc.html           |   4 +-
 .../layout/res_parser/formatting_nodes/index.html  | 134 +++--
 .../formatting_nodes/s_002d_002dect_002cion.html   |   9 +-
 .../res_parser/formatting_nodes/subsection.html    |   9 +-
 ...tion-_0060_0060simple_002ddouble_002d_002d.html |   9 +-
 ...02d_002dfour_002d_002d_002d_002d_0027_0027.html |   9 +-
 .../formatting_regions/formatting_regions.html     | 204 ++++---
 .../formatting_weird_quotes/formatting.html        | 204 ++++---
 .../chapter.html                                   |  10 +-
 .../navigation_abt.html                            |  20 +-
 .../navigation_toc.html                            |   4 +-
 .../subsection.html                                |  10 +-
 .../no_monolithic_only_toc_out/no_monolithic.html  |  30 +-
 .../no_monolithic_toc.html                         |   4 +-
 tp/tests/many_input_files/tex_l2h_res/tex.html     |  11 +-
 .../many_input_files/tex_l2h_res/tex_complex.html  |  13 +-
 tp/tests/many_input_files/tex_t4ht_res/tex.html    |  11 +-
 .../many_input_files/tex_t4ht_res/tex_complex.html |  13 +-
 .../nested_cartouche/nested_formats.html           | 142 +++--
 .../res_parser/nested_deffn/nested_formats.html    | 142 +++--
 .../nested_enumerate/nested_formats.html           | 142 +++--
 .../res_parser/nested_example/nested_formats.html  | 142 +++--
 .../nested_flushright/nested_formats.html          | 142 +++--
 .../res_parser/nested_group/nested_formats.html    | 142 +++--
 .../res_parser/nested_itemize/nested_formats.html  | 142 +++--
 .../res_parser/nested_menu/nested_formats.html     | 142 +++--
 .../nested_multitable/nested_formats.html          | 142 +++--
 .../nested_quotation/nested_formats.html           | 142 +++--
 .../res_parser/nested_table/nested_formats.html    | 142 +++--
 .../sectioning_directions/sectioning.html          | 122 ++--
 .../res_parser/block_EOL_tex/block_EOL.html        |  26 +-
 .../res_parser/formatting_singular/anchor.html     |   4 +-
 .../res_parser/formatting_singular/chapter.html    |  12 +-
 .../res_parser/formatting_singular/chapter2.html   |  16 +-
 .../res_parser/formatting_singular/index.htm       | 437 +++++++-------
 .../res_parser/formatting_singular/index.html      |   4 +-
 .../s_002d_002dect_002cion.html                    |  12 +-
 .../res_parser/formatting_singular/sing_abt.htm    |   8 +-
 .../res_parser/formatting_singular/sing_fot.htm    |  10 +-
 .../res_parser/formatting_singular/sing_ovr.htm    |   8 +-
 .../res_parser/formatting_singular/sing_toc.htm    |   8 +-
 .../res_parser/formatting_singular/subsection.html |  12 +-
 ...tion-_0060_0060simple_002ddouble_002d_002d.html |  12 +-
 ...02d_002dfour_002d_002d_002d_002d_0027_0027.html |  13 +-
 .../math_not_closed/math_not_closed.html           |  13 +-
 .../res_parser/simplest_httex/simplest.html        |   9 +-
 tp/tests/tex_html/res_parser/tex/tex.html          |  11 +-
 .../res_parser/tex_accents_httex/tex_accents.html  |   4 +-
 .../res_parser/tex_accents_l2h/tex_accents.html    |   4 +-
 .../res_parser/tex_complex_httex/tex_complex.html  |  13 +-
 .../res_parser/tex_complex_l2h/tex_complex.html    |  13 +-
 .../res_parser/tex_eqalign_httex/tex_eqalign.html  |  11 +-
 .../res_parser/tex_eqalign_l2h/tex_eqalign.html    |  11 +-
 .../res_parser/tex_gdef_httex/tex_gdef.html        |  11 +-
 .../tex_html/res_parser/tex_gdef_l2h/tex_gdef.html |  11 +-
 tp/tests/tex_html/res_parser/tex_httex/tex.html    |  11 +-
 .../res_parser/tex_in_copying/tex_in_copying.html  |  26 +-
 .../res_parser/tex_not_closed/tex_not_closed.html  |   9 +-
 tp/tests/tex_html/res_parser/tex_notex/tex.html    |  11 +-
 706 files changed, 8360 insertions(+), 4958 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b5ec653..fde35c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2021-02-13  Per Bothner <per@bothner.com>
+
+       Use the sectionning tree structure in HTML output
+
+       * tp/Texinfo/Convert/HTML.pm (register_opened_section_level,
+       close_registered_sections_level, _convert_heading_command,
+       _convert_element_type, _default_end_file): use <div> for
+       elements and keep the sectioning tree structure.
+
 2021-02-10  Gavin Smith  <gavinsmith0123@gmail.com>
 
        Do not call pclose on non-pipe.
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 443b6b4..2a50f47 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -2402,6 +2402,31 @@ sub _default_element_header($$$$)
   return $result;
 }
 
+sub register_opened_section_level($$$)
+{
+  my $self = shift;
+  my $level = shift;
+  my $close = shift;
+  while (@{$self->{'pending_closes'}} < $level) {
+      push(@{$self->{'pending_closes'}}, "");
+  }
+  push(@{$self->{'pending_closes'}}, $close);
+}
+
+sub close_registered_sections_level($$)
+{
+  my $self = shift;
+  my $level = shift;
+  my @closed_elements;
+  my $result = '';
+  while (@{$self->{'pending_closes'}} > $level) {
+      my $close = pop @{$self->{'pending_closes'}};
+      push(@closed_elements, $close)
+        if ($close);
+  }
+  return @closed_elements;
+}
+
 sub _convert_heading_command($$$$$)
 {
   my $self = shift;
@@ -2419,9 +2444,26 @@ sub _convert_heading_command($$$$$)
     return $result;
   }
 
+  my $section = $command->{'extra'}->{'associated_section'};
+  my $node;
+  if ($section) {
+      my $level = $section->{'level'};
+      $result .= join('', $self->close_registered_sections_level($level));
+      $self->register_opened_section_level($level, "</div>\n");
+  } else {
+      $node = $command->{'extra'}->{'associated_node'};
+  }
+  $result .= '<div';
+  if ($section) {
+      $result .= ' class="'.$section->{'cmdname'}.'"';
+  } elsif ($node) {
+      $result .= ' class="node"';
+  } else {
+      $result .= " class=\"$cmdname\"";
+  }
   my $element_id = $self->command_id($command);
-  $result .= "<span id=\"$element_id\"></span>"
-    if (defined($element_id) and $element_id ne '');
+  $result .= " id=\"$element_id\""
+      if (defined($element_id) and $element_id ne '');
 
   print STDERR "Process $command "
         .Texinfo::Structuring::_print_root_command_texi($command)."\n"
@@ -2433,6 +2475,7 @@ sub _convert_heading_command($$$$$)
       and $command->{'parent'}->{'type'} eq 'element') {
     $element = $command->{'parent'};
   }
+  $result .= ">\n";
   if ($element) {
     $result .= &{$self->{'format_element_header'}}($self, $cmdname, 
                                             $command, $element);
@@ -2514,7 +2557,7 @@ sub _convert_heading_command($$$$$)
                        eq 'inline')))) {
     $result .= _mini_toc($self, $command);
   }
-
+  $result .= '</div>' if (! $section);
   return $result;
 }
 
@@ -4662,16 +4705,18 @@ sub _convert_element_type($$$$)
 
   if ($element->{'extra'}->{'special_element'}) {
     $special_element = $element->{'extra'}->{'special_element'};
+    $result .= join('', $self->close_registered_sections_level(0));
     my $id = $self->command_id($element);
+    $result .= "<div class=\"${special_element}_element\"";
     if ($id ne '') {
-      $result .= "<span id=\"$id\"></span>\n";
+      $result .= " id=\"$id\"";
     }
+    $result .= ">\n";
     if ($self->get_conf('HEADERS') 
         # first in page
         or $self->{'counter_in_file'}->{$element->{'filename'}} == 1) {
       $result .= &{$self->{'format_navigation_header'}}($self, 
                  $self->get_conf('MISC_BUTTONS'), undef, $element);
-      
     }
     my $heading = $self->command_text($element);
     my $element_name = $element->{'extra'}->{'special_element'};
@@ -4691,13 +4736,13 @@ sub _convert_element_type($$$$)
     if ($special_element_body eq '') {
       return '';
     }
-    $result .= $special_element_body;
+    $result .= $special_element_body . '</div>';
   } elsif (!$element->{'element_prev'}) {
     $result .= $self->_print_title();
     if (!$element->{'element_next'}) {
       # only one element
       my $foot_text = &{$self->{'format_footnotes_text'}}($self);
-      return $result.$content.$foot_text.$self->get_conf('DEFAULT_RULE')."\n";
+      return 
$result.$content.$foot_text.$self->get_conf('DEFAULT_RULE')."</div>\n";
     }
   }
   $result .= $content unless ($special_element);
@@ -5127,6 +5172,7 @@ sub converter_initialize($)
 
   $self->{'document_context'} = [];
   $self->{'multiple_pass'} = [];
+  $self->{'pending_closes'} = [];
   $self->_new_document_context('_toplevel_context');
 
   if ($self->get_conf('SPLIT') and $self->get_conf('SPLIT') ne 'chapter'
@@ -6494,10 +6540,11 @@ sub _default_program_string($)
 sub _default_end_file($)
 {
   my $self = shift;
+  my $closing_sections_text = join('', 
$self->close_registered_sections_level(0));
   my $program_text = '';
   if ($self->get_conf('PROGRAM_NAME_IN_FOOTER')) {
     my $program_string = &{$self->{'format_program_string'}}($self);
-    $program_text = "<p><font size=\"-1\">
+    $program_text .= "<p><font size=\"-1\">
   $program_string
 </font></p>";
   }
@@ -6515,7 +6562,7 @@ sub _default_end_file($)
 .'</small></a>';
   }
 
-  return "$program_text
+  return "${closing_sections_text}${program_text}
 
 $pre_body_close
 </body>
diff --git a/tp/t/results/converters_tests/accent.pl 
b/tp/t/results/converters_tests/accent.pl
index 200203f..2ab5676 100644
--- a/tp/t/results/converters_tests/accent.pl
+++ b/tp/t/results/converters_tests/accent.pl
@@ -3250,7 +3250,9 @@ should be e\': è è
 ';
 
 
-$result_converted{'html_text'}->{'accent'} = '<span id="Top"></span><span 
id="top"></span><h1 class="top">top</h1>
+$result_converted{'html_text'}->{'accent'} = '<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p>should be e&lsquo;: &egrave; &egrave;
 </p>
@@ -3325,7 +3327,7 @@ $result_converted{'html_text'}->{'accent'} = '<span 
id="Top"></span><span id="to
 <p>should be dotless j^: &#309;
 </p>
 <p>should be dotless j&quot;: j"
-</p><hr>
+</p></div><hr></div>
 ';
 
 
diff --git a/tp/t/results/converters_tests/accentenc.pl 
b/tp/t/results/converters_tests/accentenc.pl
index 597053c..65f67d3 100644
--- a/tp/t/results/converters_tests/accentenc.pl
+++ b/tp/t/results/converters_tests/accentenc.pl
@@ -3296,7 +3296,9 @@ should be e\': è è
 
 
 $result_converted{'html_text'}->{'accentenc'} = '
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p>should be e&lsquo;: &egrave; &egrave;
 </p>
@@ -3371,7 +3373,7 @@ $result_converted{'html_text'}->{'accentenc'} = '
 <p>should be dotless j^: &#309;
 </p>
 <p>should be dotless j&quot;: j"
-</p><hr>
+</p></div><hr></div>
 ';
 
 
diff --git a/tp/t/results/converters_tests/accentenc_enable_encoding.pl 
b/tp/t/results/converters_tests/accentenc_enable_encoding.pl
index a544988..d872ce6 100644
--- a/tp/t/results/converters_tests/accentenc_enable_encoding.pl
+++ b/tp/t/results/converters_tests/accentenc_enable_encoding.pl
@@ -3217,7 +3217,9 @@ $result_floats{'accentenc_enable_encoding'} = {};
 
 
 $result_converted{'html_text'}->{'accentenc_enable_encoding'} = '
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p>should be e&lsquo;: è è
 </p>
@@ -3292,7 +3294,7 @@ 
$result_converted{'html_text'}->{'accentenc_enable_encoding'} = '
 <p>should be dotless j^: &#309;
 </p>
 <p>should be dotless j&quot;: j"
-</p><hr>
+</p></div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/converters_tests/accentenc_no_entity.pl 
b/tp/t/results/converters_tests/accentenc_no_entity.pl
index 1471cb6..a811761 100644
--- a/tp/t/results/converters_tests/accentenc_no_entity.pl
+++ b/tp/t/results/converters_tests/accentenc_no_entity.pl
@@ -3217,7 +3217,9 @@ $result_floats{'accentenc_no_entity'} = {};
 
 
 $result_converted{'html_text'}->{'accentenc_no_entity'} = '
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p>should be e&lsquo;: è è
 </p>
@@ -3292,7 +3294,7 @@ $result_converted{'html_text'}->{'accentenc_no_entity'} = 
'
 <p>should be dotless j^: &#309;
 </p>
 <p>should be dotless j&quot;: j"
-</p><hr>
+</p></div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/converters_tests/at_commands_in_raw.pl 
b/tp/t/results/converters_tests/at_commands_in_raw.pl
index 9d97852..31e8ad7 100644
--- a/tp/t/results/converters_tests/at_commands_in_raw.pl
+++ b/tp/t/results/converters_tests/at_commands_in_raw.pl
@@ -1202,7 +1202,8 @@ $result_converted{'plaintext'}->{'at_commands_in_raw'} = 
'<b>in b(1).</b>
 ';
 
 
-$result_converted{'html_text'}->{'at_commands_in_raw'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'at_commands_in_raw'} = '<div class="node" 
id="Top">
+<h1 class="node-heading">Top</h1>
 
 
 <b>in b<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>.</b>
@@ -1247,7 +1248,7 @@ $result_converted{'html_text'}->{'at_commands_in_raw'} = 
'<span id="Top"></span>
 </p>
 <p>Macros that should not be defined: . with arg.
 </p>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -1256,7 +1257,7 @@ $result_converted{'html_text'}->{'at_commands_in_raw'} = 
'<span id="Top"></span>
 <h5><a id="FOOT2" href="#DOCF2">(2)</a></h5>
 <p>second footnote</p>
 </div>
-<hr>
+<hr></div>
 ';
 
 
diff --git a/tp/t/results/converters_tests/at_commands_in_refs.pl 
b/tp/t/results/converters_tests/at_commands_in_refs.pl
index 0a984fa..193788b 100644
--- a/tp/t/results/converters_tests/at_commands_in_refs.pl
+++ b/tp/t/results/converters_tests/at_commands_in_refs.pl
@@ -22893,11 +22893,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#-_007b-_007d" accesskey="n" rel="next"> { }</a> &nbsp; </p>
 </div>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 
 
 <ul class="section-toc">
@@ -22929,194 +22931,274 @@ Next: <a href="#-_007b-_007d" accesskey="n" 
rel="next"> { }</a> &nbsp; </p>
 <li><a href="#gH-3rd"><sub>g</sub>H 3<sup>rd</sup></a></li>
 <li><a 
href="#http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls"><a
 href="http://somewhere_aaa";>http://somewhere_aaa</a> <a href="url">text</a> <a 
href="/man.cgi/1/ls">ls</a></a></li>
 </ul>
-<hr>
-<span id="-_007b-_007d"></span><div class="header">
+</div><hr>
+<div class="chapter" id="-_007b-_007d">
+<div class="header">
 <p>
 Next: <a href="#----_0021---_002e--_002e-_003f-_0040" accesskey="n" 
rel="next">&nbsp; &nbsp; ! <br> .  . ? @</a>, Previous: <a href="#Top" 
accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="-_007b-_007d-1"></span><h2 class="chapter">1  { }</h2>
+<div class="node" id="-_007b-_007d-1">
+<h2 class="chapter">1  { }</h2>
 
-<hr>
-<span id="----_0021---_002e--_002e-_003f-_0040"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="----_0021---_002e--_002e-_003f-_0040">
+<div class="header">
 <p>
 Next: <a href="#g_t_0040-_007b-_007d-_005c-_0023" accesskey="n" rel="next">@ { 
} \\ #</a>, Previous: <a href="#-_007b-_007d" accesskey="p" rel="prev"> { 
}</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="----_0021---_002e--_002e-_003f-_0040-1"></span><h2 class="chapter">2 
&nbsp; &nbsp; ! <br> .  . ? @</h2>
+<div class="node" id="----_0021---_002e--_002e-_003f-_0040-1">
+<h2 class="chapter">2 &nbsp; &nbsp; ! <br> .  . ? @</h2>
 
-<hr>
-<span id="g_t_0040-_007b-_007d-_005c-_0023"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="g_t_0040-_007b-_007d-_005c-_0023">
+<div class="header">
 <p>
 Next: <a href="#LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e" 
accesskey="n" rel="next">LaTeX TeX &bull; , &copy; &hellip; <small 
class="enddots">...</small></a>, Previous: <a 
href="#----_0021---_002e--_002e-_003f-_0040" accesskey="p" rel="prev">&nbsp; 
&nbsp; ! <br> .  . ? @</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> 
&nbsp; </p>
 </div>
-<span id="g_t_0040-_007b-_007d-_005c-_0023-1"></span><h2 class="chapter">3 @ { 
} \\ #</h2>
+<div class="node" id="g_t_0040-_007b-_007d-_005c-_0023-1">
+<h2 class="chapter">3 @ { } \\ #</h2>
 
-<hr>
-<span id="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e"></span><div 
class="header">
+</div><hr>
+</div>
+<div class="chapter" id="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e">
+<div class="header">
 <p>
 Next: <a href="#g_t_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212" 
accesskey="n" rel="next">&equiv; error&rarr; &euro; &iexcl; &rarr; -</a>, 
Previous: <a href="#g_t_0040-_007b-_007d-_005c-_0023" accesskey="p" 
rel="prev">@ { } \\ #</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> 
&nbsp; </p>
 </div>
-<span id="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e-1"></span><h2 
class="chapter">4 LaTeX TeX &bull; , &copy; &hellip; <small 
class="enddots">...</small></h2>
+<div class="node" id="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e-1">
+<h2 class="chapter">4 LaTeX TeX &bull; , &copy; &hellip; <small 
class="enddots">...</small></h2>
 
-<hr>
-<span id="g_t_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212"></span><div 
class="header">
+</div><hr>
+</div>
+<div class="chapter" 
id="g_t_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212">
+<div class="header">
 <p>
 Next: <a href="#g_t_2265-_2264-_2192" accesskey="n" rel="next">&ge; &le; 
&rarr;</a>, Previous: <a 
href="#LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e" accesskey="p" 
rel="prev">LaTeX TeX &bull; , &copy; &hellip; <small 
class="enddots">...</small></a>, Up: <a href="#Top" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="g_t_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212-1"></span><h2 
class="chapter">5 &equiv; error&rarr; &euro; &iexcl; &rarr; -</h2>
+<div class="node" id="g_t_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212-1">
+<h2 class="chapter">5 &equiv; error&rarr; &euro; &iexcl; &rarr; -</h2>
 
-<hr>
-<span id="g_t_2265-_2264-_2192"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="g_t_2265-_2264-_2192">
+<div class="header">
 <p>
 Next: <a href="#g_t_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae" accesskey="n" 
rel="next">&ordf; &ordm; &lowast; &pound; -| &iquest; &reg;</a>, Previous: <a 
href="#g_t_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212" accesskey="p" 
rel="prev">&equiv; error&rarr; &euro; &iexcl; &rarr; -</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="g_t_2265-_2264-_2192-1"></span><h2 class="chapter">6 &ge; &le; 
&rarr;</h2>
+<div class="node" id="g_t_2265-_2264-_2192-1">
+<h2 class="chapter">6 &ge; &le; &rarr;</h2>
 
-<hr>
-<span id="g_t_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae"></span><div 
class="header">
+</div><hr>
+</div>
+<div class="chapter" id="g_t_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae">
+<div class="header">
 <p>
 Next: <a href="#g_t_21d2-_00b0-a-b--_00e5" accesskey="n" rel="next">&rArr; 
&deg; a&nbsp;b a sunny day &aring;</a>, Previous: <a 
href="#g_t_2265-_2264-_2192" accesskey="p" rel="prev">&ge; &le; &rarr;</a>, Up: 
<a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="g_t_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae-1"></span><h2 
class="chapter">7 &ordf; &ordm; &lowast; &pound; -| &iquest; &reg;</h2>
+<div class="node" id="g_t_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae-1">
+<h2 class="chapter">7 &ordf; &ordm; &lowast; &pound; -| &iquest; &reg;</h2>
 
-<hr>
-<span id="g_t_21d2-_00b0-a-b--_00e5"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="g_t_21d2-_00b0-a-b--_00e5">
+<div class="header">
 <p>
 Next: <a 
href="#g_t_00c5-_00e6-_0153-_00c6-_0152-_00f8-_00d8-_00df-_0142-_0141-_00d0-_00f0-_00de-_00fe"
 accesskey="n" rel="next">&Aring; &aelig; &oelig; &AElig; &OElig; &oslash; 
&Oslash; &szlig; &#322; &#321; &ETH; &eth; &THORN; &thorn;</a>, Previous: <a 
href="#g_t_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae" accesskey="p" 
rel="prev">&ordf; &ordm; &lowast; &pound; -| &iquest; &reg;</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="g_t_21d2-_00b0-a-b--aa"></span><h2 class="chapter">8 &rArr; &deg; 
a&nbsp;b a sunny day &aring;</h2>
+<div class="node" id="g_t_21d2-_00b0-a-b--aa">
+<h2 class="chapter">8 &rArr; &deg; a&nbsp;b a sunny day &aring;</h2>
 
-<hr>
-<span 
id="g_t_00c5-_00e6-_0153-_00c6-_0152-_00f8-_00d8-_00df-_0142-_0141-_00d0-_00f0-_00de-_00fe"></span><div
 class="header">
+</div><hr>
+</div>
+<div class="chapter" 
id="g_t_00c5-_00e6-_0153-_00c6-_0152-_00f8-_00d8-_00df-_0142-_0141-_00d0-_00f0-_00de-_00fe">
+<div class="header">
 <p>
 Next: <a 
href="#g_t_00e4-_1ebd-_00ee-_00e2-_00e0-_00e9-_00e7-_0113-e_030a-e_030b-_0119" 
accesskey="n" rel="next">&auml; &#7869; &icirc; &acirc; &agrave; &eacute; 
&ccedil; &#275; e* e\'\' &#281;</a>, Previous: <a 
href="#g_t_21d2-_00b0-a-b--_00e5" accesskey="p" rel="prev">&rArr; &deg; 
a&nbsp;b a sunny day &aring;</a>, Up: <a href="#Top" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th"></span><h2 class="chapter">9 
&Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; &#322; &#321; 
&ETH; &eth; &THORN; &thorn;</h2>
+<div class="node" id="AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th">
+<h2 class="chapter">9 &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; 
&Oslash; &szlig; &#322; &#321; &ETH; &eth; &THORN; &thorn;</h2>
 
-<hr>
-<span 
id="g_t_00e4-_1ebd-_00ee-_00e2-_00e0-_00e9-_00e7-_0113-e_030a-e_030b-_0119"></span><div
 class="header">
+</div><hr>
+</div>
+<div class="chapter" 
id="g_t_00e4-_1ebd-_00ee-_00e2-_00e0-_00e9-_00e7-_0113-e_030a-e_030b-_0119">
+<div class="header">
 <p>
 Next: <a href="#g_t_0117-_0115-e_0332-_1eb9-_011b-j-ee_0361" accesskey="n" 
rel="next">&#279; &#277; e_ &#7865; &#283; j ee[</a>, Previous: <a 
href="#g_t_00c5-_00e6-_0153-_00c6-_0152-_00f8-_00d8-_00df-_0142-_0141-_00d0-_00f0-_00de-_00fe"
 accesskey="p" rel="prev">&Aring; &aelig; &oelig; &AElig; &OElig; &oslash; 
&Oslash; &szlig; &#322; &#321; &ETH; &eth; &THORN; &thorn;</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="a-e-i-a-a-e-c-e-e-e-e"></span><h2 class="chapter">10 &auml; &#7869; 
&icirc; &acirc; &agrave; &eacute; &ccedil; &#275; e* e\'\' &#281;</h2>
+<div class="node" id="a-e-i-a-a-e-c-e-e-e-e">
+<h2 class="chapter">10 &auml; &#7869; &icirc; &acirc; &agrave; &eacute; 
&ccedil; &#275; e* e\'\' &#281;</h2>
 
-<hr>
-<span id="g_t_0117-_0115-e_0332-_1eb9-_011b-j-ee_0361"></span><div 
class="header">
+</div><hr>
+</div>
+<div class="chapter" id="g_t_0117-_0115-e_0332-_1eb9-_011b-j-ee_0361">
+<div class="header">
 <p>
 Next: <a href="#g_t_0131-_1e14-_1e08" accesskey="n" rel="next">i &#274;` 
&#262;,</a>, Previous: <a 
href="#g_t_00e4-_1ebd-_00ee-_00e2-_00e0-_00e9-_00e7-_0113-e_030a-e_030b-_0119" 
accesskey="p" rel="prev">&auml; &#7869; &icirc; &acirc; &agrave; &eacute; 
&ccedil; &#275; e* e\'\' &#281;</a>, Up: <a href="#Top" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="e-e-e-e-e-j-ee"></span><h2 class="chapter">11 &#279; &#277; e_ 
&#7865; &#283; j ee[</h2>
+<div class="node" id="e-e-e-e-e-j-ee">
+<h2 class="chapter">11 &#279; &#277; e_ &#7865; &#283; j ee[</h2>
 
-<hr>
-<span id="g_t_0131-_1e14-_1e08"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="g_t_0131-_1e14-_1e08">
+<div class="header">
 <p>
 Next: <a href="#g_t_201c-_201d-_2018-_2019-_201e-_201a" accesskey="n" 
rel="next">&ldquo; &rdquo; &lsquo; &rsquo; &bdquo; &sbquo;</a>, Previous: <a 
href="#g_t_0117-_0115-e_0332-_1eb9-_011b-j-ee_0361" accesskey="p" 
rel="prev">&#279; &#277; e_ &#7865; &#283; j ee[</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="i-E-C"></span><h2 class="chapter">12 i &#274;` &#262;,</h2>
+<div class="node" id="i-E-C">
+<h2 class="chapter">12 i &#274;` &#262;,</h2>
 
-<hr>
-<span id="g_t_201c-_201d-_2018-_2019-_201e-_201a"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="g_t_201c-_201d-_2018-_2019-_201e-_201a">
+<div class="header">
 <p>
 Next: <a href="#g_t_00ab-_00bb-_00ab-_00bb-_2039-_203a" accesskey="n" 
rel="next">&laquo; &raquo; &laquo; &raquo; &lsaquo; &rsaquo;</a>, Previous: <a 
href="#g_t_0131-_1e14-_1e08" accesskey="p" rel="prev">i &#274;` &#262;,</a>, 
Up: <a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="g_t_201c-_201d-_2018-_2019-_201e-_201a-1"></span><h2 
class="chapter">13 &ldquo; &rdquo; &lsquo; &rsquo; &bdquo; &sbquo;</h2>
+<div class="node" id="g_t_201c-_201d-_2018-_2019-_201e-_201a-1">
+<h2 class="chapter">13 &ldquo; &rdquo; &lsquo; &rsquo; &bdquo; &sbquo;</h2>
 
-<hr>
-<span id="g_t_00ab-_00bb-_00ab-_00bb-_2039-_203a"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="g_t_00ab-_00bb-_00ab-_00bb-_2039-_203a">
+<div class="header">
 <p>
 Next: <a 
href="#g_t_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027" 
accesskey="n" rel="next">&ldquo; &rdquo; &mdash; &ndash; &lsquo; &rsquo;</a>, 
Previous: <a href="#g_t_201c-_201d-_2018-_2019-_201e-_201a" accesskey="p" 
rel="prev">&ldquo; &rdquo; &lsquo; &rsquo; &bdquo; &sbquo;</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="g_t_00ab-_00bb-_00ab-_00bb-_2039-_203a-1"></span><h2 
class="chapter">14 &laquo; &raquo; &laquo; &raquo; &lsaquo; &rsaquo;</h2>
+<div class="node" id="g_t_00ab-_00bb-_00ab-_00bb-_2039-_203a-1">
+<h2 class="chapter">14 &laquo; &raquo; &laquo; &raquo; &lsaquo; &rsaquo;</h2>
 
-<hr>
-<span 
id="g_t_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027"></span><div
 class="header">
+</div><hr>
+</div>
+<div class="chapter" 
id="g_t_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027">
+<div class="header">
 <p>
 Next: <a href="#AAA-AAA-BBB" accesskey="n" rel="next"><acronym 
title="fff">AAA</acronym> (fff) <acronym title="fff">AAA</acronym> 
<acronym>BBB</acronym></a>, Previous: <a 
href="#g_t_00ab-_00bb-_00ab-_00bb-_2039-_203a" accesskey="p" rel="prev">&laquo; 
&raquo; &laquo; &raquo; &lsaquo; &rsaquo;</a>, Up: <a href="#Top" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
-<span 
id="g_t_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027-1"></span><h2
 class="chapter">15 &ldquo; &rdquo; &mdash; &ndash; &lsquo; &rsquo;</h2>
+<div class="node" 
id="g_t_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027-1">
+<h2 class="chapter">15 &ldquo; &rdquo; &mdash; &ndash; &lsquo; &rsquo;</h2>
 
-<hr>
-<span id="AAA-AAA-BBB"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="AAA-AAA-BBB">
+<div class="header">
 <p>
 Next: <a href="#CCC-CCC-DDD" accesskey="n" rel="next"><abbr 
title="rrr">CCC</abbr> (rrr) <abbr title="rrr">CCC</abbr> <abbr>DDD</abbr></a>, 
Previous: <a 
href="#g_t_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027" 
accesskey="p" rel="prev">&ldquo; &rdquo; &mdash; &ndash; &lsquo; &rsquo;</a>, 
Up: <a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="AAA-AAA-BBB-1"></span><h2 class="chapter">16 <acronym 
title="fff">AAA</acronym> (fff) <acronym title="fff">AAA</acronym> 
<acronym>BBB</acronym></h2>
+<div class="node" id="AAA-AAA-BBB-1">
+<h2 class="chapter">16 <acronym title="fff">AAA</acronym> (fff) <acronym 
title="fff">AAA</acronym> <acronym>BBB</acronym></h2>
 
-<hr>
-<span id="CCC-CCC-DDD"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="CCC-CCC-DDD">
+<div class="header">
 <p>
 Next: <a href="#someone_0040somewher-no_005fexplain_0040there" accesskey="n" 
rel="next"><a href="mailto:someone@somewher";>the someone</a> <a 
href="mailto:no_explain@there";>no_explain@there</a></a>, Previous: <a 
href="#AAA-AAA-BBB" accesskey="p" rel="prev"><acronym title="fff">AAA</acronym> 
(fff) <acronym title="fff">AAA</acronym> <acronym>BBB</acronym></a>, Up: <a 
href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="CCC-CCC-DDD-1"></span><h2 class="chapter">17 <abbr 
title="rrr">CCC</abbr> (rrr) <abbr title="rrr">CCC</abbr> <abbr>DDD</abbr></h2>
+<div class="node" id="CCC-CCC-DDD-1">
+<h2 class="chapter">17 <abbr title="rrr">CCC</abbr> (rrr) <abbr 
title="rrr">CCC</abbr> <abbr>DDD</abbr></h2>
 
-<hr>
-<span id="someone_0040somewher-no_005fexplain_0040there"></span><div 
class="header">
+</div><hr>
+</div>
+<div class="chapter" id="someone_0040somewher-no_005fexplain_0040there">
+<div class="header">
 <p>
 Next: <a href="#f_002d_002dile1-f_002d_002dile" accesskey="n" rel="next"><img 
src="f--ile1.jpg" alt="f--ile1">  <img src="f--ile.png" alt="alt"></a>, 
Previous: <a href="#CCC-CCC-DDD" accesskey="p" rel="prev"><abbr 
title="rrr">CCC</abbr> (rrr) <abbr title="rrr">CCC</abbr> <abbr>DDD</abbr></a>, 
Up: <a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="someone_0040somewher-no_005fexplain_0040there-1"></span><h2 
class="chapter">18 <a href="mailto:someone@somewher";>the someone</a> <a 
href="mailto:no_explain@there";>no_explain@there</a></h2>
+<div class="node" id="someone_0040somewher-no_005fexplain_0040there-1">
+<h2 class="chapter">18 <a href="mailto:someone@somewher";>the someone</a> <a 
href="mailto:no_explain@there";>no_explain@there</a></h2>
 
-<hr>
-<span id="f_002d_002dile1-f_002d_002dile"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="f_002d_002dile1-f_002d_002dile">
+<div class="header">
 <p>
 Next: <a href="#-_0040-_007b_007d-_002e-" accesskey="n" rel="next"><tt> @ {} . 
</tt></a>, Previous: <a href="#someone_0040somewher-no_005fexplain_0040there" 
accesskey="p" rel="prev"><a href="mailto:someone@somewher";>the someone</a> <a 
href="mailto:no_explain@there";>no_explain@there</a></a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="f_002d_002dile1-f_002d_002dile-1"></span><h2 class="chapter">19 <img 
src="f--ile1.jpg" alt="f--ile1">  <img src="f--ile.png" alt="alt"></h2>
+<div class="node" id="f_002d_002dile1-f_002d_002dile-1">
+<h2 class="chapter">19 <img src="f--ile1.jpg" alt="f--ile1">  <img 
src="f--ile.png" alt="alt"></h2>
 
-<hr>
-<span id="-_0040-_007b_007d-_002e-"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="-_0040-_007b_007d-_002e-">
+<div class="header">
 <p>
 Next: <a href="#cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i" accesskey="n" 
rel="next"><cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- /@w --> <span 
class="roman">in r</span> <small>SC</small> <strong>str</strong> <tt>t</tt> 
<var>var</var> <em>dfn</em> <i>i</i></a>, Previous: <a 
href="#f_002d_002dile1-f_002d_002dile" accesskey="p" rel="prev"><img 
src="f--ile1.jpg" alt="f--ile1">  <img src="f--ile.png" alt="alt"></a>, Up: <a 
href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="-_0040-_007b_007d-_002e--1"></span><h2 class="chapter">20 <tt> @ {} 
. </tt></h2>
+<div class="node" id="-_0040-_007b_007d-_002e--1">
+<h2 class="chapter">20 <tt> @ {} . </tt></h2>
 
-<hr>
-<span id="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i"></span><div 
class="header">
+</div><hr>
+</div>
+<div class="chapter" id="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i">
+<div class="header">
 <p>
 Next: <a href="#env-code-option-samp-command-file-C_002dx-ESC" accesskey="n" 
rel="next"><code>env</code> <code>code</code> <samp>option</samp> 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> <samp>file</samp> <kbd>C-x 
<span class="key">ESC</span></kbd></a>, Previous: <a 
href="#-_0040-_007b_007d-_002e-" accesskey="p" rel="prev"><tt> @ {} . 
</tt></a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i-1"></span><h2 
class="chapter">21 <cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- /@w --> 
<span class="roman">in r</span> <small>SC</small> <strong>str</strong> 
<tt>t</tt> <var>var</var> <em>dfn</em> <i>i</i></h2>
+<div class="node" id="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i-1">
+<h2 class="chapter">21 <cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- /@w 
--> <span class="roman">in r</span> <small>SC</small> <strong>str</strong> 
<tt>t</tt> <var>var</var> <em>dfn</em> <i>i</i></h2>
 
-<hr>
-<span id="env-code-option-samp-command-file-C_002dx-ESC"></span><div 
class="header">
+</div><hr>
+</div>
+<div class="chapter" id="env-code-option-samp-command-file-C_002dx-ESC">
+<div class="header">
 <p>
 Next: <a href="#g_t8_002e27in" accesskey="n" rel="next">8.27in</a>, Previous: 
<a href="#cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i" accesskey="p" 
rel="prev"><cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- /@w --> <span 
class="roman">in r</span> <small>SC</small> <strong>str</strong> <tt>t</tt> 
<var>var</var> <em>dfn</em> <i>i</i></a>, Up: <a href="#Top" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="env-code-option-samp-command-file-C_002dx-ESC-1"></span><h2 
class="chapter">22 <code>env</code> <code>code</code> <samp>option</samp> 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> <samp>file</samp> <kbd>C-x 
<span class="key">ESC</span></kbd></h2>
+<div class="node" id="env-code-option-samp-command-file-C_002dx-ESC-1">
+<h2 class="chapter">22 <code>env</code> <code>code</code> <samp>option</samp> 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> <samp>file</samp> <kbd>C-x 
<span class="key">ESC</span></kbd></h2>
 
-<hr>
-<span id="g_t8_002e27in"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="g_t8_002e27in">
+<div class="header">
 <p>
 Next: <a href="#sansserif-slanted" accesskey="n" rel="next"><span 
class="sansserif">sansserif</span> <i>slanted</i></a>, Previous: <a 
href="#env-code-option-samp-command-file-C_002dx-ESC" accesskey="p" 
rel="prev"><code>env</code> <code>code</code> <samp>option</samp> 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> <samp>file</samp> <kbd>C-x 
<span class="key">ESC</span></kbd></a>, Up: <a href="#Top" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="g_t8_002e27in-1"></span><h2 class="chapter">23 8.27in</h2>
+<div class="node" id="g_t8_002e27in-1">
+<h2 class="chapter">23 8.27in</h2>
 
-<hr>
-<span id="sansserif-slanted"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="sansserif-slanted">
+<div class="header">
 <p>
 Next: <a href="#indicateurl" accesskey="n" 
rel="next">&lsquo;<code>indicateurl</code>&rsquo;</a>, Previous: <a 
href="#g_t8_002e27in" accesskey="p" rel="prev">8.27in</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="sansserif-slanted-1"></span><h2 class="chapter">24 <span 
class="sansserif">sansserif</span> <i>slanted</i></h2>
+<div class="node" id="sansserif-slanted-1">
+<h2 class="chapter">24 <span class="sansserif">sansserif</span> 
<i>slanted</i></h2>
 
-<hr>
-<span id="indicateurl"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="indicateurl">
+<div class="header">
 <p>
 Next: <a href="#gH-3rd" accesskey="n" rel="next"><sub>g</sub>H 
3<sup>rd</sup></a>, Previous: <a href="#sansserif-slanted" accesskey="p" 
rel="prev"><span class="sansserif">sansserif</span> <i>slanted</i></a>, Up: <a 
href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="indicateurl-1"></span><h2 class="chapter">25 
&lsquo;<code>indicateurl</code>&rsquo;</h2>
+<div class="node" id="indicateurl-1">
+<h2 class="chapter">25 &lsquo;<code>indicateurl</code>&rsquo;</h2>
 
-<hr>
-<span id="gH-3rd"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="gH-3rd">
+<div class="header">
 <p>
 Next: <a 
href="#http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls" 
accesskey="n" rel="next"><a 
href="http://somewhere_aaa";>http://somewhere_aaa</a> <a href="url">text</a> <a 
href="/man.cgi/1/ls">ls</a></a>, Previous: <a href="#indicateurl" accesskey="p" 
rel="prev">&lsquo;<code>indicateurl</code>&rsquo;</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="gH-3rd-1"></span><h2 class="chapter">26 <sub>g</sub>H 
3<sup>rd</sup></h2>
+<div class="node" id="gH-3rd-1">
+<h2 class="chapter">26 <sub>g</sub>H 3<sup>rd</sup></h2>
 
-<hr>
-<span 
id="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls"></span><div
 class="header">
+</div><hr>
+</div>
+<div class="chapter" 
id="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls">
+<div class="header">
 <p>
 Previous: <a href="#gH-3rd" accesskey="p" rel="prev"><sub>g</sub>H 
3<sup>rd</sup></a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; 
</p>
 </div>
-<span 
id="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls-1"></span><h2
 class="chapter">27 <a href="http://somewhere_aaa";>http://somewhere_aaa</a> <a 
href="url">text</a> <a href="/man.cgi/1/ls">ls</a></h2>
+<div class="node" 
id="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls-1">
+<h2 class="chapter">27 <a href="http://somewhere_aaa";>http://somewhere_aaa</a> 
<a href="url">text</a> <a href="/man.cgi/1/ls">ls</a></h2>
 
 <p><a href="#-_007b-_007d"> { }</a>
 </p>
@@ -23172,7 +23254,9 @@ Previous: <a href="#gH-3rd" accesskey="p" 
rel="prev"><sub>g</sub>H 3<sup>rd</sup
 </p>
 <p><a 
href="#http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls"><a
 href="http://somewhere_aaa";>http://somewhere_aaa</a> <a href="url">text</a> <a 
href="/man.cgi/1/ls">ls</a></a>
 </p>
-<hr>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/----_0021---_002e--_002e-_003f-_0040.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/----_0021---_002e--_002e-_003f-_0040.html
index 46e7731..726807d 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/----_0021---_002e--_002e-_003f-_0040.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/----_0021---_002e--_002e-_003f-_0040.html
@@ -40,13 +40,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="----_0021---_002e--_002e-_003f-_0040"></span><div class="header">
+<div class="chapter" id="----_0021---_002e--_002e-_003f-_0040">
+<div class="header">
 <p>
 Next: <a href="_0040-_007b-_007d-_005c-_0023.html" accesskey="n" rel="next">@ 
{ } \ #</a>, Previous: <a href="-_007b-_007d.html" accesskey="p" rel="prev"> { 
}</a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="----_0021---_002e--_002e-_003f-_0040-1"></span><h2 class="chapter">2 
&nbsp; &nbsp; ! <br> .  . ? @</h2>
+<div class="node" id="----_0021---_002e--_002e-_003f-_0040-1">
+<h2 class="chapter">2 &nbsp; &nbsp; ! <br> .  . ? @</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/-_0040-_007b_007d-_002e-.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/-_0040-_007b_007d-_002e-.html
index 0dbc5c7..b00f528 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/-_0040-_007b_007d-_002e-.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/-_0040-_007b_007d-_002e-.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="-_0040-_007b_007d-_002e-"></span><div class="header">
+<div class="chapter" id="-_0040-_007b_007d-_002e-">
+<div class="header">
 <p>
 Next: <a href="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i.html" 
accesskey="n" rel="next"><cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- 
/@w --> <span class="roman">in r</span> <small>SC</small> <strong>str</strong> 
<tt>t</tt> <var>var</var> <em>dfn</em> <i>i</i></a>, Previous: <a 
href="f_002d_002dile1-f_002d_002dile.html" accesskey="p" rel="prev"><img 
src="f--ile1.jpg" alt="f--ile1">  <img src="f--ile.png" alt="alt"></a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &n [...]
 </div>
 <hr>
-<span id="-_0040-_007b_007d-_002e--1"></span><h2 class="chapter">20 <tt> @ {} 
. </tt></h2>
+<div class="node" id="-_0040-_007b_007d-_002e--1">
+<h2 class="chapter">20 <tt> @ {} . </tt></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/-_007b-_007d.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/-_007b-_007d.html
index 199e17c..2c1530d 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/-_007b-_007d.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/-_007b-_007d.html
@@ -38,13 +38,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="-_007b-_007d"></span><div class="header">
+<div class="chapter" id="-_007b-_007d">
+<div class="header">
 <p>
 Next: <a href="----_0021---_002e--_002e-_003f-_0040.html" accesskey="n" 
rel="next">&nbsp; &nbsp; ! <br> .  . ? @</a>, Previous: <a href="index.html" 
accesskey="p" rel="prev">Top</a>, Up: <a href="index.html" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="-_007b-_007d-1"></span><h2 class="chapter">1  { }</h2>
+<div class="node" id="-_007b-_007d-1">
+<h2 class="chapter">1  { }</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/8_002e27in.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/8_002e27in.html
index add765d..d90e0e5 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/8_002e27in.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/8_002e27in.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t8_002e27in"></span><div class="header">
+<div class="chapter" id="g_t8_002e27in">
+<div class="header">
 <p>
 Next: <a href="sansserif-slanted.html" accesskey="n" rel="next"><span 
class="sansserif">sansserif</span> <i>slanted</i></a>, Previous: <a 
href="env-code-option-samp-command-file-C_002dx-ESC.html" accesskey="p" 
rel="prev"><code>env</code> <code>code</code> <samp>option</samp> 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> <samp>file</samp> <kbd>C-x 
<span class="key">ESC</span></kbd></a>, Up: <a href="index.html" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t8_002e27in-1"></span><h2 class="chapter">23 8.27in</h2>
+<div class="node" id="g_t8_002e27in-1">
+<h2 class="chapter">23 8.27in</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th.html
index 06fa484..009cbac 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_00c5-_00e6-_0153-_00c6-_0152-_00f8-_00d8-_00df-_0142-_0141-_00d0-_00f0-_00de-_00fe"></span><div
 class="header">
+<div class="chapter" 
id="g_t_00c5-_00e6-_0153-_00c6-_0152-_00f8-_00d8-_00df-_0142-_0141-_00d0-_00f0-_00de-_00fe">
+<div class="header">
 <p>
 Next: <a href="a-e-i-a-a-e-c-e-e-e-e.html" accesskey="n" rel="next">&auml; 
&#7869; &icirc; &acirc; &agrave; &eacute; &ccedil; &#275; e* e'' &#281;</a>, 
Previous: <a href="_21d2-_00b0-a-b--aa.html" accesskey="p" rel="prev">&rArr; 
&deg; a&nbsp;b a sunny day &aring;</a>, Up: <a href="index.html" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th"></span><h2 class="chapter">9 
&Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; &#322; &#321; 
&ETH; &eth; &THORN; &thorn;</h2>
+<div class="node" id="AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th">
+<h2 class="chapter">9 &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; 
&Oslash; &szlig; &#322; &#321; &ETH; &eth; &THORN; &thorn;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/AAA-AAA-BBB.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/AAA-AAA-BBB.html
index 35366c9..8173ced 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/AAA-AAA-BBB.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/AAA-AAA-BBB.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="AAA-AAA-BBB"></span><div class="header">
+<div class="chapter" id="AAA-AAA-BBB">
+<div class="header">
 <p>
 Next: <a href="CCC-CCC-DDD.html" accesskey="n" rel="next"><abbr 
title="rrr">CCC</abbr> (rrr) <abbr title="rrr">CCC</abbr> <abbr>DDD</abbr></a>, 
Previous: <a 
href="_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027.html" 
accesskey="p" rel="prev">&ldquo; &rdquo; &mdash; &ndash; &lsquo; &rsquo;</a>, 
Up: <a href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="AAA-AAA-BBB-1"></span><h2 class="chapter">16 <acronym 
title="fff">AAA</acronym> (fff) <acronym title="fff">AAA</acronym> 
<acronym>BBB</acronym></h2>
+<div class="node" id="AAA-AAA-BBB-1">
+<h2 class="chapter">16 <acronym title="fff">AAA</acronym> (fff) <acronym 
title="fff">AAA</acronym> <acronym>BBB</acronym></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/CCC-CCC-DDD.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/CCC-CCC-DDD.html
index 2c17fa5..e18a5a2 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/CCC-CCC-DDD.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/CCC-CCC-DDD.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="CCC-CCC-DDD"></span><div class="header">
+<div class="chapter" id="CCC-CCC-DDD">
+<div class="header">
 <p>
 Next: <a href="someone_0040somewher-no_005fexplain_0040there.html" 
accesskey="n" rel="next"><a href="mailto:someone@somewher";>the someone</a> <a 
href="mailto:no_explain@there";>no_explain@there</a></a>, Previous: <a 
href="AAA-AAA-BBB.html" accesskey="p" rel="prev"><acronym 
title="fff">AAA</acronym> (fff) <acronym title="fff">AAA</acronym> 
<acronym>BBB</acronym></a>, Up: <a href="index.html" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="CCC-CCC-DDD-1"></span><h2 class="chapter">17 <abbr 
title="rrr">CCC</abbr> (rrr) <abbr title="rrr">CCC</abbr> <abbr>DDD</abbr></h2>
+<div class="node" id="CCC-CCC-DDD-1">
+<h2 class="chapter">17 <abbr title="rrr">CCC</abbr> (rrr) <abbr 
title="rrr">CCC</abbr> <abbr>DDD</abbr></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e.html
index 66bd1db..c967c0a 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e"></span><div 
class="header">
+<div class="chapter" id="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e">
+<div class="header">
 <p>
 Next: <a href="_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212.html" 
accesskey="n" rel="next">&equiv; error&rarr; &euro; &iexcl; &rarr; -</a>, 
Previous: <a href="_0040-_007b-_007d-_005c-_0023.html" accesskey="p" 
rel="prev">@ { } \ #</a>, Up: <a href="index.html" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e-1"></span><h2 
class="chapter">4 LaTeX TeX &bull; , &copy; &hellip; <small 
class="enddots">...</small></h2>
+<div class="node" id="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e-1">
+<h2 class="chapter">4 LaTeX TeX &bull; , &copy; &hellip; <small 
class="enddots">...</small></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_0040-_007b-_007d-_005c-_0023.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_0040-_007b-_007d-_005c-_0023.html
index 7e4d866..600ddca 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_0040-_007b-_007d-_005c-_0023.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_0040-_007b-_007d-_005c-_0023.html
@@ -38,13 +38,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_0040-_007b-_007d-_005c-_0023"></span><div class="header">
+<div class="chapter" id="g_t_0040-_007b-_007d-_005c-_0023">
+<div class="header">
 <p>
 Next: <a href="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e.html" 
accesskey="n" rel="next">LaTeX TeX &bull; , &copy; &hellip; <small 
class="enddots">...</small></a>, Previous: <a 
href="----_0021---_002e--_002e-_003f-_0040.html" accesskey="p" 
rel="prev">&nbsp; &nbsp; ! <br> .  . ? @</a>, Up: <a href="index.html" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t_0040-_007b-_007d-_005c-_0023-1"></span><h2 class="chapter">3 @ { 
} \ #</h2>
+<div class="node" id="g_t_0040-_007b-_007d-_005c-_0023-1">
+<h2 class="chapter">3 @ { } \ #</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027.html
index b2a1af8..a2c4ad7 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027"></span><div
 class="header">
+<div class="chapter" 
id="g_t_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027">
+<div class="header">
 <p>
 Next: <a href="AAA-AAA-BBB.html" accesskey="n" rel="next"><acronym 
title="fff">AAA</acronym> (fff) <acronym title="fff">AAA</acronym> 
<acronym>BBB</acronym></a>, Previous: <a 
href="_00ab-_00bb-_00ab-_00bb-_2039-_203a.html" accesskey="p" 
rel="prev">&laquo; &raquo; &laquo; &raquo; &lsaquo; &rsaquo;</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span 
id="g_t_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027-1"></span><h2
 class="chapter">15 &ldquo; &rdquo; &mdash; &ndash; &lsquo; &rsquo;</h2>
+<div class="node" 
id="g_t_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027-1">
+<h2 class="chapter">15 &ldquo; &rdquo; &mdash; &ndash; &lsquo; &rsquo;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae.html
index 0daddfc..8014f98 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae"></span><div 
class="header">
+<div class="chapter" id="g_t_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae">
+<div class="header">
 <p>
 Next: <a href="_21d2-_00b0-a-b--aa.html" accesskey="n" rel="next">&rArr; &deg; 
a&nbsp;b a sunny day &aring;</a>, Previous: <a href="_2265-_2264-_2192.html" 
accesskey="p" rel="prev">&ge; &le; &rarr;</a>, Up: <a href="index.html" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae-1"></span><h2 
class="chapter">7 &ordf; &ordm; &lowast; &pound; -| &iquest; &reg;</h2>
+<div class="node" id="g_t_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae-1">
+<h2 class="chapter">7 &ordf; &ordm; &lowast; &pound; -| &iquest; &reg;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_00ab-_00bb-_00ab-_00bb-_2039-_203a.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_00ab-_00bb-_00ab-_00bb-_2039-_203a.html
index 43e27d2..d7a4a5e 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_00ab-_00bb-_00ab-_00bb-_2039-_203a.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_00ab-_00bb-_00ab-_00bb-_2039-_203a.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_00ab-_00bb-_00ab-_00bb-_2039-_203a"></span><div class="header">
+<div class="chapter" id="g_t_00ab-_00bb-_00ab-_00bb-_2039-_203a">
+<div class="header">
 <p>
 Next: <a 
href="_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027.html" 
accesskey="n" rel="next">&ldquo; &rdquo; &mdash; &ndash; &lsquo; &rsquo;</a>, 
Previous: <a href="_201c-_201d-_2018-_2019-_201e-_201a.html" accesskey="p" 
rel="prev">&ldquo; &rdquo; &lsquo; &rsquo; &bdquo; &sbquo;</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t_00ab-_00bb-_00ab-_00bb-_2039-_203a-1"></span><h2 
class="chapter">14 &laquo; &raquo; &laquo; &raquo; &lsaquo; &rsaquo;</h2>
+<div class="node" id="g_t_00ab-_00bb-_00ab-_00bb-_2039-_203a-1">
+<h2 class="chapter">14 &laquo; &raquo; &laquo; &raquo; &lsaquo; &rsaquo;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_201c-_201d-_2018-_2019-_201e-_201a.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_201c-_201d-_2018-_2019-_201e-_201a.html
index b6229d1..98d943d 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_201c-_201d-_2018-_2019-_201e-_201a.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_201c-_201d-_2018-_2019-_201e-_201a.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_201c-_201d-_2018-_2019-_201e-_201a"></span><div class="header">
+<div class="chapter" id="g_t_201c-_201d-_2018-_2019-_201e-_201a">
+<div class="header">
 <p>
 Next: <a href="_00ab-_00bb-_00ab-_00bb-_2039-_203a.html" accesskey="n" 
rel="next">&laquo; &raquo; &laquo; &raquo; &lsaquo; &rsaquo;</a>, Previous: <a 
href="i-E-C.html" accesskey="p" rel="prev">i &#274;` &#262;,</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t_201c-_201d-_2018-_2019-_201e-_201a-1"></span><h2 
class="chapter">13 &ldquo; &rdquo; &lsquo; &rsquo; &bdquo; &sbquo;</h2>
+<div class="node" id="g_t_201c-_201d-_2018-_2019-_201e-_201a-1">
+<h2 class="chapter">13 &ldquo; &rdquo; &lsquo; &rsquo; &bdquo; &sbquo;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_21d2-_00b0-a-b--aa.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_21d2-_00b0-a-b--aa.html
index 3fab30d..ca8642b 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_21d2-_00b0-a-b--aa.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_21d2-_00b0-a-b--aa.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_21d2-_00b0-a-b--_00e5"></span><div class="header">
+<div class="chapter" id="g_t_21d2-_00b0-a-b--_00e5">
+<div class="header">
 <p>
 Next: <a href="AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th.html" accesskey="n" 
rel="next">&Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH; &eth; &THORN; &thorn;</a>, Previous: <a 
href="_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae.html" accesskey="p" 
rel="prev">&ordf; &ordm; &lowast; &pound; -| &iquest; &reg;</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t_21d2-_00b0-a-b--aa"></span><h2 class="chapter">8 &rArr; &deg; 
a&nbsp;b a sunny day &aring;</h2>
+<div class="node" id="g_t_21d2-_00b0-a-b--aa">
+<h2 class="chapter">8 &rArr; &deg; a&nbsp;b a sunny day &aring;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212.html
index 05138e9..ceeb6dc 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212"></span><div 
class="header">
+<div class="chapter" 
id="g_t_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212">
+<div class="header">
 <p>
 Next: <a href="_2265-_2264-_2192.html" accesskey="n" rel="next">&ge; &le; 
&rarr;</a>, Previous: <a 
href="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e.html" accesskey="p" 
rel="prev">LaTeX TeX &bull; , &copy; &hellip; <small 
class="enddots">...</small></a>, Up: <a href="index.html" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212-1"></span><h2 
class="chapter">5 &equiv; error&rarr; &euro; &iexcl; &rarr; -</h2>
+<div class="node" id="g_t_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212-1">
+<h2 class="chapter">5 &equiv; error&rarr; &euro; &iexcl; &rarr; -</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_2265-_2264-_2192.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_2265-_2264-_2192.html
index d1d2465..db9cad4 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_2265-_2264-_2192.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/_2265-_2264-_2192.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_2265-_2264-_2192"></span><div class="header">
+<div class="chapter" id="g_t_2265-_2264-_2192">
+<div class="header">
 <p>
 Next: <a href="_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae.html" accesskey="n" 
rel="next">&ordf; &ordm; &lowast; &pound; -| &iquest; &reg;</a>, Previous: <a 
href="_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212.html" accesskey="p" 
rel="prev">&equiv; error&rarr; &euro; &iexcl; &rarr; -</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t_2265-_2264-_2192-1"></span><h2 class="chapter">6 &ge; &le; 
&rarr;</h2>
+<div class="node" id="g_t_2265-_2264-_2192-1">
+<h2 class="chapter">6 &ge; &le; &rarr;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/a-e-i-a-a-e-c-e-e-e-e.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/a-e-i-a-a-e-c-e-e-e-e.html
index 53e4a5e..ab891dd 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/a-e-i-a-a-e-c-e-e-e-e.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/a-e-i-a-a-e-c-e-e-e-e.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_00e4-_1ebd-_00ee-_00e2-_00e0-_00e9-_00e7-_0113-e_030a-e_030b-_0119"></span><div
 class="header">
+<div class="chapter" 
id="g_t_00e4-_1ebd-_00ee-_00e2-_00e0-_00e9-_00e7-_0113-e_030a-e_030b-_0119">
+<div class="header">
 <p>
 Next: <a href="e-e-e-e-e-j-ee.html" accesskey="n" rel="next">&#279; &#277; e_ 
&#7865; &#283; j ee[</a>, Previous: <a 
href="AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th.html" accesskey="p" 
rel="prev">&Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH; &eth; &THORN; &thorn;</a>, Up: <a href="index.html" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="a-e-i-a-a-e-c-e-e-e-e"></span><h2 class="chapter">10 &auml; &#7869; 
&icirc; &acirc; &agrave; &eacute; &ccedil; &#275; e* e'' &#281;</h2>
+<div class="node" id="a-e-i-a-a-e-c-e-e-e-e">
+<h2 class="chapter">10 &auml; &#7869; &icirc; &acirc; &agrave; &eacute; 
&ccedil; &#275; e* e'' &#281;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i.html
index 9242758..aa3d49f 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i"></span><div 
class="header">
+<div class="chapter" id="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i">
+<div class="header">
 <p>
 Next: <a href="env-code-option-samp-command-file-C_002dx-ESC.html" 
accesskey="n" rel="next"><code>env</code> <code>code</code> <samp>option</samp> 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> <samp>file</samp> <kbd>C-x 
<span class="key">ESC</span></kbd></a>, Previous: <a 
href="-_0040-_007b_007d-_002e-.html" accesskey="p" rel="prev"><tt> @ {} . 
</tt></a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i-1"></span><h2 
class="chapter">21 <cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- /@w --> 
<span class="roman">in r</span> <small>SC</small> <strong>str</strong> 
<tt>t</tt> <var>var</var> <em>dfn</em> <i>i</i></h2>
+<div class="node" id="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i-1">
+<h2 class="chapter">21 <cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- /@w 
--> <span class="roman">in r</span> <small>SC</small> <strong>str</strong> 
<tt>t</tt> <var>var</var> <em>dfn</em> <i>i</i></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/e-e-e-e-e-j-ee.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/e-e-e-e-e-j-ee.html
index 89629ee..666242e 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/e-e-e-e-e-j-ee.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/e-e-e-e-e-j-ee.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_0117-_0115-e_0332-_1eb9-_011b-j-ee_0361"></span><div 
class="header">
+<div class="chapter" id="g_t_0117-_0115-e_0332-_1eb9-_011b-j-ee_0361">
+<div class="header">
 <p>
 Next: <a href="i-E-C.html" accesskey="n" rel="next">i &#274;` &#262;,</a>, 
Previous: <a href="a-e-i-a-a-e-c-e-e-e-e.html" accesskey="p" rel="prev">&auml; 
&#7869; &icirc; &acirc; &agrave; &eacute; &ccedil; &#275; e* e'' &#281;</a>, 
Up: <a href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="e-e-e-e-e-j-ee"></span><h2 class="chapter">11 &#279; &#277; e_ 
&#7865; &#283; j ee[</h2>
+<div class="node" id="e-e-e-e-e-j-ee">
+<h2 class="chapter">11 &#279; &#277; e_ &#7865; &#283; j ee[</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/env-code-option-samp-command-file-C_002dx-ESC.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/env-code-option-samp-command-file-C_002dx-ESC.html
index 00e86d6..8a3dda3 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/env-code-option-samp-command-file-C_002dx-ESC.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/env-code-option-samp-command-file-C_002dx-ESC.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="env-code-option-samp-command-file-C_002dx-ESC"></span><div 
class="header">
+<div class="chapter" id="env-code-option-samp-command-file-C_002dx-ESC">
+<div class="header">
 <p>
 Next: <a href="8_002e27in.html" accesskey="n" rel="next">8.27in</a>, Previous: 
<a href="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i.html" accesskey="p" 
rel="prev"><cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- /@w --> <span 
class="roman">in r</span> <small>SC</small> <strong>str</strong> <tt>t</tt> 
<var>var</var> <em>dfn</em> <i>i</i></a>, Up: <a href="index.html" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="env-code-option-samp-command-file-C_002dx-ESC-1"></span><h2 
class="chapter">22 <code>env</code> <code>code</code> <samp>option</samp> 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> <samp>file</samp> <kbd>C-x 
<span class="key">ESC</span></kbd></h2>
+<div class="node" id="env-code-option-samp-command-file-C_002dx-ESC-1">
+<h2 class="chapter">22 <code>env</code> <code>code</code> <samp>option</samp> 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> <samp>file</samp> <kbd>C-x 
<span class="key">ESC</span></kbd></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/f_002d_002dile1-f_002d_002dile.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/f_002d_002dile1-f_002d_002dile.html
index a54ccf4..2ca300b 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/f_002d_002dile1-f_002d_002dile.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/f_002d_002dile1-f_002d_002dile.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="f_002d_002dile1-f_002d_002dile"></span><div class="header">
+<div class="chapter" id="f_002d_002dile1-f_002d_002dile">
+<div class="header">
 <p>
 Next: <a href="-_0040-_007b_007d-_002e-.html" accesskey="n" rel="next"><tt> @ 
{} . </tt></a>, Previous: <a 
href="someone_0040somewher-no_005fexplain_0040there.html" accesskey="p" 
rel="prev"><a href="mailto:someone@somewher";>the someone</a> <a 
href="mailto:no_explain@there";>no_explain@there</a></a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="f_002d_002dile1-f_002d_002dile-1"></span><h2 class="chapter">19 <img 
src="f--ile1.jpg" alt="f--ile1">  <img src="f--ile.png" alt="alt"></h2>
+<div class="node" id="f_002d_002dile1-f_002d_002dile-1">
+<h2 class="chapter">19 <img src="f--ile1.jpg" alt="f--ile1">  <img 
src="f--ile.png" alt="alt"></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/gH-3rd.html 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/gH-3rd.html
index f09ed42..d781b35 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/gH-3rd.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/gH-3rd.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="gH-3rd"></span><div class="header">
+<div class="chapter" id="gH-3rd">
+<div class="header">
 <p>
 Next: <a 
href="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls.html"
 accesskey="n" rel="next"><a 
href="http://somewhere_aaa";>http://somewhere_aaa</a> <a href="url">text</a> <a 
href="/man.cgi/1/ls">ls</a></a>, Previous: <a href="indicateurl.html" 
accesskey="p" rel="prev">&lsquo;<code>indicateurl</code>&rsquo;</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="gH-3rd-1"></span><h2 class="chapter">26 <sub>g</sub>H 
3<sup>rd</sup></h2>
+<div class="node" id="gH-3rd-1">
+<h2 class="chapter">26 <sub>g</sub>H 3<sup>rd</sup></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls.html
index d3ff34b..a14b1cd 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls.html
@@ -36,12 +36,14 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls"></span><div
 class="header">
+<div class="chapter" 
id="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls">
+<div class="header">
 <p>
 Previous: <a href="gH-3rd.html" accesskey="p" rel="prev"><sub>g</sub>H 
3<sup>rd</sup></a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> 
&nbsp; </p>
 </div>
 <hr>
-<span 
id="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls-1"></span><h2
 class="chapter">27 <a href="http://somewhere_aaa";>http://somewhere_aaa</a> <a 
href="url">text</a> <a href="/man.cgi/1/ls">ls</a></h2>
+<div class="node" 
id="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls-1">
+<h2 class="chapter">27 <a href="http://somewhere_aaa";>http://somewhere_aaa</a> 
<a href="url">text</a> <a href="/man.cgi/1/ls">ls</a></h2>
 
 <p><a href="-_007b-_007d.html"> { }</a>
 </p>
@@ -97,6 +99,7 @@ Previous: <a href="gH-3rd.html" accesskey="p" 
rel="prev"><sub>g</sub>H 3<sup>rd<
 </p>
 <p><a 
href="#http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls"><a
 href="http://somewhere_aaa";>http://somewhere_aaa</a> <a href="url">text</a> <a 
href="/man.cgi/1/ls">ls</a></a>
 </p>
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/i-E-C.html 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/i-E-C.html
index 3e60ce4..9bb71cf 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/i-E-C.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/i-E-C.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_0131-_1e14-_1e08"></span><div class="header">
+<div class="chapter" id="g_t_0131-_1e14-_1e08">
+<div class="header">
 <p>
 Next: <a href="_201c-_201d-_2018-_2019-_201e-_201a.html" accesskey="n" 
rel="next">&ldquo; &rdquo; &lsquo; &rsquo; &bdquo; &sbquo;</a>, Previous: <a 
href="e-e-e-e-e-j-ee.html" accesskey="p" rel="prev">&#279; &#277; e_ &#7865; 
&#283; j ee[</a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> 
&nbsp; </p>
 </div>
 <hr>
-<span id="i-E-C"></span><h2 class="chapter">12 i &#274;` &#262;,</h2>
+<div class="node" id="i-E-C">
+<h2 class="chapter">12 i &#274;` &#262;,</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/index.html 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/index.html
index 0ff52c3..82ab02a 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/index.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/index.html
@@ -36,12 +36,14 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="-_007b-_007d.html" accesskey="n" rel="next"> { }</a> &nbsp; </p>
 </div>
 <hr>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 
 
 <ul class="section-toc">
@@ -73,11 +75,12 @@ Next: <a href="-_007b-_007d.html" accesskey="n" rel="next"> 
{ }</a> &nbsp; </p>
 <li><a href="gH-3rd.html"><sub>g</sub>H 3<sup>rd</sup></a></li>
 <li><a 
href="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls.html"><a
 href="http://somewhere_aaa";>http://somewhere_aaa</a> <a href="url">text</a> <a 
href="/man.cgi/1/ls">ls</a></a></li>
 </ul>
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="-_007b-_007d.html" accesskey="n" rel="next"> { }</a> &nbsp; </p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/indicateurl.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/indicateurl.html
index 92b9cb8..0c8f97c 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/indicateurl.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/indicateurl.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="indicateurl"></span><div class="header">
+<div class="chapter" id="indicateurl">
+<div class="header">
 <p>
 Next: <a href="gH-3rd.html" accesskey="n" rel="next"><sub>g</sub>H 
3<sup>rd</sup></a>, Previous: <a href="sansserif-slanted.html" accesskey="p" 
rel="prev"><span class="sansserif">sansserif</span> <i>slanted</i></a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="indicateurl-1"></span><h2 class="chapter">25 
&lsquo;<code>indicateurl</code>&rsquo;</h2>
+<div class="node" id="indicateurl-1">
+<h2 class="chapter">25 &lsquo;<code>indicateurl</code>&rsquo;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/sansserif-slanted.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/sansserif-slanted.html
index 65de565..33523b4 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/sansserif-slanted.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/sansserif-slanted.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="sansserif-slanted"></span><div class="header">
+<div class="chapter" id="sansserif-slanted">
+<div class="header">
 <p>
 Next: <a href="indicateurl.html" accesskey="n" 
rel="next">&lsquo;<code>indicateurl</code>&rsquo;</a>, Previous: <a 
href="8_002e27in.html" accesskey="p" rel="prev">8.27in</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="sansserif-slanted-1"></span><h2 class="chapter">24 <span 
class="sansserif">sansserif</span> <i>slanted</i></h2>
+<div class="node" id="sansserif-slanted-1">
+<h2 class="chapter">24 <span class="sansserif">sansserif</span> 
<i>slanted</i></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/someone_0040somewher-no_005fexplain_0040there.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/someone_0040somewher-no_005fexplain_0040there.html
index 47ff328..832873b 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/someone_0040somewher-no_005fexplain_0040there.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_html/someone_0040somewher-no_005fexplain_0040there.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="someone_0040somewher-no_005fexplain_0040there"></span><div 
class="header">
+<div class="chapter" id="someone_0040somewher-no_005fexplain_0040there">
+<div class="header">
 <p>
 Next: <a href="f_002d_002dile1-f_002d_002dile.html" accesskey="n" 
rel="next"><img src="f--ile1.jpg" alt="f--ile1">  <img src="f--ile.png" 
alt="alt"></a>, Previous: <a href="CCC-CCC-DDD.html" accesskey="p" 
rel="prev"><abbr title="rrr">CCC</abbr> (rrr) <abbr title="rrr">CCC</abbr> 
<abbr>DDD</abbr></a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> 
&nbsp; </p>
 </div>
 <hr>
-<span id="someone_0040somewher-no_005fexplain_0040there-1"></span><h2 
class="chapter">18 <a href="mailto:someone@somewher";>the someone</a> <a 
href="mailto:no_explain@there";>no_explain@there</a></h2>
+<div class="node" id="someone_0040somewher-no_005fexplain_0040there-1">
+<h2 class="chapter">18 <a href="mailto:someone@somewher";>the someone</a> <a 
href="mailto:no_explain@there";>no_explain@there</a></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/----_0021---_002e--_002e-_003f-_0040.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/----_0021---_002e--_002e-_003f-_0040.html
index e16c2fa..67ce180 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/----_0021---_002e--_002e-_003f-_0040.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/----_0021---_002e--_002e-_003f-_0040.html
@@ -40,13 +40,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="----_0021---_002e--_002e-_003f-_0040"></span><div class="header">
+<div class="chapter" id="----_0021---_002e--_002e-_003f-_0040">
+<div class="header">
 <p>
 Next: <a href="_0040-_007b-_007d-_005c-_0023.html" accesskey="n" rel="next">@ 
{ } \ #</a>, Previous: <a href="-_007b-_007d.html" accesskey="p" rel="prev"> { 
}</a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="----_0021---_002e--_002e-_003f-_0040-1"></span><h2 class="chapter">2 
&nbsp; &nbsp; ! <br> .  . ? @</h2>
+<div class="node" id="----_0021---_002e--_002e-_003f-_0040-1">
+<h2 class="chapter">2 &nbsp; &nbsp; ! <br> .  . ? @</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/-_0040-_007b_007d-_002e-.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/-_0040-_007b_007d-_002e-.html
index 9ac203e..bfb3462 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/-_0040-_007b_007d-_002e-.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/-_0040-_007b_007d-_002e-.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="-_0040-_007b_007d-_002e-"></span><div class="header">
+<div class="chapter" id="-_0040-_007b_007d-_002e-">
+<div class="header">
 <p>
 Next: <a href="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i.html" 
accesskey="n" rel="next"><cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- 
/@w --> <span class="roman">in r</span> <small>SC</small> <strong>str</strong> 
<tt>t</tt> <var>var</var> <em>dfn</em> <i>i</i></a>, Previous: <a 
href="f_002d_002dile1-f_002d_002dile.html" accesskey="p" rel="prev"><img 
src="f--ile1.jpg" alt="f--ile1">  <img src="f--ile.png" alt="alt"></a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &n [...]
 </div>
 <hr>
-<span id="-_0040-_007b_007d-_002e--1"></span><h2 class="chapter">20 <tt> @ {} 
. </tt></h2>
+<div class="node" id="-_0040-_007b_007d-_002e--1">
+<h2 class="chapter">20 <tt> @ {} . </tt></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/-_007b-_007d.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/-_007b-_007d.html
index bda8ce2..584592d 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/-_007b-_007d.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/-_007b-_007d.html
@@ -38,13 +38,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="-_007b-_007d"></span><div class="header">
+<div class="chapter" id="-_007b-_007d">
+<div class="header">
 <p>
 Next: <a href="----_0021---_002e--_002e-_003f-_0040.html" accesskey="n" 
rel="next">&nbsp; &nbsp; ! <br> .  . ? @</a>, Previous: <a href="index.html" 
accesskey="p" rel="prev">Top</a>, Up: <a href="index.html" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="-_007b-_007d-1"></span><h2 class="chapter">1  { }</h2>
+<div class="node" id="-_007b-_007d-1">
+<h2 class="chapter">1  { }</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/8_002e27in.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/8_002e27in.html
index d71ed9d..db7e900 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/8_002e27in.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/8_002e27in.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t8_002e27in"></span><div class="header">
+<div class="chapter" id="g_t8_002e27in">
+<div class="header">
 <p>
 Next: <a href="sansserif-slanted.html" accesskey="n" rel="next"><span 
class="sansserif">sansserif</span> <i>slanted</i></a>, Previous: <a 
href="env-code-option-samp-command-file-C_002dx-ESC.html" accesskey="p" 
rel="prev"><code>env</code> <code>code</code> <samp>option</samp> 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> <samp>file</samp> <kbd>C-x 
<span class="key">ESC</span></kbd></a>, Up: <a href="index.html" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t8_002e27in-1"></span><h2 class="chapter">23 8.27in</h2>
+<div class="node" id="g_t8_002e27in-1">
+<h2 class="chapter">23 8.27in</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th.html
index 2f2dfdc..1fcc33c 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_00c5-_00e6-_0153-_00c6-_0152-_00f8-_00d8-_00df-_0142-_0141-_00d0-_00f0-_00de-_00fe"></span><div
 class="header">
+<div class="chapter" 
id="g_t_00c5-_00e6-_0153-_00c6-_0152-_00f8-_00d8-_00df-_0142-_0141-_00d0-_00f0-_00de-_00fe">
+<div class="header">
 <p>
 Next: <a href="a-e-i-a-a-e-c-e-e-e-e.html" accesskey="n" rel="next">&auml; 
&#7869; &icirc; &acirc; &agrave; &eacute; &ccedil; &#275; e* e'' &#281;</a>, 
Previous: <a href="_21d2-_00b0-a-b--aa.html" accesskey="p" rel="prev">&rArr; 
&deg; a&nbsp;b a sunny day &aring;</a>, Up: <a href="index.html" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th"></span><h2 class="chapter">9 
&Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; &#322; &#321; 
&ETH; &eth; &THORN; &thorn;</h2>
+<div class="node" id="AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th">
+<h2 class="chapter">9 &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; 
&Oslash; &szlig; &#322; &#321; &ETH; &eth; &THORN; &thorn;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/AAA-AAA-BBB.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/AAA-AAA-BBB.html
index 1c00462..d6cc6e1 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/AAA-AAA-BBB.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/AAA-AAA-BBB.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="AAA-AAA-BBB"></span><div class="header">
+<div class="chapter" id="AAA-AAA-BBB">
+<div class="header">
 <p>
 Next: <a href="CCC-CCC-DDD.html" accesskey="n" rel="next"><abbr 
title="rrr">CCC</abbr> (rrr) <abbr title="rrr">CCC</abbr> <abbr>DDD</abbr></a>, 
Previous: <a 
href="_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027.html" 
accesskey="p" rel="prev">&ldquo; &rdquo; &mdash; &ndash; &lsquo; &rsquo;</a>, 
Up: <a href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="AAA-AAA-BBB-1"></span><h2 class="chapter">16 <acronym 
title="fff">AAA</acronym> (fff) <acronym title="fff">AAA</acronym> 
<acronym>BBB</acronym></h2>
+<div class="node" id="AAA-AAA-BBB-1">
+<h2 class="chapter">16 <acronym title="fff">AAA</acronym> (fff) <acronym 
title="fff">AAA</acronym> <acronym>BBB</acronym></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/CCC-CCC-DDD.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/CCC-CCC-DDD.html
index bf9cb78..4325eb4 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/CCC-CCC-DDD.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/CCC-CCC-DDD.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="CCC-CCC-DDD"></span><div class="header">
+<div class="chapter" id="CCC-CCC-DDD">
+<div class="header">
 <p>
 Next: <a href="someone_0040somewher-no_005fexplain_0040there.html" 
accesskey="n" rel="next"><a href="mailto:someone@somewher";>the someone</a> <a 
href="mailto:no_explain@there";>no_explain@there</a></a>, Previous: <a 
href="AAA-AAA-BBB.html" accesskey="p" rel="prev"><acronym 
title="fff">AAA</acronym> (fff) <acronym title="fff">AAA</acronym> 
<acronym>BBB</acronym></a>, Up: <a href="index.html" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="CCC-CCC-DDD-1"></span><h2 class="chapter">17 <abbr 
title="rrr">CCC</abbr> (rrr) <abbr title="rrr">CCC</abbr> <abbr>DDD</abbr></h2>
+<div class="node" id="CCC-CCC-DDD-1">
+<h2 class="chapter">17 <abbr title="rrr">CCC</abbr> (rrr) <abbr 
title="rrr">CCC</abbr> <abbr>DDD</abbr></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e.html
index c1a52f4..46341ab 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e"></span><div 
class="header">
+<div class="chapter" id="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e">
+<div class="header">
 <p>
 Next: <a href="_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212.html" 
accesskey="n" rel="next">&equiv; error&rarr; &euro; &iexcl; &rarr; -</a>, 
Previous: <a href="_0040-_007b-_007d-_005c-_0023.html" accesskey="p" 
rel="prev">@ { } \ #</a>, Up: <a href="index.html" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e-1"></span><h2 
class="chapter">4 LaTeX TeX &bull; , &copy; &hellip; <small 
class="enddots">...</small></h2>
+<div class="node" id="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e-1">
+<h2 class="chapter">4 LaTeX TeX &bull; , &copy; &hellip; <small 
class="enddots">...</small></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_0040-_007b-_007d-_005c-_0023.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_0040-_007b-_007d-_005c-_0023.html
index fddecf9..cdc3537 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_0040-_007b-_007d-_005c-_0023.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_0040-_007b-_007d-_005c-_0023.html
@@ -38,13 +38,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_0040-_007b-_007d-_005c-_0023"></span><div class="header">
+<div class="chapter" id="g_t_0040-_007b-_007d-_005c-_0023">
+<div class="header">
 <p>
 Next: <a href="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e.html" 
accesskey="n" rel="next">LaTeX TeX &bull; , &copy; &hellip; <small 
class="enddots">...</small></a>, Previous: <a 
href="----_0021---_002e--_002e-_003f-_0040.html" accesskey="p" 
rel="prev">&nbsp; &nbsp; ! <br> .  . ? @</a>, Up: <a href="index.html" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t_0040-_007b-_007d-_005c-_0023-1"></span><h2 class="chapter">3 @ { 
} \ #</h2>
+<div class="node" id="g_t_0040-_007b-_007d-_005c-_0023-1">
+<h2 class="chapter">3 @ { } \ #</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027.html
index 7d6a6a2..f5bd543 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027"></span><div
 class="header">
+<div class="chapter" 
id="g_t_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027">
+<div class="header">
 <p>
 Next: <a href="AAA-AAA-BBB.html" accesskey="n" rel="next"><acronym 
title="fff">AAA</acronym> (fff) <acronym title="fff">AAA</acronym> 
<acronym>BBB</acronym></a>, Previous: <a 
href="_00ab-_00bb-_00ab-_00bb-_2039-_203a.html" accesskey="p" 
rel="prev">&laquo; &raquo; &laquo; &raquo; &lsaquo; &rsaquo;</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span 
id="g_t_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027-1"></span><h2
 class="chapter">15 &ldquo; &rdquo; &mdash; &ndash; &lsquo; &rsquo;</h2>
+<div class="node" 
id="g_t_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027-1">
+<h2 class="chapter">15 &ldquo; &rdquo; &mdash; &ndash; &lsquo; &rsquo;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae.html
index ac7370b..4ecca42 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae"></span><div 
class="header">
+<div class="chapter" id="g_t_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae">
+<div class="header">
 <p>
 Next: <a href="_21d2-_00b0-a-b--aa.html" accesskey="n" rel="next">&rArr; &deg; 
a&nbsp;b a sunny day &aring;</a>, Previous: <a href="_2265-_2264-_2192.html" 
accesskey="p" rel="prev">&ge; &le; &rarr;</a>, Up: <a href="index.html" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae-1"></span><h2 
class="chapter">7 &ordf; &ordm; &lowast; &pound; -| &iquest; &reg;</h2>
+<div class="node" id="g_t_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae-1">
+<h2 class="chapter">7 &ordf; &ordm; &lowast; &pound; -| &iquest; &reg;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_00ab-_00bb-_00ab-_00bb-_2039-_203a.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_00ab-_00bb-_00ab-_00bb-_2039-_203a.html
index bed5644..77f0f33 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_00ab-_00bb-_00ab-_00bb-_2039-_203a.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_00ab-_00bb-_00ab-_00bb-_2039-_203a.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_00ab-_00bb-_00ab-_00bb-_2039-_203a"></span><div class="header">
+<div class="chapter" id="g_t_00ab-_00bb-_00ab-_00bb-_2039-_203a">
+<div class="header">
 <p>
 Next: <a 
href="_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d-_0060-_0027.html" 
accesskey="n" rel="next">&ldquo; &rdquo; &mdash; &ndash; &lsquo; &rsquo;</a>, 
Previous: <a href="_201c-_201d-_2018-_2019-_201e-_201a.html" accesskey="p" 
rel="prev">&ldquo; &rdquo; &lsquo; &rsquo; &bdquo; &sbquo;</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t_00ab-_00bb-_00ab-_00bb-_2039-_203a-1"></span><h2 
class="chapter">14 &laquo; &raquo; &laquo; &raquo; &lsaquo; &rsaquo;</h2>
+<div class="node" id="g_t_00ab-_00bb-_00ab-_00bb-_2039-_203a-1">
+<h2 class="chapter">14 &laquo; &raquo; &laquo; &raquo; &lsaquo; &rsaquo;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_201c-_201d-_2018-_2019-_201e-_201a.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_201c-_201d-_2018-_2019-_201e-_201a.html
index d37aa93..d334d9f 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_201c-_201d-_2018-_2019-_201e-_201a.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_201c-_201d-_2018-_2019-_201e-_201a.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_201c-_201d-_2018-_2019-_201e-_201a"></span><div class="header">
+<div class="chapter" id="g_t_201c-_201d-_2018-_2019-_201e-_201a">
+<div class="header">
 <p>
 Next: <a href="_00ab-_00bb-_00ab-_00bb-_2039-_203a.html" accesskey="n" 
rel="next">&laquo; &raquo; &laquo; &raquo; &lsaquo; &rsaquo;</a>, Previous: <a 
href="i-E-C.html" accesskey="p" rel="prev">i &#274;` &#262;,</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t_201c-_201d-_2018-_2019-_201e-_201a-1"></span><h2 
class="chapter">13 &ldquo; &rdquo; &lsquo; &rsquo; &bdquo; &sbquo;</h2>
+<div class="node" id="g_t_201c-_201d-_2018-_2019-_201e-_201a-1">
+<h2 class="chapter">13 &ldquo; &rdquo; &lsquo; &rsquo; &bdquo; &sbquo;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_21d2-_00b0-a-b--aa.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_21d2-_00b0-a-b--aa.html
index d649627..b5bde1d 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_21d2-_00b0-a-b--aa.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_21d2-_00b0-a-b--aa.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_21d2-_00b0-a-b--_00e5"></span><div class="header">
+<div class="chapter" id="g_t_21d2-_00b0-a-b--_00e5">
+<div class="header">
 <p>
 Next: <a href="AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th.html" accesskey="n" 
rel="next">&Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH; &eth; &THORN; &thorn;</a>, Previous: <a 
href="_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae.html" accesskey="p" 
rel="prev">&ordf; &ordm; &lowast; &pound; -| &iquest; &reg;</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t_21d2-_00b0-a-b--aa"></span><h2 class="chapter">8 &rArr; &deg; 
a&nbsp;b a sunny day &aring;</h2>
+<div class="node" id="g_t_21d2-_00b0-a-b--aa">
+<h2 class="chapter">8 &rArr; &deg; a&nbsp;b a sunny day &aring;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212.html
index 6716cc3..ba6b4f5 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212"></span><div 
class="header">
+<div class="chapter" 
id="g_t_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212">
+<div class="header">
 <p>
 Next: <a href="_2265-_2264-_2192.html" accesskey="n" rel="next">&ge; &le; 
&rarr;</a>, Previous: <a 
href="LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e.html" accesskey="p" 
rel="prev">LaTeX TeX &bull; , &copy; &hellip; <small 
class="enddots">...</small></a>, Up: <a href="index.html" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212-1"></span><h2 
class="chapter">5 &equiv; error&rarr; &euro; &iexcl; &rarr; -</h2>
+<div class="node" id="g_t_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212-1">
+<h2 class="chapter">5 &equiv; error&rarr; &euro; &iexcl; &rarr; -</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_2265-_2264-_2192.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_2265-_2264-_2192.html
index 7a71c09..f87374f 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_2265-_2264-_2192.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/_2265-_2264-_2192.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_2265-_2264-_2192"></span><div class="header">
+<div class="chapter" id="g_t_2265-_2264-_2192">
+<div class="header">
 <p>
 Next: <a href="_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae.html" accesskey="n" 
rel="next">&ordf; &ordm; &lowast; &pound; -| &iquest; &reg;</a>, Previous: <a 
href="_2261-error_002d_002d_003e-_20ac-_00a1-_21a6-_2212.html" accesskey="p" 
rel="prev">&equiv; error&rarr; &euro; &iexcl; &rarr; -</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="g_t_2265-_2264-_2192-1"></span><h2 class="chapter">6 &ge; &le; 
&rarr;</h2>
+<div class="node" id="g_t_2265-_2264-_2192-1">
+<h2 class="chapter">6 &ge; &le; &rarr;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/a-e-i-a-a-e-c-e-e-e-e.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/a-e-i-a-a-e-c-e-e-e-e.html
index aa82c1d..c2a4d9c 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/a-e-i-a-a-e-c-e-e-e-e.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/a-e-i-a-a-e-c-e-e-e-e.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_00e4-_1ebd-_00ee-_00e2-_00e0-_00e9-_00e7-_0113-e_030a-e_030b-_0119"></span><div
 class="header">
+<div class="chapter" 
id="g_t_00e4-_1ebd-_00ee-_00e2-_00e0-_00e9-_00e7-_0113-e_030a-e_030b-_0119">
+<div class="header">
 <p>
 Next: <a href="e-e-e-e-e-j-ee.html" accesskey="n" rel="next">&#279; &#277; e_ 
&#7865; &#283; j ee[</a>, Previous: <a 
href="AA-ae-oe-AE-OE-o-O-ss-l-L-D-d-TH-th.html" accesskey="p" 
rel="prev">&Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH; &eth; &THORN; &thorn;</a>, Up: <a href="index.html" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="a-e-i-a-a-e-c-e-e-e-e"></span><h2 class="chapter">10 &auml; &#7869; 
&icirc; &acirc; &agrave; &eacute; &ccedil; &#275; e* e'' &#281;</h2>
+<div class="node" id="a-e-i-a-a-e-c-e-e-e-e">
+<h2 class="chapter">10 &auml; &#7869; &icirc; &acirc; &agrave; &eacute; 
&ccedil; &#275; e* e'' &#281;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i.html
index f2179a7..caf5960 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i"></span><div 
class="header">
+<div class="chapter" id="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i">
+<div class="header">
 <p>
 Next: <a href="env-code-option-samp-command-file-C_002dx-ESC.html" 
accesskey="n" rel="next"><code>env</code> <code>code</code> <samp>option</samp> 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> <samp>file</samp> <kbd>C-x 
<span class="key">ESC</span></kbd></a>, Previous: <a 
href="-_0040-_007b_007d-_002e-.html" accesskey="p" rel="prev"><tt> @ {} . 
</tt></a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i-1"></span><h2 
class="chapter">21 <cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- /@w --> 
<span class="roman">in r</span> <small>SC</small> <strong>str</strong> 
<tt>t</tt> <var>var</var> <em>dfn</em> <i>i</i></h2>
+<div class="node" id="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i-1">
+<h2 class="chapter">21 <cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- /@w 
--> <span class="roman">in r</span> <small>SC</small> <strong>str</strong> 
<tt>t</tt> <var>var</var> <em>dfn</em> <i>i</i></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/e-e-e-e-e-j-ee.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/e-e-e-e-e-j-ee.html
index 1fbdbb7..352f6a8 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/e-e-e-e-e-j-ee.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/e-e-e-e-e-j-ee.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_0117-_0115-e_0332-_1eb9-_011b-j-ee_0361"></span><div 
class="header">
+<div class="chapter" id="g_t_0117-_0115-e_0332-_1eb9-_011b-j-ee_0361">
+<div class="header">
 <p>
 Next: <a href="i-E-C.html" accesskey="n" rel="next">i &#274;` &#262;,</a>, 
Previous: <a href="a-e-i-a-a-e-c-e-e-e-e.html" accesskey="p" rel="prev">&auml; 
&#7869; &icirc; &acirc; &agrave; &eacute; &ccedil; &#275; e* e'' &#281;</a>, 
Up: <a href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="e-e-e-e-e-j-ee"></span><h2 class="chapter">11 &#279; &#277; e_ 
&#7865; &#283; j ee[</h2>
+<div class="node" id="e-e-e-e-e-j-ee">
+<h2 class="chapter">11 &#279; &#277; e_ &#7865; &#283; j ee[</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/env-code-option-samp-command-file-C_002dx-ESC.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/env-code-option-samp-command-file-C_002dx-ESC.html
index 0808c2c..9ce7223 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/env-code-option-samp-command-file-C_002dx-ESC.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/env-code-option-samp-command-file-C_002dx-ESC.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="env-code-option-samp-command-file-C_002dx-ESC"></span><div 
class="header">
+<div class="chapter" id="env-code-option-samp-command-file-C_002dx-ESC">
+<div class="header">
 <p>
 Next: <a href="8_002e27in.html" accesskey="n" rel="next">8.27in</a>, Previous: 
<a href="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i.html" accesskey="p" 
rel="prev"><cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- /@w --> <span 
class="roman">in r</span> <small>SC</small> <strong>str</strong> <tt>t</tt> 
<var>var</var> <em>dfn</em> <i>i</i></a>, Up: <a href="index.html" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="env-code-option-samp-command-file-C_002dx-ESC-1"></span><h2 
class="chapter">22 <code>env</code> <code>code</code> <samp>option</samp> 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> <samp>file</samp> <kbd>C-x 
<span class="key">ESC</span></kbd></h2>
+<div class="node" id="env-code-option-samp-command-file-C_002dx-ESC-1">
+<h2 class="chapter">22 <code>env</code> <code>code</code> <samp>option</samp> 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> <samp>file</samp> <kbd>C-x 
<span class="key">ESC</span></kbd></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/f_002d_002dile1-f_002d_002dile.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/f_002d_002dile1-f_002d_002dile.html
index 5ad577e..dd800cc 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/f_002d_002dile1-f_002d_002dile.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/f_002d_002dile1-f_002d_002dile.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="f_002d_002dile1-f_002d_002dile"></span><div class="header">
+<div class="chapter" id="f_002d_002dile1-f_002d_002dile">
+<div class="header">
 <p>
 Next: <a href="-_0040-_007b_007d-_002e-.html" accesskey="n" rel="next"><tt> @ 
{} . </tt></a>, Previous: <a 
href="someone_0040somewher-no_005fexplain_0040there.html" accesskey="p" 
rel="prev"><a href="mailto:someone@somewher";>the someone</a> <a 
href="mailto:no_explain@there";>no_explain@there</a></a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="f_002d_002dile1-f_002d_002dile-1"></span><h2 class="chapter">19 <img 
src="f--ile1.jpg" alt="f--ile1">  <img src="f--ile.png" alt="alt"></h2>
+<div class="node" id="f_002d_002dile1-f_002d_002dile-1">
+<h2 class="chapter">19 <img src="f--ile1.jpg" alt="f--ile1">  <img 
src="f--ile.png" alt="alt"></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/gH-3rd.html 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/gH-3rd.html
index 3ca8a12..b275384 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/gH-3rd.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/gH-3rd.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="gH-3rd"></span><div class="header">
+<div class="chapter" id="gH-3rd">
+<div class="header">
 <p>
 Next: <a 
href="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls.html"
 accesskey="n" rel="next"><a 
href="http://somewhere_aaa";>http://somewhere_aaa</a> <a href="url">text</a> <a 
href="/man.cgi/1/ls">ls</a></a>, Previous: <a href="indicateurl.html" 
accesskey="p" rel="prev">&lsquo;<code>indicateurl</code>&rsquo;</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="gH-3rd-1"></span><h2 class="chapter">26 <sub>g</sub>H 
3<sup>rd</sup></h2>
+<div class="node" id="gH-3rd-1">
+<h2 class="chapter">26 <sub>g</sub>H 3<sup>rd</sup></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls.html
index d6aaa7a..7377a11 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls.html
@@ -36,12 +36,14 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls"></span><div
 class="header">
+<div class="chapter" 
id="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls">
+<div class="header">
 <p>
 Previous: <a href="gH-3rd.html" accesskey="p" rel="prev"><sub>g</sub>H 
3<sup>rd</sup></a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> 
&nbsp; </p>
 </div>
 <hr>
-<span 
id="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls-1"></span><h2
 class="chapter">27 <a href="http://somewhere_aaa";>http://somewhere_aaa</a> <a 
href="url">text</a> <a href="/man.cgi/1/ls">ls</a></h2>
+<div class="node" 
id="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls-1">
+<h2 class="chapter">27 <a href="http://somewhere_aaa";>http://somewhere_aaa</a> 
<a href="url">text</a> <a href="/man.cgi/1/ls">ls</a></h2>
 
 <p><a href="-_007b-_007d.html"> { }</a>
 </p>
@@ -97,6 +99,7 @@ Previous: <a href="gH-3rd.html" accesskey="p" 
rel="prev"><sub>g</sub>H 3<sup>rd<
 </p>
 <p><a 
href="#http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls"><a
 href="http://somewhere_aaa";>http://somewhere_aaa</a> <a href="url">text</a> <a 
href="/man.cgi/1/ls">ls</a></a>
 </p>
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/i-E-C.html 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/i-E-C.html
index 90f1fff..daf98da 100644
--- a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/i-E-C.html
+++ b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/i-E-C.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_0131-_1e14-_1e08"></span><div class="header">
+<div class="chapter" id="g_t_0131-_1e14-_1e08">
+<div class="header">
 <p>
 Next: <a href="_201c-_201d-_2018-_2019-_201e-_201a.html" accesskey="n" 
rel="next">&ldquo; &rdquo; &lsquo; &rsquo; &bdquo; &sbquo;</a>, Previous: <a 
href="e-e-e-e-e-j-ee.html" accesskey="p" rel="prev">&#279; &#277; e_ &#7865; 
&#283; j ee[</a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> 
&nbsp; </p>
 </div>
 <hr>
-<span id="i-E-C"></span><h2 class="chapter">12 i &#274;` &#262;,</h2>
+<div class="node" id="i-E-C">
+<h2 class="chapter">12 i &#274;` &#262;,</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/index.html 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/index.html
index 61197ae..44685a9 100644
--- a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/index.html
+++ b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/index.html
@@ -36,12 +36,14 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="-_007b-_007d.html" accesskey="n" rel="next"> { }</a> &nbsp; </p>
 </div>
 <hr>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 
 
 <ul class="section-toc">
@@ -73,11 +75,12 @@ Next: <a href="-_007b-_007d.html" accesskey="n" rel="next"> 
{ }</a> &nbsp; </p>
 <li><a href="gH-3rd.html"><sub>g</sub>H 3<sup>rd</sup></a></li>
 <li><a 
href="http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls.html"><a
 href="http://somewhere_aaa";>http://somewhere_aaa</a> <a href="url">text</a> <a 
href="/man.cgi/1/ls">ls</a></a></li>
 </ul>
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="-_007b-_007d.html" accesskey="n" rel="next"> { }</a> &nbsp; </p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/indicateurl.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/indicateurl.html
index 3f044ce..0427fb5 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/indicateurl.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/indicateurl.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="indicateurl"></span><div class="header">
+<div class="chapter" id="indicateurl">
+<div class="header">
 <p>
 Next: <a href="gH-3rd.html" accesskey="n" rel="next"><sub>g</sub>H 
3<sup>rd</sup></a>, Previous: <a href="sansserif-slanted.html" accesskey="p" 
rel="prev"><span class="sansserif">sansserif</span> <i>slanted</i></a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="indicateurl-1"></span><h2 class="chapter">25 
&lsquo;<code>indicateurl</code>&rsquo;</h2>
+<div class="node" id="indicateurl-1">
+<h2 class="chapter">25 &lsquo;<code>indicateurl</code>&rsquo;</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/sansserif-slanted.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/sansserif-slanted.html
index 23c6e0f..68f4a85 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/sansserif-slanted.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/sansserif-slanted.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="sansserif-slanted"></span><div class="header">
+<div class="chapter" id="sansserif-slanted">
+<div class="header">
 <p>
 Next: <a href="indicateurl.html" accesskey="n" 
rel="next">&lsquo;<code>indicateurl</code>&rsquo;</a>, Previous: <a 
href="8_002e27in.html" accesskey="p" rel="prev">8.27in</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
-<span id="sansserif-slanted-1"></span><h2 class="chapter">24 <span 
class="sansserif">sansserif</span> <i>slanted</i></h2>
+<div class="node" id="sansserif-slanted-1">
+<h2 class="chapter">24 <span class="sansserif">sansserif</span> 
<i>slanted</i></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/someone_0040somewher-no_005fexplain_0040there.html
 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/someone_0040somewher-no_005fexplain_0040there.html
index 33cb664..b6468d5 100644
--- 
a/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/someone_0040somewher-no_005fexplain_0040there.html
+++ 
b/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_html/someone_0040somewher-no_005fexplain_0040there.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="someone_0040somewher-no_005fexplain_0040there"></span><div 
class="header">
+<div class="chapter" id="someone_0040somewher-no_005fexplain_0040there">
+<div class="header">
 <p>
 Next: <a href="f_002d_002dile1-f_002d_002dile.html" accesskey="n" 
rel="next"><img src="f--ile1.jpg" alt="f--ile1">  <img src="f--ile.png" 
alt="alt"></a>, Previous: <a href="CCC-CCC-DDD.html" accesskey="p" 
rel="prev"><abbr title="rrr">CCC</abbr> (rrr) <abbr title="rrr">CCC</abbr> 
<abbr>DDD</abbr></a>, Up: <a href="index.html" accesskey="u" rel="up">Top</a> 
&nbsp; </p>
 </div>
 <hr>
-<span id="someone_0040somewher-no_005fexplain_0040there-1"></span><h2 
class="chapter">18 <a href="mailto:someone@somewher";>the someone</a> <a 
href="mailto:no_explain@there";>no_explain@there</a></h2>
+<div class="node" id="someone_0040somewher-no_005fexplain_0040there-1">
+<h2 class="chapter">18 <a href="mailto:someone@somewher";>the someone</a> <a 
href="mailto:no_explain@there";>no_explain@there</a></h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/a-e-i-o-u-A-E-I-O-U.html
 
b/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/a-e-i-o-u-A-E-I-O-U.html
index d29f10f..0bdccc8 100644
--- 
a/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/a-e-i-o-u-A-E-I-O-U.html
+++ 
b/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/a-e-i-o-u-A-E-I-O-U.html
@@ -38,13 +38,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_00e2-_00ea-_00ee-_00f4-_00fb-_00c2-_00ca-_00ce-_00d4-_00db"></span><div 
class="header">
+<div class="chapter" 
id="g_t_00e2-_00ea-_00ee-_00f4-_00fb-_00c2-_00ca-_00ce-_00d4-_00db">
+<div class="header">
 <p>
 Next: <a href="c.html" accesskey="n" rel="next">�</a>, Previous: <a 
href="a-e-u.html" accesskey="p" rel="prev">� � �</a>, Up: <a href="index.html" 
accesskey="u" rel="up">top</a> &nbsp; [<a href="index.html" title="Index" 
rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="a-e-i-o-u-A-E-I-O-U"></span><h2 class="chapter">4 � � � � � � � � � 
�</h2>
+<div class="node" id="a-e-i-o-u-A-E-I-O-U">
+<h2 class="chapter">4 � � � � � � � � � �</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/a-e-i-o-u-y-A-E-I-O-U.html
 
b/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/a-e-i-o-u-y-A-E-I-O-U.html
index f1d81ea..51c5121c 100644
--- 
a/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/a-e-i-o-u-y-A-E-I-O-U.html
+++ 
b/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/a-e-i-o-u-y-A-E-I-O-U.html
@@ -38,13 +38,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_00e4-_00eb-_00ef-_00f6-_00fc-_00ff-_00c4-_00cb-_00cf-_00d6-_00dc"></span><div
 class="header">
+<div class="chapter" 
id="g_t_00e4-_00eb-_00ef-_00f6-_00fc-_00ff-_00c4-_00cb-_00cf-_00d6-_00dc">
+<div class="header">
 <p>
 Next: <a href="e.html" accesskey="n" rel="next">�</a>, Previous: <a 
href="index.html" accesskey="p" rel="prev">top</a>, Up: <a href="index.html" 
accesskey="u" rel="up">top</a> &nbsp; [<a href="index.html" title="Index" 
rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="a-e-i-o-u-y-A-E-I-O-U"></span><h2 class="chapter">1 � � � � � � � � 
� � �</h2>
+<div class="node" id="a-e-i-o-u-y-A-E-I-O-U">
+<h2 class="chapter">1 � � � � � � � � � � �</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/a-e-u.html 
b/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/a-e-u.html
index 3eaa300..d22c8f5 100644
--- 
a/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/a-e-u.html
+++ 
b/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/a-e-u.html
@@ -38,13 +38,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_00e0-_00e8-_00f9"></span><div class="header">
+<div class="chapter" id="g_t_00e0-_00e8-_00f9">
+<div class="header">
 <p>
 Next: <a href="a-e-i-o-u-A-E-I-O-U.html" accesskey="n" rel="next">� � � � � � 
� � � �</a>, Previous: <a href="e.html" accesskey="p" rel="prev">�</a>, Up: <a 
href="index.html" accesskey="u" rel="up">top</a> &nbsp; [<a href="index.html" 
title="Index" rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="a-e-u"></span><h2 class="chapter">3 � � �</h2>
+<div class="node" id="a-e-u">
+<h2 class="chapter">3 � � �</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/c.html 
b/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/c.html
index fee6f92..a6173e5 100644
--- a/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/c.html
+++ b/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/c.html
@@ -37,12 +37,14 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_00e7"></span><div class="header">
+<div class="chapter" id="g_t_00e7">
+<div class="header">
 <p>
 Previous: <a href="a-e-i-o-u-A-E-I-O-U.html" accesskey="p" rel="prev">� � � � 
� � � � � �</a>, Up: <a href="index.html" accesskey="u" rel="up">top</a> &nbsp; 
[<a href="index.html" title="Index" rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="c"></span><h2 class="chapter">5 �</h2>
+<div class="node" id="c">
+<h2 class="chapter">5 �</h2>
 
 <p><a href="a-e-i-o-u-y-A-E-I-O-U.html">� � � � � � � � � � �</a>
 <a href="e.html">�</a>
@@ -57,6 +59,7 @@ Previous: <a href="a-e-i-o-u-A-E-I-O-U.html" accesskey="p" 
rel="prev">
 <span id="index-a-e-i-o-u-A-E-I-O-U"></span>
 <span id="index-c"></span>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/e.html 
b/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/e.html
index 5ada2e7..5d8ef33 100644
--- a/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/e.html
+++ b/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/e.html
@@ -38,13 +38,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_00e9"></span><div class="header">
+<div class="chapter" id="g_t_00e9">
+<div class="header">
 <p>
 Next: <a href="a-e-u.html" accesskey="n" rel="next">� � �</a>, Previous: <a 
href="a-e-i-o-u-y-A-E-I-O-U.html" accesskey="p" rel="prev">� � � � � � � � � � 
�</a>, Up: <a href="index.html" accesskey="u" rel="up">top</a> &nbsp; [<a 
href="index.html" title="Index" rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="e"></span><h2 class="chapter">2 �</h2>
+<div class="node" id="e">
+<h2 class="chapter">2 �</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/index.html 
b/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/index.html
index 7b6c0cc..f17d9f5 100644
--- 
a/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/index.html
+++ 
b/tp/t/results/converters_tests/char_latin1_latin1_in_refs/res_html/index.html
@@ -38,12 +38,14 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="a-e-i-o-u-y-A-E-I-O-U.html" accesskey="n" rel="next">� � � � � 
� � � � � �</a> &nbsp; [<a href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Top_cp_letter-�"><b>�</b></a>
  &nbsp; 
@@ -96,11 +98,12 @@ Next: <a href="a-e-i-o-u-y-A-E-I-O-U.html" accesskey="n" 
rel="next">
 <li><a href="a-e-i-o-u-A-E-I-O-U.html" accesskey="4">� � � � � � � � � 
�</a></li>
 <li><a href="c.html" accesskey="5">�</a></li>
 </ul>
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="a-e-i-o-u-y-A-E-I-O-U.html" accesskey="n" rel="next">� � � � � 
� � � � � �</a> &nbsp; [<a href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/a-e-i-o-u-A-E-I-O-U.html
 
b/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/a-e-i-o-u-A-E-I-O-U.html
index 572ef51..c1ad041 100644
--- 
a/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/a-e-i-o-u-A-E-I-O-U.html
+++ 
b/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/a-e-i-o-u-A-E-I-O-U.html
@@ -38,13 +38,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_00e2-_00ea-_00ee-_00f4-_00fb-_00c2-_00ca-_00ce-_00d4-_00db"></span><div 
class="header">
+<div class="chapter" 
id="g_t_00e2-_00ea-_00ee-_00f4-_00fb-_00c2-_00ca-_00ce-_00d4-_00db">
+<div class="header">
 <p>
 Next: <a href="c.html" accesskey="n" rel="next">ç</a>, Previous: <a 
href="a-e-u.html" accesskey="p" rel="prev">à è ù</a>, Up: <a href="index.html" 
accesskey="u" rel="up">top</a> &nbsp; [<a href="index.html" title="Index" 
rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="a-e-i-o-u-A-E-I-O-U"></span><h2 class="chapter">4 â ê î ô û Â Ê Î Ô 
Û</h2>
+<div class="node" id="a-e-i-o-u-A-E-I-O-U">
+<h2 class="chapter">4 â ê î ô û Â Ê Î Ô Û</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/a-e-i-o-u-y-A-E-I-O-U.html
 
b/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/a-e-i-o-u-y-A-E-I-O-U.html
index 3a5d24b..66ecca6 100644
--- 
a/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/a-e-i-o-u-y-A-E-I-O-U.html
+++ 
b/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/a-e-i-o-u-y-A-E-I-O-U.html
@@ -38,13 +38,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_00e4-_00eb-_00ef-_00f6-_00fc-_00ff-_00c4-_00cb-_00cf-_00d6-_00dc"></span><div
 class="header">
+<div class="chapter" 
id="g_t_00e4-_00eb-_00ef-_00f6-_00fc-_00ff-_00c4-_00cb-_00cf-_00d6-_00dc">
+<div class="header">
 <p>
 Next: <a href="e.html" accesskey="n" rel="next">é</a>, Previous: <a 
href="index.html" accesskey="p" rel="prev">top</a>, Up: <a href="index.html" 
accesskey="u" rel="up">top</a> &nbsp; [<a href="index.html" title="Index" 
rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="a-e-i-o-u-y-A-E-I-O-U"></span><h2 class="chapter">1 ä ë ï ö ü ÿ Ä Ë 
Ï Ö Ü</h2>
+<div class="node" id="a-e-i-o-u-y-A-E-I-O-U">
+<h2 class="chapter">1 ä ë ï ö ü ÿ Ä Ë Ï Ö Ü</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/a-e-u.html 
b/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/a-e-u.html
index 14c18c4..3624188 100644
--- a/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/a-e-u.html
+++ b/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/a-e-u.html
@@ -38,13 +38,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_00e0-_00e8-_00f9"></span><div class="header">
+<div class="chapter" id="g_t_00e0-_00e8-_00f9">
+<div class="header">
 <p>
 Next: <a href="a-e-i-o-u-A-E-I-O-U.html" accesskey="n" rel="next">â ê î ô û Â 
Ê Î Ô Û</a>, Previous: <a href="e.html" accesskey="p" rel="prev">é</a>, Up: <a 
href="index.html" accesskey="u" rel="up">top</a> &nbsp; [<a href="index.html" 
title="Index" rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="a-e-u"></span><h2 class="chapter">3 à è ù</h2>
+<div class="node" id="a-e-u">
+<h2 class="chapter">3 à è ù</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/c.html 
b/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/c.html
index 1215234..8608a4e 100644
--- a/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/c.html
+++ b/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/c.html
@@ -37,12 +37,14 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_00e7"></span><div class="header">
+<div class="chapter" id="g_t_00e7">
+<div class="header">
 <p>
 Previous: <a href="a-e-i-o-u-A-E-I-O-U.html" accesskey="p" rel="prev">â ê î ô 
û Â Ê Î Ô Û</a>, Up: <a href="index.html" accesskey="u" rel="up">top</a> &nbsp; 
[<a href="index.html" title="Index" rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="c"></span><h2 class="chapter">5 ç</h2>
+<div class="node" id="c">
+<h2 class="chapter">5 ç</h2>
 
 <p><a href="a-e-i-o-u-y-A-E-I-O-U.html">ä ë ï ö ü ÿ Ä Ë Ï Ö Ü</a>
 <a href="e.html">é</a>
@@ -57,6 +59,7 @@ Previous: <a href="a-e-i-o-u-A-E-I-O-U.html" accesskey="p" 
rel="prev">â ê î 
 <span id="index-a-e-i-o-u-A-E-I-O-U"></span>
 <span id="index-c"></span>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/e.html 
b/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/e.html
index 4e83e2e..567f683 100644
--- a/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/e.html
+++ b/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/e.html
@@ -38,13 +38,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_00e9"></span><div class="header">
+<div class="chapter" id="g_t_00e9">
+<div class="header">
 <p>
 Next: <a href="a-e-u.html" accesskey="n" rel="next">à è ù</a>, Previous: <a 
href="a-e-i-o-u-y-A-E-I-O-U.html" accesskey="p" rel="prev">ä ë ï ö ü ÿ Ä Ë Ï Ö 
Ü</a>, Up: <a href="index.html" accesskey="u" rel="up">top</a> &nbsp; [<a 
href="index.html" title="Index" rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="e"></span><h2 class="chapter">2 é</h2>
+<div class="node" id="e">
+<h2 class="chapter">2 é</h2>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/index.html 
b/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/index.html
index 5aee523..4925179 100644
--- a/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/index.html
+++ b/tp/t/results/converters_tests/char_latin1_utf8_in_refs/res_html/index.html
@@ -38,12 +38,14 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="a-e-i-o-u-y-A-E-I-O-U.html" accesskey="n" rel="next">ä ë ï ö ü 
ÿ Ä Ë Ï Ö Ü</a> &nbsp; [<a href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Top_cp_letter-Â"><b>Â</b></a>
  &nbsp; 
@@ -96,11 +98,12 @@ Next: <a href="a-e-i-o-u-y-A-E-I-O-U.html" accesskey="n" 
rel="next">ä ë ï ö
 <li><a href="a-e-i-o-u-A-E-I-O-U.html" accesskey="4">â ê î ô û Â Ê Î Ô 
Û</a></li>
 <li><a href="c.html" accesskey="5">ç</a></li>
 </ul>
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="a-e-i-o-u-y-A-E-I-O-U.html" accesskey="n" rel="next">ä ë ï ö ü 
ÿ Ä Ë Ï Ö Ü</a> &nbsp; [<a href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/char_latin2_latin2_in_refs/res_html/A-a-_002c-E-e.html
 
b/tp/t/results/converters_tests/char_latin2_latin2_in_refs/res_html/A-a-_002c-E-e.html
index d75a909..3491511 100644
--- 
a/tp/t/results/converters_tests/char_latin2_latin2_in_refs/res_html/A-a-_002c-E-e.html
+++ 
b/tp/t/results/converters_tests/char_latin2_latin2_in_refs/res_html/A-a-_002c-E-e.html
@@ -37,15 +37,18 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_0104-_0105-_02db-_0118-_0119"></span><div class="header">
+<div class="chapter" id="g_t_0104-_0105-_02db-_0118-_0119">
+<div class="header">
 <p>
 Previous: <a href="index.html" accesskey="p" rel="prev">top</a>, Up: <a 
href="index.html" accesskey="u" rel="up">top</a> &nbsp; [<a href="index.html" 
title="Index" rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="A-a-_002c-E-e"></span><h2 class="chapter">1 � � � � �</h2>
+<div class="node" id="A-a-_002c-E-e">
+<h2 class="chapter">1 � � � � �</h2>
 
 <span id="index-A-a-_002c-E-e"></span>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/char_latin2_latin2_in_refs/res_html/index.html 
b/tp/t/results/converters_tests/char_latin2_latin2_in_refs/res_html/index.html
index 73badcf..8b55cd6 100644
--- 
a/tp/t/results/converters_tests/char_latin2_latin2_in_refs/res_html/index.html
+++ 
b/tp/t/results/converters_tests/char_latin2_latin2_in_refs/res_html/index.html
@@ -38,12 +38,14 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="A-a-_002c-E-e.html" accesskey="n" rel="next">� � � � �</a> 
&nbsp; [<a href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p><a href="A-a-_002c-E-e.html">� � � � �</a>.
 </p>
@@ -65,11 +67,12 @@ Next: <a href="A-a-_002c-E-e.html" accesskey="n" rel="next">
 <ul class="section-toc">
 <li><a href="A-a-_002c-E-e.html" accesskey="1">� � � � �</a></li>
 </ul>
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="A-a-_002c-E-e.html" accesskey="n" rel="next">� � � � �</a> 
&nbsp; [<a href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
+</div>
 
 
 
diff --git a/tp/t/results/converters_tests/complex_nestings.pl 
b/tp/t/results/converters_tests/complex_nestings.pl
index ce77f6f..1e9a993 100644
--- a/tp/t/results/converters_tests/complex_nestings.pl
+++ b/tp/t/results/converters_tests/complex_nestings.pl
@@ -1438,7 +1438,8 @@ $result_converted{'plaintext'}->{'complex_nestings'} = '  
   deffs
 ';
 
 
-$result_converted{'html_text'}->{'complex_nestings'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'complex_nestings'} = '<div class="node" 
id="Top">
+<h1 class="node-heading">Top</h1>
 
 <div class="example">
 <pre class="example">deffs
@@ -1472,7 +1473,7 @@ explanation
 <pre class="example">
 
 </pre></div>
-<hr>
+</div><hr></div>
 ';
 
 
diff --git a/tp/t/results/converters_tests/footnote_no_number.pl 
b/tp/t/results/converters_tests/footnote_no_number.pl
index 03b4291..d29a72b 100644
--- a/tp/t/results/converters_tests/footnote_no_number.pl
+++ b/tp/t/results/converters_tests/footnote_no_number.pl
@@ -230,12 +230,13 @@ $result_converted{'plaintext'}->{'footnote_no_number'} = 
'Para(*).
 ';
 
 
-$result_converted{'html_text'}->{'footnote_no_number'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'footnote_no_number'} = '<div class="node" 
id="Top">
+<h1 class="node-heading">Top</h1>
 
 <p>Para<a id="DOCF1" href="#FOOT1"><sup>*</sup></a>.
 </p>
 <p>Para2<a id="DOCF2" href="#FOOT2"><sup>*</sup></a>.
-</p><div class="footnote">
+</p></div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -244,7 +245,7 @@ $result_converted{'html_text'}->{'footnote_no_number'} = 
'<span id="Top"></span>
 <h5><a id="FOOT2" href="#DOCF2">(*)</a></h5>
 <p>Footnote 2.</p>
 </div>
-<hr>
+<hr></div>
 ';
 
 
diff --git a/tp/t/results/converters_tests/footnote_no_number_separate.pl 
b/tp/t/results/converters_tests/footnote_no_number_separate.pl
index 3c66519..c5a1381 100644
--- a/tp/t/results/converters_tests/footnote_no_number_separate.pl
+++ b/tp/t/results/converters_tests/footnote_no_number_separate.pl
@@ -228,12 +228,13 @@ 
$result_converted{'plaintext'}->{'footnote_no_number_separate'} = 'Para(*) (*not
 ';
 
 
-$result_converted{'html_text'}->{'footnote_no_number_separate'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'footnote_no_number_separate'} = '<div 
class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <p>Para<a id="DOCF1" href="#FOOT1"><sup>*</sup></a>.
 </p>
 <p>Para2<a id="DOCF2" href="#FOOT2"><sup>*</sup></a>.
-</p><div class="footnote">
+</p></div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -242,7 +243,7 @@ 
$result_converted{'html_text'}->{'footnote_no_number_separate'} = '<span id="Top
 <h5><a id="FOOT2" href="#DOCF2">(*)</a></h5>
 <p>Footnote 2.</p>
 </div>
-<hr>
+<hr></div>
 ';
 
 
diff --git a/tp/t/results/converters_tests/image_formatting.pl 
b/tp/t/results/converters_tests/image_formatting.pl
index 46ce8cd..66ede27 100644
--- a/tp/t/results/converters_tests/image_formatting.pl
+++ b/tp/t/results/converters_tests/image_formatting.pl
@@ -2574,7 +2574,8 @@ Image description""\\.
 ';
 
 
-$result_converted{'html_text'}->{'image_formatting'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'image_formatting'} = '<div class="node" 
id="Top">
+<h1 class="node-heading">Top</h1>
 
 <p><code>@image{f--ile}</code> <img src="f--ile.png" alt="f--ile">
 <code>@image{f--ile,l--i}</code> <img src="f--ile.png" alt="f--ile">
@@ -2602,7 +2603,7 @@ $result_converted{'html_text'}->{'image_formatting'} = 
'<span id="Top"></span><h
 
 <p>in para
 <img src="f--ile.png" alt="a very long alt argument that could span more than 
one line who knows">.
-</p><hr>
+</p></div><hr></div>
 ';
 
 $result_converted_errors{'html_text'}->{'image_formatting'} = [
diff --git a/tp/t/results/converters_tests/index_entry_in_preformatted.pl 
b/tp/t/results/converters_tests/index_entry_in_preformatted.pl
index 91492aa..356370f 100644
--- a/tp/t/results/converters_tests/index_entry_in_preformatted.pl
+++ b/tp/t/results/converters_tests/index_entry_in_preformatted.pl
@@ -370,14 +370,15 @@ 
$result_converted{'plaintext'}->{'index_entry_in_preformatted'} = '     text
 ';
 
 
-$result_converted{'html_text'}->{'index_entry_in_preformatted'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'index_entry_in_preformatted'} = '<div 
class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <div class="example">
 <pre class="example"><span id="index-first"></span>text
 
 <span id="index-other"></span>text2
 <span id="index-last"></span></pre></div>
-<hr>
+</div><hr></div>
 ';
 
 
diff --git 
a/tp/t/results/converters_tests/japanese_shift_jis/res_html/Introduction.html 
b/tp/t/results/converters_tests/japanese_shift_jis/res_html/Introduction.html
index c06369e..6a1f8b8 100644
--- 
a/tp/t/results/converters_tests/japanese_shift_jis/res_html/Introduction.html
+++ 
b/tp/t/results/converters_tests/japanese_shift_jis/res_html/Introduction.html
@@ -44,15 +44,18 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="ja">
-<span id="Introduction"></span><div class="header">
+<div class="chapter" id="Introduction">
+<div class="header">
 <p>
 Previous: <a href="Preface.html" accesskey="p" rel="prev">Preface</a>, Up: <a 
href="index.html" accesskey="u" rel="up">GNU LilyPond &mdash; 
�w�K�}�j���A��</a> &nbsp; </p>
 </div>
 <hr>
-<span id="Introduction-1"></span><h2 class="chapter">2 Introduction</h2>
+<div class="node" id="Introduction-1">
+<h2 class="chapter">2 Introduction</h2>
 
 <p>���̏͂ł͓ǎ҂� LilyPond �Ƃ��̃h�L�������g�ɂ‚��Ă̏Љ��s���܂��B
 </p>
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/japanese_shift_jis/res_html/Preface.html 
b/tp/t/results/converters_tests/japanese_shift_jis/res_html/Preface.html
index 9074b90..58383e3 100644
--- a/tp/t/results/converters_tests/japanese_shift_jis/res_html/Preface.html
+++ b/tp/t/results/converters_tests/japanese_shift_jis/res_html/Preface.html
@@ -45,16 +45,19 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="ja">
-<span id="Preface"></span><div class="header">
+<div class="chapter" id="Preface">
+<div class="header">
 <p>
 Next: <a href="Introduction.html" accesskey="n" rel="next">Introduction</a>, 
Previous: <a href="index.html" accesskey="p" rel="prev">GNU LilyPond &mdash; 
�w�K�}�j���A��</a>, Up: <a href="index.html" accesskey="u" rel="up">GNU 
LilyPond &mdash; �w�K�}�j���A��</a> &nbsp; </p>
 </div>
 <hr>
-<span id="Preface-1"></span><h2 class="chapter">1 Preface</h2>
+<div class="node" id="Preface-1">
+<h2 class="chapter">1 Preface</h2>
 
 <p>����� 1995 �N�̂������ EJE (Eindhoven Youth Orchestra) 
�̃��n�[�T�����̂ł����Ƃł��� �| 
����ς��҂̃o�C�I�����t�҂ł���W�����͓������ς��҂̃t�����`�z�����t�҂̃n��-�E�F���ɔނ���������Ă���V�����傫�ȃv���W�F�N�g�̂��Ƃ�b���܂����B����͉��y��o�ł��邽�߂̎��������ꂽ�V�X�e���ł�
 (���m�ɂ́A����� MPP �| MusiXTeX 
�̃v���v���Z�b�T�ł�)�B����𕷂��ăn��-�E�F���͂����Ɋy�����炢���‚��̕�����v�����g�A�E�g�������Ǝv���A�ނ͂��̂��߂̃\�t�g�E�F�A��T���n�߁A�����ɂ��̗��ɂȂ��Ă��܂��܂����B��
 �ꂪ MPP �̏I������t���܂����B�����̓N�w�I�l�@��܂ݔ��M���� email � [...]
 </p>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/japanese_shift_jis/res_html/index.html 
b/tp/t/results/converters_tests/japanese_shift_jis/res_html/index.html
index 5ecbc58..cffc4e4 100644
--- a/tp/t/results/converters_tests/japanese_shift_jis/res_html/index.html
+++ b/tp/t/results/converters_tests/japanese_shift_jis/res_html/index.html
@@ -46,12 +46,14 @@ ul.no-bullet {list-style: none}
 <h1 class="settitle" align="center">GNU LilyPond &ndash; Manuel 
d&rsquo;initiation japanese</h1>
 
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="Preface.html" accesskey="n" rel="next">Preface</a> &nbsp; </p>
 </div>
 <hr>
-<span id="GNU-LilyPond-_002d_002d_002d-XueXimaniyuaru"></span><h1 
class="top">GNU LilyPond &mdash; �w�K�}�j���A��</h1>
+<div class="node" id="GNU-LilyPond-_002d_002d_002d-XueXimaniyuaru">
+<h1 class="top">GNU LilyPond &mdash; �w�K�}�j���A��</h1>
 
 
 
@@ -62,11 +64,12 @@ Next: <a href="Preface.html" accesskey="n" 
rel="next">Preface</a> &nbsp; </p>
 <li><a href="Preface.html" accesskey="1">Preface</a></li>
 <li><a href="Introduction.html" accesskey="2">Introduction</a></li>
 </ul>
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="Preface.html" accesskey="n" rel="next">Preface</a> &nbsp; </p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/printindex_merged_indices_code_style.pl 
b/tp/t/results/converters_tests/printindex_merged_indices_code_style.pl
index d46cd60..abb5c7c 100644
--- a/tp/t/results/converters_tests/printindex_merged_indices_code_style.pl
+++ b/tp/t/results/converters_tests/printindex_merged_indices_code_style.pl
@@ -769,7 +769,8 @@ 
$result_converted{'plaintext'}->{'printindex_merged_indices_code_style'} = '* Me
 ';
 
 
-$result_converted{'html_text'}->{'printindex_merged_indices_code_style'} = 
'<span id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'printindex_merged_indices_code_style'} = 
'<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 
 
@@ -822,7 +823,7 @@ 
$result_converted{'html_text'}->{'printindex_merged_indices_code_style'} = '<spa
 <a class="summary-letter" href="#t_h_fn_letter-V"><b>V</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 
diff --git a/tp/t/results/converters_tests/ref_in_sectioning.pl 
b/tp/t/results/converters_tests/ref_in_sectioning.pl
index 4251666..8c35a64 100644
--- a/tp/t/results/converters_tests/ref_in_sectioning.pl
+++ b/tp/t/results/converters_tests/ref_in_sectioning.pl
@@ -2541,11 +2541,13 @@ for example *note node:: (*note node::) (*note 
(file)Top::)
 
 
 $result_converted{'html_text'}->{'ref_in_sectioning'} = '
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
-<span id="for-example-node-_0028node_0029-_0028Top_0029"></span><h1 
class="top">for example <a href="#node">See <a data-manual="file name" 
href="file name.html#node">title</a> in <cite>Manual</cite>.</a> (see <a 
href="#node">See <a data-manual="file name" href="file 
name.html#node">title</a> in <cite>Manual</cite>.</a>) (see <cite><a 
data-manual="file" href="file.html#Top">Manual</a></cite>)</h1>
+<div class="node" id="for-example-node-_0028node_0029-_0028Top_0029">
+<h1 class="top">for example <a href="#node">See <a data-manual="file name" 
href="file name.html#node">title</a> in <cite>Manual</cite>.</a> (see <a 
href="#node">See <a data-manual="file name" href="file 
name.html#node">title</a> in <cite>Manual</cite>.</a>) (see <cite><a 
data-manual="file" href="file.html#Top">Manual</a></cite>)</h1>
 
 
 <h2 class="contents-heading">Table of Contents</h2>
@@ -2572,19 +2574,24 @@ $result_converted{'html_text'}->{'ref_in_sectioning'} = 
'
 </ul>
 </div>
 
-<hr>
-<span id="node"></span><div class="header">
+</div><hr>
+<div class="chapter" id="node">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
-<span id="node_002e"></span><h2 class="chapter">1 See <a data-manual="file 
name" href="file name.html#node">title</a> in <cite>Manual</cite>.</h2>
+<div class="node" id="node_002e">
+<h2 class="chapter">1 See <a data-manual="file name" href="file 
name.html#node">title</a> in <cite>Manual</cite>.</h2>
 
-<hr>
-<span id="chap"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="chap">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
-<span id="node-just-node"></span><h2 class="chapter">2 <a href="#node">See <a 
data-manual="file name" href="file name.html#node">title</a> in 
<cite>Manual</cite>.</a> just node</h2>
+<div class="node" id="node-just-node">
+<h2 class="chapter">2 <a href="#node">See <a data-manual="file name" 
href="file name.html#node">title</a> in <cite>Manual</cite>.</a> just node</h2>
 
 <ul class="section-toc">
 <li><a href="#node-node_002c-crossref-arg2" accesskey="1"><a 
href="#node">cross ref name</a>  node, crossref arg2</a></li>
@@ -2600,31 +2607,43 @@ $result_converted{'html_text'}->{'ref_in_sectioning'} = 
'
 <li><a href="#Top_002c-xref-Top-filename-only_002c-no-spaces">See <a 
data-manual="filename" href="filename.html#Top">(filename)Top</a>, xref Top 
filename only, no spaces</a></li>
 <li><a href="#filename_002e-xref-filename-only_002c-no-spaces">See <a 
data-manual="filename" href="filename.html#Top">(filename)</a>. xref filename 
only, no spaces</a></li>
 </ul>
-<span id="node-node_002c-crossref-arg2"></span><h3 class="section">2.1 <a 
href="#node">cross ref name</a>  node, crossref arg2</h3>
+</div><div class="section" id="node-node_002c-crossref-arg2">
+<h3 class="section">2.1 <a href="#node">cross ref name</a>  node, crossref 
arg2</h3>
 
-<span id="node-code-node_002c-samptitle-arg3"></span><h3 class="section">2.2 
<a href="#node">&lsquo;<samp>title</samp>&rsquo;</a>  code node, samptitle 
arg3</h3>
+</div><div class="section" id="node-code-node_002c-samptitle-arg3">
+<h3 class="section">2.2 <a href="#node">&lsquo;<samp>title</samp>&rsquo;</a>  
code node, samptitle arg3</h3>
 
-<span id="node-code-node_002c-file-name"></span><h3 class="section">2.3 <a 
data-manual="file name" href="file name.html#node">(file 
name)<code>node</code></a> code node, file name</h3>
+</div><div class="section" id="node-code-node_002c-file-name">
+<h3 class="section">2.3 <a data-manual="file name" href="file 
name.html#node">(file name)<code>node</code></a> code node, file name</h3>
 
-<span id="node-node-and-manual"></span><h3 class="section">2.4 
&lsquo;node&rsquo; in <cite>Manual</cite> node and manual</h3>
+</div><div class="section" id="node-node-and-manual">
+<h3 class="section">2.4 &lsquo;node&rsquo; in <cite>Manual</cite> node and 
manual</h3>
 
-<span id="Top-Top-and-manual"></span><h3 class="section">2.5 
<cite>Manual</cite> Top and manual</h3>
+</div><div class="section" id="Top-Top-and-manual">
+<h3 class="section">2.5 <cite>Manual</cite> Top and manual</h3>
 
-<span id="Manual-no-node-just-manual"></span><h3 class="section">2.6 
<cite>Manual</cite> no node just manual</h3>
+</div><div class="section" id="Manual-no-node-just-manual">
+<h3 class="section">2.6 <cite>Manual</cite> no node just manual</h3>
 
-<span id="file-name-no-node-just-file-name"></span><h3 class="section">2.7 <a 
data-manual="file name" href="file name.html#Top">(file name)</a> no node just 
file name</h3>
+</div><div class="section" id="file-name-no-node-just-file-name">
+<h3 class="section">2.7 <a data-manual="file name" href="file 
name.html#Top">(file name)</a> no node just file name</h3>
 
-<span id="a-inforef-a-b-c"></span><h3 class="section">2.8 See <a 
data-manual="c" href="c.html#a">(c)b</a> inforef a b c</h3>
+</div><div class="section" id="a-inforef-a-b-c">
+<h3 class="section">2.8 See <a data-manual="c" href="c.html#a">(c)b</a> 
inforef a b c</h3>
 
-<span id="g_t_0028Top_0029-pxref-Top-file-name_002c-spaces"></span><h3 
class="section">2.9 (see <a data-manual="file name" href="file 
name.html#Top">(file name)Top</a>) pxref Top file name, spaces</h3>
+</div><div class="section" 
id="g_t_0028Top_0029-pxref-Top-file-name_002c-spaces">
+<h3 class="section">2.9 (see <a data-manual="file name" href="file 
name.html#Top">(file name)Top</a>) pxref Top file name, spaces</h3>
 
-<span id="g_t_0028file-name_0029-pxref-file-name-only_002c-spaces"></span><h3 
class="section">2.10 (see <a data-manual="file name" href="file 
name.html#Top">(file name)</a>) pxref file name only, spaces</h3>
+</div><div class="section" 
id="g_t_0028file-name_0029-pxref-file-name-only_002c-spaces">
+<h3 class="section">2.10 (see <a data-manual="file name" href="file 
name.html#Top">(file name)</a>) pxref file name only, spaces</h3>
 
-<span id="Top_002c-xref-Top-filename-only_002c-no-spaces"></span><h3 
class="section">2.11 See <a data-manual="filename" 
href="filename.html#Top">(filename)Top</a>, xref Top filename only, no 
spaces</h3>
+</div><div class="section" id="Top_002c-xref-Top-filename-only_002c-no-spaces">
+<h3 class="section">2.11 See <a data-manual="filename" 
href="filename.html#Top">(filename)Top</a>, xref Top filename only, no 
spaces</h3>
 
-<span id="filename_002e-xref-filename-only_002c-no-spaces"></span><h3 
class="section">2.12 See <a data-manual="filename" 
href="filename.html#Top">(filename)</a>. xref filename only, no spaces</h3>
+</div><div class="section" 
id="filename_002e-xref-filename-only_002c-no-spaces">
+<h3 class="section">2.12 See <a data-manual="filename" 
href="filename.html#Top">(filename)</a>. xref filename only, no spaces</h3>
 
-<hr>
+</div><hr>
 ';
 
 
diff --git a/tp/t/results/converters_tests/refs_formatting.pl 
b/tp/t/results/converters_tests/refs_formatting.pl
index 114256d..0cfaefb 100644
--- a/tp/t/results/converters_tests/refs_formatting.pl
+++ b/tp/t/results/converters_tests/refs_formatting.pl
@@ -4464,7 +4464,9 @@ title: (file name)(pman)anode. \'@ref{(pman)anode,,,file 
name,manual}\'
 ';
 
 
-$result_converted{'html_text'}->{'refs_formatting'} = '<span 
id="chapter"></span><span id="chapter-1"></span><h2 class="chapter">1 
chapter</h2>
+$result_converted{'html_text'}->{'refs_formatting'} = '<div class="chapter" 
id="chapter">
+<div class="node" id="chapter-1">
+<h2 class="chapter">1 chapter</h2>
 
 <p><code>@ref{chapter,cross ref name}</code> <a href="#chapter">cross ref 
name</a>
 <code>@ref{chapter,,title}</code> <a href="#chapter">title</a>
@@ -4500,7 +4502,7 @@ $result_converted{'html_text'}->{'refs_formatting'} = 
'<span id="chapter"></span
 <code>@inforef{chapter}</code> See &lsquo;chapter&rsquo;
 <code>@inforef{chapter, cross ref name}</code> See &lsquo;cross ref name&rsquo;
 <code>@inforef{chapter,,file name}</code> See <a data-manual="file name" 
href="file name.html#chapter">(file name)chapter</a>
-</p><hr>
+</p></div><hr></div>
 ';
 
 
diff --git 
a/tp/t/results/converters_tests/sample_utf8/res_html/DiYiZhang_0028First-Chapter_0029.html
 
b/tp/t/results/converters_tests/sample_utf8/res_html/DiYiZhang_0028First-Chapter_0029.html
index 3a3a430..e3f592d 100644
--- 
a/tp/t/results/converters_tests/sample_utf8/res_html/DiYiZhang_0028First-Chapter_0029.html
+++ 
b/tp/t/results/converters_tests/sample_utf8/res_html/DiYiZhang_0028First-Chapter_0029.html
@@ -43,12 +43,14 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_7b2c_4e00_7ae0_ff08First-Chapter_ff09"></span><div 
class="header">
+<div class="chapter" id="g_t_7b2c_4e00_7ae0_ff08First-Chapter_ff09">
+<div class="header">
 <p>
 Next: <a href="Second-Chapter-AE-AE-ae-ae.html" accesskey="n" 
rel="next">Chapter 2 AE ĄĘ ae ąę</a>, Previous: <a href="index.html" 
accesskey="p" rel="prev">Texinfo中文示例</a>, Up: <a href="index.html" 
accesskey="u" rel="up">Texinfo中文示例</a> &nbsp; [<a 
href="index.html#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>][<a href="Index-node.html" title="Index" 
rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="DiYiZhang_0028First-Chapter_0029"></span><h2 class="chapter">1 
第一章(First Chapter)</h2>
+<div class="node" id="DiYiZhang_0028First-Chapter_0029">
+<h2 class="chapter">1 第一章(First Chapter)</h2>
 
 <span id="index-chapter_002c-first"></span>
 
@@ -67,6 +69,7 @@ This is the first item.
 This is the second item.
 </li></ol>
 
+</div></div>
 
 
 
diff --git a/tp/t/results/converters_tests/sample_utf8/res_html/Index-node.html 
b/tp/t/results/converters_tests/sample_utf8/res_html/Index-node.html
index 14fd703..0dab147 100644
--- a/tp/t/results/converters_tests/sample_utf8/res_html/Index-node.html
+++ b/tp/t/results/converters_tests/sample_utf8/res_html/Index-node.html
@@ -42,12 +42,14 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Index-node"></span><div class="header">
+<div class="unnumbered" id="Index-node">
+<div class="header">
 <p>
 Previous: <a href="Second-Chapter-AE-AE-ae-ae.html" accesskey="p" 
rel="prev">Chapter 2 AE ĄĘ ae ąę</a>, Up: <a href="index.html" accesskey="u" 
rel="up">Texinfo中文示例</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>][<a href="#Index-node" title="Index" 
rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="Index"></span><h2 class="unnumbered">Index</h2>
+<div class="node" id="Index">
+<h2 class="unnumbered">Index</h2>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Index-node_cp_letter-C"><b>C</b></a>
  &nbsp; 
@@ -84,6 +86,7 @@ Previous: <a href="Second-Chapter-AE-AE-ae-ae.html" 
accesskey="p" rel="prev">Cha
  &nbsp; 
 </td></tr></table>
 
+</div></div>
 
 
 
diff --git 
a/tp/t/results/converters_tests/sample_utf8/res_html/Second-Chapter-AE-AE-ae-ae.html
 
b/tp/t/results/converters_tests/sample_utf8/res_html/Second-Chapter-AE-AE-ae-ae.html
index 9a5c546..f69bcdb 100644
--- 
a/tp/t/results/converters_tests/sample_utf8/res_html/Second-Chapter-AE-AE-ae-ae.html
+++ 
b/tp/t/results/converters_tests/sample_utf8/res_html/Second-Chapter-AE-AE-ae-ae.html
@@ -43,15 +43,18 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Second-Chapter-AE-_0104_0118-ae-_0105_0119"></span><div 
class="header">
+<div class="chapter" id="Second-Chapter-AE-_0104_0118-ae-_0105_0119">
+<div class="header">
 <p>
 Next: <a href="Index-node.html" accesskey="n" rel="next">Index</a>, Previous: 
<a href="DiYiZhang_0028First-Chapter_0029.html" accesskey="p" 
rel="prev">第一章(First Chapter)</a>, Up: <a href="index.html" accesskey="u" 
rel="up">Texinfo中文示例</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>][<a href="Index-node.html" 
title="Index" rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="Chapter-2-AE-AE-ae-ae"></span><h2 class="chapter">2 Chapter 2 AE ĄĘ 
ae ąę</h2>
+<div class="node" id="Chapter-2-AE-AE-ae-ae">
+<h2 class="chapter">2 Chapter 2 AE ĄĘ ae ąę</h2>
 
 <p>Zażółć gęślą jaźń!
 </p>
+</div></div>
 
 
 
diff --git a/tp/t/results/converters_tests/sample_utf8/res_html/index.html 
b/tp/t/results/converters_tests/sample_utf8/res_html/index.html
index a478f62..09be89c 100644
--- a/tp/t/results/converters_tests/sample_utf8/res_html/index.html
+++ b/tp/t/results/converters_tests/sample_utf8/res_html/index.html
@@ -46,12 +46,14 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="DiYiZhang_0028First-Chapter_0029.html" accesskey="n" 
rel="next">第一章(First Chapter)</a> &nbsp; [<a href="#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>][<a href="Index-node.html" 
title="Index" rel="index">Index</a>]</p>
 </div>
 <hr>
-<span id="TexinfoZhongWenShiLi"></span><h1 class="top">Texinfo中文示例</h1>
+<div class="node" id="TexinfoZhongWenShiLi">
+<h1 class="top">Texinfo中文示例</h1>
 
 <p>This is a short example of a complete Texinfo file.
 </p>
@@ -72,11 +74,12 @@ Texinfo中文示例
 </ul>
 </div>
 
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="DiYiZhang_0028First-Chapter_0029.html" accesskey="n" 
rel="next">第一章(First Chapter)</a> &nbsp; [<a href="#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>][<a href="Index-node.html" 
title="Index" rel="index">Index</a>]</p>
 </div>
+</div>
 
 
 
diff --git a/tp/t/results/converters_tests/some_at_commands_in_ref_nodes.pl 
b/tp/t/results/converters_tests/some_at_commands_in_ref_nodes.pl
index ae8617e..76194a4 100644
--- a/tp/t/results/converters_tests/some_at_commands_in_ref_nodes.pl
+++ b/tp/t/results/converters_tests/some_at_commands_in_ref_nodes.pl
@@ -1827,25 +1827,29 @@ see *note (manual)a *strong* ref with SC, a i trema ï, 
a dotless i trema
 
 
 $result_converted{'html_text'}->{'some_at_commands_in_ref_nodes'} = '
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 
 
 <ul class="section-toc">
 <li><a href="#A-SC-_00d1-_00c5-TeX-node-_00ef-_00ef-_1e14-_0142-_1e08-_00a1" 
accesskey="1">A <small>SC</small> node &iuml; &iuml; &#274;` &#322; &#262;, 
&iexcl;</a></li>
 </ul>
-<hr>
-<span 
id="A-SC-_00d1-_00c5-TeX-node-_00ef-_00ef-_1e14-_0142-_1e08-_00a1"></span><div 
class="header">
+</div><hr>
+<div class="chapter" 
id="A-SC-_00d1-_00c5-TeX-node-_00ef-_00ef-_1e14-_0142-_1e08-_00a1">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
-<span id="A-SC-node-i-i-E-l-C-_00a1"></span><h2 class="chapter">1 A 
<small>SC</small> node &iuml; &iuml; &#274;` &#322; &#262;, &iexcl;</h2>
+<div class="node" id="A-SC-node-i-i-E-l-C-_00a1">
+<h2 class="chapter">1 A <small>SC</small> node &iuml; &iuml; &#274;` &#322; 
&#262;, &iexcl;</h2>
 
 <p>see <a data-manual="manual" 
href="manual.html#a-strong-ref-with-SC_002c-a-i-trema-_00ef_002c-a-dotless-i-trema-_00ef-_1e14-and-exclamdown-_00a1">(manual)a
 <strong>strong</strong> ref with <small>SC</small>, a i trema &iuml;, a 
dotless i trema &iuml; &#274;` and exclamdown &iexcl;</a>.
-</p><hr>
+</p></div><hr>
 ';
 
 
diff --git a/tp/t/results/converters_tests/spaces_in_empty_node_names.pl 
b/tp/t/results/converters_tests/spaces_in_empty_node_names.pl
index ac76712..3f75832 100644
--- a/tp/t/results/converters_tests/spaces_in_empty_node_names.pl
+++ b/tp/t/results/converters_tests/spaces_in_empty_node_names.pl
@@ -959,26 +959,30 @@ 
$result_converted{'plaintext'}->{'spaces_in_empty_node_names'} = '*note   ::
 ';
 
 
-$result_converted{'html_text'}->{'spaces_in_empty_node_names'} = '<span 
id="Top"></span><div class="header">
+$result_converted{'html_text'}->{'spaces_in_empty_node_names'} = '<div 
class="node" id="Top">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
 <h1 class="node-heading">Top</h1>
 
 
-<hr>
+</div><hr>
+<div class="node">
 <div class="header">
 <p>
  &nbsp; </p>
 </div>
 
-<hr>
+</div><hr>
+<div class="node">
 <div class="header">
 <p>
  &nbsp; </p>
 </div>
 
-<hr>
+</div><hr>
+<div class="node">
 <div class="header">
 <p>
  &nbsp; </p>
@@ -989,7 +993,7 @@ 
$result_converted{'html_text'}->{'spaces_in_empty_node_names'} = '<span id="Top"
 <p>&lsquo;<tt>  </tt>&rsquo;
 </p>
 <p>&lsquo;&nbsp;&nbsp;<!-- /@w -->&rsquo;
-</p><hr>
+</p></div><hr>
 ';
 
 
diff --git a/tp/t/results/converters_tests/spaces_in_node_names.pl 
b/tp/t/results/converters_tests/spaces_in_node_names.pl
index ab4b518..d6a7063 100644
--- a/tp/t/results/converters_tests/spaces_in_node_names.pl
+++ b/tp/t/results/converters_tests/spaces_in_node_names.pl
@@ -1054,29 +1054,33 @@ 
$result_converted{'plaintext'}->{'spaces_in_node_names'} = '*note a  ::
 ';
 
 
-$result_converted{'html_text'}->{'spaces_in_node_names'} = '<span 
id="Top"></span><div class="header">
+$result_converted{'html_text'}->{'spaces_in_node_names'} = '<div class="node" 
id="Top">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
 <h1 class="node-heading">Top</h1>
 
 
-<hr>
-<span id="a--"></span><div class="header">
+</div><hr>
+<div class="node" id="a--">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
 <h4 class="node-heading">a&nbsp;&nbsp;</h4>
 
-<hr>
-<span id="b-"></span><div class="header">
+</div><hr>
+<div class="node" id="b-">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
 <h4 class="node-heading">b<tt>  </tt></h4>
 
-<hr>
-<span id="c-"></span><div class="header">
+</div><hr>
+<div class="node" id="c-">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
@@ -1087,7 +1091,7 @@ $result_converted{'html_text'}->{'spaces_in_node_names'} 
= '<span id="Top"></spa
 <p><a href="#b-">b<tt>  </tt></a>
 </p>
 <p><a href="#c-">c&nbsp;&nbsp;<!-- /@w --></a>
-</p><hr>
+</p></div><hr>
 ';
 
 
diff --git a/tp/t/results/converters_tests/test_deftypefnnewline.pl 
b/tp/t/results/converters_tests/test_deftypefnnewline.pl
index 33fcd46..0294326 100644
--- a/tp/t/results/converters_tests/test_deftypefnnewline.pl
+++ b/tp/t/results/converters_tests/test_deftypefnnewline.pl
@@ -960,7 +960,8 @@ $result_converted{'plaintext'}->{'test_deftypefnnewline'} = 
' -- Function:
 
 $result_converted{'html_text'}->{'test_deftypefnnewline'} = '
 
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 <dl class="def">
 <dt id="index-name"><span class="category">Function:<br> 
</span><span><em>data-type</em><br> <strong>name</strong> 
<em>arguments...</em><a href=\'#index-name\' class=\'copiable-anchor\'> 
&para;</a></span></dt>
 <dd><p>aaa
@@ -981,7 +982,7 @@ $result_converted{'html_text'}->{'test_deftypefnnewline'} = 
'
 <dt id="index-arg2"><span class="category">fun2: 
</span><span><strong>arg2</strong><a href=\'#index-arg2\' 
class=\'copiable-anchor\'> &para;</a></span></dt>
 <dd><p>fff2
 </p></dd></dl>
-<hr>
+</div><hr></div>
 ';
 
 
diff --git a/tp/t/results/converters_tests/things_before_setfilename.pl 
b/tp/t/results/converters_tests/things_before_setfilename.pl
index 5483f1b..8eb5f76 100644
--- a/tp/t/results/converters_tests/things_before_setfilename.pl
+++ b/tp/t/results/converters_tests/things_before_setfilename.pl
@@ -1526,7 +1526,9 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span id="top-section"></span><h1 class="top">top 
section</h1>
+<div class="top" id="Top">
+<div class="node" id="top-section">
+<h1 class="top">top section</h1>
 
 <p>Ref to anchor
 <a href="#An-anchor">An anchor</a>
@@ -1534,7 +1536,8 @@ ul.no-bullet {list-style: none}
 <p>Ref to footnote anchor
 <a href="#Anchor-in-footnote">Anchor in footnote</a>
 </p>
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/converters_tests/top_in_ref.pl 
b/tp/t/results/converters_tests/top_in_ref.pl
index 9f4495c..1c5f1e3 100644
--- a/tp/t/results/converters_tests/top_in_ref.pl
+++ b/tp/t/results/converters_tests/top_in_ref.pl
@@ -4392,7 +4392,8 @@ name)Top::
 ';
 
 
-$result_converted{'html_text'}->{'top_in_ref'} = '<span id="Top"></span><h1 
class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'top_in_ref'} = '<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <p><code>@ref{Top,cross ref name}</code> <a href="#Top">cross ref name</a>
 <code>@ref{Top,,title}</code> <a href="#Top">title</a>
@@ -4428,7 +4429,7 @@ $result_converted{'html_text'}->{'top_in_ref'} = '<span 
id="Top"></span><h1 clas
 <code>@inforef{Top}</code> 
 <code>@inforef{Top, cross ref name}</code> See &lsquo;cross ref name&rsquo;
 <code>@inforef{Top,,file name}</code> See <a data-manual="file name" 
href="file name.html#Top">(file name)Top</a>
-</p><hr>
+</p></div><hr></div>
 ';
 
 
diff --git a/tp/t/results/converters_tests/top_in_ref_keep_top.pl 
b/tp/t/results/converters_tests/top_in_ref_keep_top.pl
index 0e90497..a9e9556 100644
--- a/tp/t/results/converters_tests/top_in_ref_keep_top.pl
+++ b/tp/t/results/converters_tests/top_in_ref_keep_top.pl
@@ -4354,7 +4354,8 @@ $result_floats{'top_in_ref_keep_top'} = {};
 
 
 
-$result_converted{'html_text'}->{'top_in_ref_keep_top'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'top_in_ref_keep_top'} = '<div class="node" 
id="Top">
+<h1 class="node-heading">Top</h1>
 
 <p><code>@ref{Top,cross ref name}</code> <a href="#Top">cross ref name</a>
 <code>@ref{Top,,title}</code> <a href="#Top">title</a>
@@ -4390,7 +4391,7 @@ $result_converted{'html_text'}->{'top_in_ref_keep_top'} = 
'<span id="Top"></span
 <code>@inforef{Top}</code> See &lsquo;Top&rsquo;
 <code>@inforef{Top, cross ref name}</code> See &lsquo;cross ref name&rsquo;
 <code>@inforef{Top,,file name}</code> See <a data-manual="file name" 
href="file name.html#Top">(file name)Top</a>
-</p><hr>
+</p></div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/converters_tests/weird_accents.pl 
b/tp/t/results/converters_tests/weird_accents.pl
index 773346c..0099fcd 100644
--- a/tp/t/results/converters_tests/weird_accents.pl
+++ b/tp/t/results/converters_tests/weird_accents.pl
@@ -644,7 +644,9 @@ i~=
 
 
 $result_converted{'html_text'}->{'weird_accents'} = '
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p>&#297;=
 </p>
@@ -655,7 +657,7 @@ $result_converted{'html_text'}->{'weird_accents'} = '
 <p>.r`^
 </p>
 <p>r`\'=
-</p><hr>
+</p></div><hr></div>
 ';
 
 
diff --git a/tp/t/results/converters_tests/weird_accents_disable_encoding.pl 
b/tp/t/results/converters_tests/weird_accents_disable_encoding.pl
index 0256aec..70984dc 100644
--- a/tp/t/results/converters_tests/weird_accents_disable_encoding.pl
+++ b/tp/t/results/converters_tests/weird_accents_disable_encoding.pl
@@ -644,7 +644,9 @@ i~=
 
 
 $result_converted{'html_text'}->{'weird_accents_disable_encoding'} = '
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p>&#297;=
 </p>
@@ -655,7 +657,7 @@ 
$result_converted{'html_text'}->{'weird_accents_disable_encoding'} = '
 <p>.r`^
 </p>
 <p>r`\'=
-</p><hr>
+</p></div><hr></div>
 ';
 
 
diff --git a/tp/t/results/coverage/commands.pl 
b/tp/t/results/coverage/commands.pl
index 94b926d..ade609b 100644
--- a/tp/t/results/coverage/commands.pl
+++ b/tp/t/results/coverage/commands.pl
@@ -568,8 +568,9 @@ File &rarr; Open.
 </p>
 <span id="index-index-entry-_0060_0060in-text_0027_0027-LaTeX"></span>
 
-<span id="majorheading-in-b"></span><h2 class="majorheading">majorheading 
<b>in b</b></h2>
-';
+<div class="majorheading" id="majorheading-in-b">
+<h2 class="majorheading">majorheading <b>in b</b></h2>
+</div>';
 
 
 $result_converted{'xml'}->{'commands'} = '<para>&arobase; &tex; <spacecmd 
type="nl"/><accent type="uml" bracketed="off">e</accent> <accent 
type="circ"><dotless>i</dotless></accent> <accent type="tilde">a</accent> 
<accent type="ring" spaces=" ">a</accent>
diff --git a/tp/t/results/coverage/punctuation_in_line_commands.pl 
b/tp/t/results/coverage/punctuation_in_line_commands.pl
index 1467e1e..b26728f 100644
--- a/tp/t/results/coverage/punctuation_in_line_commands.pl
+++ b/tp/t/results/coverage/punctuation_in_line_commands.pl
@@ -1203,7 +1203,9 @@ top! After punc
 
 
 $result_converted{'html_text'}->{'punctuation_in_line_commands'} = '
-<span id="node_0021-After-punc"></span><span 
id="top_0021-After-punc"></span><h1 class="top">top! After punc</h1>
+<div class="top" id="node_0021-After-punc">
+<div class="node" id="top_0021-After-punc">
+<h1 class="top">top! After punc</h1>
 
 <dl compact="compact">
 <dt><span>item! After punc</span></dt>
@@ -1229,8 +1231,9 @@ 
$result_converted{'html_text'}->{'punctuation_in_line_commands'} = '
 
 <span id="index-index_0021-After-punc"></span>
 
-<span id="heading_0021-After-punc"></span><h3 class="heading">heading! After 
punc</h3>
-
+<div class="heading" id="heading_0021-After-punc">
+<h3 class="heading">heading! After punc</h3>
+</div>
 <h1 class="titlefont">titlefont! After punc</h1>
 
 <div align="center">center! After punc
@@ -1250,7 +1253,7 @@ 
$result_converted{'html_text'}->{'punctuation_in_line_commands'} = '
 </td></tr></table>
 
 
-<hr>
+</div><hr></div>
 ';
 
 
diff --git a/tp/t/results/coverage_braces/footnote_no_node.pl 
b/tp/t/results/coverage_braces/footnote_no_node.pl
index 6f19c03..3f6e59f 100644
--- a/tp/t/results/coverage_braces/footnote_no_node.pl
+++ b/tp/t/results/coverage_braces/footnote_no_node.pl
@@ -154,17 +154,18 @@ F(1).
 ';
 
 
-$result_converted{'html_text'}->{'footnote_no_node'} = '<span 
id="top"></span><h1 class="top">top</h1>
+$result_converted{'html_text'}->{'footnote_no_node'} = '<div class="top" 
id="top">
+<h1 class="top">top</h1>
 
 <p>F<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>.
-</p><div class="footnote">
+</p></div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
 <h5><a id="FOOT1" href="#DOCF1">(1)</a></h5>
 <p>In footnote</p>
 </div>
-<hr>
+<hr></div>
 ';
 
 1;
diff --git a/tp/t/results/coverage_braces/heading_in_footnote.pl 
b/tp/t/results/coverage_braces/heading_in_footnote.pl
index 4bcd554..ae011cd 100644
--- a/tp/t/results/coverage_braces/heading_in_footnote.pl
+++ b/tp/t/results/coverage_braces/heading_in_footnote.pl
@@ -207,8 +207,9 @@ $result_converted{'html_text'}->{'heading_in_footnote'} = 
'<p>T<a id="DOCF1" hre
 
 <h5><a id="FOOT1" href="#DOCF1">(1)</a></h5>
 <p>AAA
-</p><span id="H1"></span><h3 class="heading">H1</h3>
-<span id="index-ind-e"></span>
+</p><div class="heading" id="H1">
+<h3 class="heading">H1</h3>
+</div><span id="index-ind-e"></span>
 <p>BBB
 </p>
 </div>
diff --git a/tp/t/results/coverage_braces/inforef_too_much_args.pl 
b/tp/t/results/coverage_braces/inforef_too_much_args.pl
index 74daded..20c2192 100644
--- a/tp/t/results/coverage_braces/inforef_too_much_args.pl
+++ b/tp/t/results/coverage_braces/inforef_too_much_args.pl
@@ -196,10 +196,11 @@ $result_converted{'plaintext'}->{'inforef_too_much_args'} 
= '*note cross ref nam
 ';
 
 
-$result_converted{'html_text'}->{'inforef_too_much_args'} = '<span 
id="chapter"></span><h4 class="node-heading">chapter</h4>
+$result_converted{'html_text'}->{'inforef_too_much_args'} = '<div class="node" 
id="chapter">
+<h4 class="node-heading">chapter</h4>
 
 <p>See <a data-manual="file name, spurious arg" href="file name, spurious 
arg.html#chapter">(file name, spurious arg)cross ref name</a>
-</p><hr>
+</p></div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/coverage_braces/test_image.pl 
b/tp/t/results/coverage_braces/test_image.pl
index f5a3385..645ccd6 100644
--- a/tp/t/results/coverage_braces/test_image.pl
+++ b/tp/t/results/coverage_braces/test_image.pl
@@ -3947,7 +3947,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <img src="f@i--le..  a@&lt;&quot;%@  &lt; &amp; @ % &quot; .ext@i--le..  
a@&lt;&quot;%@  &lt; &amp; @ % &quot; " alt="f@i--le..  a@&lt;&quot;%@  &lt; 
&amp; @ % &quot; ">
 
@@ -3986,7 +3987,7 @@ In text [ alt <b>&icirc;&ndash;le..</b>  a
 &lt;&quot;%@  &lt; &amp; @ % &quot; ">.</p></dd>
 </dl>
 
-<hr>
+</div><hr></div>
 
 
 
@@ -4185,7 +4186,8 @@ $result_converted_errors{'plaintext'}->{'test_image'} = [
 
 $result_converted{'html_text'}->{'test_image'} = '
 
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <img src="f@i--le..  a@&lt;&quot;%@  &lt; &amp; @ % &quot; .ext@i--le..  
a@&lt;&quot;%@  &lt; &amp; @ % &quot; " alt="f@i--le..  a@&lt;&quot;%@  &lt; 
&amp; @ % &quot; ">
 
@@ -4224,7 +4226,7 @@ In text [ alt <b>&icirc;&ndash;le..</b>  a
 &lt;&quot;%@  &lt; &amp; @ % &quot; ">.</p></dd>
 </dl>
 
-<hr>
+</div><hr></div>
 ';
 
 $result_converted_errors{'html_text'}->{'test_image'} = [
diff --git a/tp/t/results/coverage_braces/two_footnotes_in_nodes.pl 
b/tp/t/results/coverage_braces/two_footnotes_in_nodes.pl
index 9a4b819..e91da1d 100644
--- a/tp/t/results/coverage_braces/two_footnotes_in_nodes.pl
+++ b/tp/t/results/coverage_braces/two_footnotes_in_nodes.pl
@@ -840,11 +840,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter" accesskey="n" rel="next">chapter</a> &nbsp; </p>
 </div>
-<span id="g_t2-footnotes-in-2-nodes"></span><h1 class="top">2 footnotes in 2 
nodes</h1>
+<div class="node" id="g_t2-footnotes-in-2-nodes">
+<h1 class="top">2 footnotes in 2 nodes</h1>
 
 <p>A<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
@@ -854,18 +856,20 @@ Next: <a href="#chapter" accesskey="n" 
rel="next">chapter</a> &nbsp; </p>
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">chapter</a></li>
 </ul>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">2 footnotes in 2 nodes</a>, 
Up: <a href="#Top" accesskey="u" rel="up">2 footnotes in 2 nodes</a> &nbsp; </p>
 </div>
-<span id="chapter-1"></span><h2 class="chapter">1 chapter</h2>
+<div class="node" id="chapter-1">
+<h2 class="chapter">1 chapter</h2>
 
 <p>C<a id="DOCF3" href="#FOOT3"><sup>3</sup></a>
 </p>
 <p>D<a id="DOCF4" href="#FOOT4"><sup>4</sup></a>
 </p>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -887,6 +891,8 @@ Previous: <a href="#Top" accesskey="p" rel="prev">2 
footnotes in 2 nodes</a>, Up
 <p>para2</p>
 </div>
 <hr>
+</div>
+</div>
 
 
 
@@ -997,11 +1003,13 @@ C(1)
 ';
 
 
-$result_converted{'html_text'}->{'two_footnotes_in_nodes'} = '<span 
id="Top"></span><div class="header">
+$result_converted{'html_text'}->{'two_footnotes_in_nodes'} = '<div class="top" 
id="Top">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
-<span id="g_t2-footnotes-in-2-nodes"></span><h1 class="top">2 footnotes in 2 
nodes</h1>
+<div class="node" id="g_t2-footnotes-in-2-nodes">
+<h1 class="top">2 footnotes in 2 nodes</h1>
 
 <p>A<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
@@ -1011,18 +1019,20 @@ 
$result_converted{'html_text'}->{'two_footnotes_in_nodes'} = '<span id="Top"></s
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">chapter</a></li>
 </ul>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
-<span id="chapter-1"></span><h2 class="chapter">1 chapter</h2>
+<div class="node" id="chapter-1">
+<h2 class="chapter">1 chapter</h2>
 
 <p>C<a id="DOCF3" href="#FOOT3"><sup>3</sup></a>
 </p>
 <p>D<a id="DOCF4" href="#FOOT4"><sup>4</sup></a>
 </p>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
diff --git a/tp/t/results/coverage_braces/two_footnotes_in_nodes_separate.pl 
b/tp/t/results/coverage_braces/two_footnotes_in_nodes_separate.pl
index 2f60700..0bdfc2b 100644
--- a/tp/t/results/coverage_braces/two_footnotes_in_nodes_separate.pl
+++ b/tp/t/results/coverage_braces/two_footnotes_in_nodes_separate.pl
@@ -876,11 +876,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter" accesskey="n" rel="next">chapter</a> &nbsp; </p>
 </div>
-<span id="g_t2-footnotes-in-2-nodes"></span><h1 class="top">2 footnotes in 2 
nodes</h1>
+<div class="node" id="g_t2-footnotes-in-2-nodes">
+<h1 class="top">2 footnotes in 2 nodes</h1>
 
 <p>A<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
@@ -890,18 +892,22 @@ Next: <a href="#chapter" accesskey="n" 
rel="next">chapter</a> &nbsp; </p>
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">chapter</a></li>
 </ul>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">2 footnotes in 2 nodes</a>, 
Up: <a href="#Top" accesskey="u" rel="up">2 footnotes in 2 nodes</a> &nbsp; </p>
 </div>
-<span id="chapter-1"></span><h2 class="chapter">1 chapter</h2>
+<div class="node" id="chapter-1">
+<h2 class="chapter">1 chapter</h2>
 
 <p>C<a id="DOCF3" href="#FOOT3"><sup>3</sup></a>
 </p>
 <p>D<a id="DOCF4" href="#FOOT4"><sup>4</sup></a>
 </p>
-<hr>
+</div><hr>
+</div>
+</div>
 
 
 
@@ -1012,11 +1018,13 @@ C(1) (*note chapter-Footnote-1::)
 ';
 
 
-$result_converted{'html_text'}->{'two_footnotes_in_nodes_separate'} = '<span 
id="Top"></span><div class="header">
+$result_converted{'html_text'}->{'two_footnotes_in_nodes_separate'} = '<div 
class="top" id="Top">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
-<span id="g_t2-footnotes-in-2-nodes"></span><h1 class="top">2 footnotes in 2 
nodes</h1>
+<div class="node" id="g_t2-footnotes-in-2-nodes">
+<h1 class="top">2 footnotes in 2 nodes</h1>
 
 <p>A<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
@@ -1026,18 +1034,20 @@ 
$result_converted{'html_text'}->{'two_footnotes_in_nodes_separate'} = '<span id=
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">chapter</a></li>
 </ul>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
-<span id="chapter-1"></span><h2 class="chapter">1 chapter</h2>
+<div class="node" id="chapter-1">
+<h2 class="chapter">1 chapter</h2>
 
 <p>C<a id="DOCF3" href="#FOOT3"><sup>3</sup></a>
 </p>
 <p>D<a id="DOCF4" href="#FOOT4"><sup>4</sup></a>
 </p>
-<hr>
+</div><hr>
 ';
 
 1;
diff --git a/tp/t/results/coverage_braces/verb_in_xref.pl 
b/tp/t/results/coverage_braces/verb_in_xref.pl
index 15eece3..28c0cc6 100644
--- a/tp/t/results/coverage_braces/verb_in_xref.pl
+++ b/tp/t/results/coverage_braces/verb_in_xref.pl
@@ -235,13 +235,14 @@ ggg : Top.
 ';
 
 
-$result_converted{'html_text'}->{'verb_in_xref'} = '<span id="Top"></span><h1 
class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'verb_in_xref'} = '<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <p>See <a href="#Top"><tt>with
 verb
 
 ggg </tt></a>.
-</p><hr>
+</p></div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/def/all_commands_delimiters_printindex.pl 
b/tp/t/results/def/all_commands_delimiters_printindex.pl
index 84cf7c0..daea4f7 100644
--- a/tp/t/results/def/all_commands_delimiters_printindex.pl
+++ b/tp/t/results/def/all_commands_delimiters_printindex.pl
@@ -16030,7 +16030,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 <dl class="def">
 <dt id="index-forward_002d_002dchar"><span class="category">Command: 
</span><span><strong><var>forward--char</var></strong> <em><var>nchars</var> 
argument2 argument3         (arg in brace, [something <var>in v--ar</var>, 
<b>in, b</b> , comma a<var>pref</var> p]) last</em><a 
href=\'#index-forward_002d_002dchar\' class=\'copiable-anchor\'> 
&para;</a></span></dt>
 </dl>
@@ -16219,8 +16220,9 @@ ul.no-bullet {list-style: none}
 <dt id="index-fun_005fname1"><span class="category">var then code: 
</span><span><em>ret_type1</em> <strong>fun_name1</strong> <em><var>A1</var> 
<code>A2</code> <var>A3</var> <code>A4</code></em><a 
href=\'#index-fun_005fname1\' class=\'copiable-anchor\'> &para;</a></span></dt>
 </dl>
 
-<span id="Functions"></span><h3 class="heading">Functions</h3>
-<table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Top_fn_symbol-1"><b>)</b></a>
+<div class="heading" id="Functions">
+<h3 class="heading">Functions</h3>
+</div><table><tr><th valign="top">Jump to: &nbsp; </th><td><a 
class="summary-letter" href="#Top_fn_symbol-1"><b>)</b></a>
  &nbsp; 
 <a class="summary-letter" href="#Top_fn_symbol-2"><b>,</b></a>
  &nbsp; 
@@ -16309,8 +16311,9 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="Types"></span><h3 class="heading">Types</h3>
-<table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Top_tp_letter-A"><b>A</b></a>
+<div class="heading" id="Types">
+<h3 class="heading">Types</h3>
+</div><table><tr><th valign="top">Jump to: &nbsp; </th><td><a 
class="summary-letter" href="#Top_tp_letter-A"><b>A</b></a>
  &nbsp; 
 <a class="summary-letter" href="#Top_tp_letter-P"><b>P</b></a>
  &nbsp; 
@@ -16333,8 +16336,9 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="Variables"></span><h3 class="heading">Variables</h3>
-<table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Top_vr_letter-A"><b>A</b></a>
+<div class="heading" id="Variables">
+<h3 class="heading">Variables</h3>
+</div><table><tr><th valign="top">Jump to: &nbsp; </th><td><a 
class="summary-letter" href="#Top_vr_letter-A"><b>A</b></a>
  &nbsp; 
 <a class="summary-letter" href="#Top_vr_letter-B"><b>B</b></a>
  &nbsp; 
@@ -16375,7 +16379,7 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_vr_letter-F"><b>F</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/def/all_commands_printindex.pl 
b/tp/t/results/def/all_commands_printindex.pl
index d5e6f64..ed68321 100644
--- a/tp/t/results/def/all_commands_printindex.pl
+++ b/tp/t/results/def/all_commands_printindex.pl
@@ -4048,7 +4048,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 <dl class="def">
 <dt id="index-d_002d_002defvr_005fname"><span class="category">c--ategory: 
</span><span><strong>d--efvr_name</strong><a 
href=\'#index-d_002d_002defvr_005fname\' class=\'copiable-anchor\'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efvr
@@ -4139,8 +4140,9 @@ ul.no-bullet {list-style: none}
 <dd><p>d&ndash;eftypemethod
 </p></dd></dl>
 
-<span id="Functions"></span><h3 class="heading">Functions</h3>
-<table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Top_fn_letter-D"><b>D</b></a>
+<div class="heading" id="Functions">
+<h3 class="heading">Functions</h3>
+</div><table><tr><th valign="top">Jump to: &nbsp; </th><td><a 
class="summary-letter" href="#Top_fn_letter-D"><b>D</b></a>
  &nbsp; 
 </td></tr></table>
 <table class="index-fn" border="0">
@@ -4162,8 +4164,9 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="Types"></span><h3 class="heading">Types</h3>
-<table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Top_tp_letter-D"><b>D</b></a>
+<div class="heading" id="Types">
+<h3 class="heading">Types</h3>
+</div><table><tr><th valign="top">Jump to: &nbsp; </th><td><a 
class="summary-letter" href="#Top_tp_letter-D"><b>D</b></a>
  &nbsp; 
 </td></tr></table>
 <table class="index-tp" border="0">
@@ -4177,8 +4180,9 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="Variables"></span><h3 class="heading">Variables</h3>
-<table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Top_vr_letter-D"><b>D</b></a>
+<div class="heading" id="Variables">
+<h3 class="heading">Variables</h3>
+</div><table><tr><th valign="top">Jump to: &nbsp; </th><td><a 
class="summary-letter" href="#Top_vr_letter-D"><b>D</b></a>
  &nbsp; 
 </td></tr></table>
 <table class="index-vr" border="0">
@@ -4198,7 +4202,7 @@ ul.no-bullet {list-style: none}
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Top_vr_letter-D"><b>D</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/def/space_in_def_for_index.pl 
b/tp/t/results/def/space_in_def_for_index.pl
index 9571875..8513a91 100644
--- a/tp/t/results/def/space_in_def_for_index.pl
+++ b/tp/t/results/def/space_in_def_for_index.pl
@@ -558,7 +558,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <dl class="def">
 <dt id="index-name"><span class="category">Category: 
</span><span><strong>name</strong> <em>argument argument2...</em><a 
href=\'#index-name\' class=\'copiable-anchor\'> &para;</a></span></dt>
@@ -585,7 +586,7 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_fn_letter-N"><b>N</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/float/anchor_in_caption.pl 
b/tp/t/results/float/anchor_in_caption.pl
index cfb8d29..dbd4c77 100644
--- a/tp/t/results/float/anchor_in_caption.pl
+++ b/tp/t/results/float/anchor_in_caption.pl
@@ -450,7 +450,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <dl class="listoffloats">
 <dt><a href="#label">fl 1</a></dt><dd><p>in caption</p></dd>
@@ -459,7 +460,7 @@ ul.no-bullet {list-style: none}
 <div class="float"><span id="label"></span>
 <p>In float.
 </p>
-<div class="float-caption"><p><strong>fl 1: </strong>in caption<span 
id="in-anchor"></span></p></div></div><hr>
+<div class="float-caption"><p><strong>fl 1: </strong>in caption<span 
id="in-anchor"></span></p></div></div></div><hr></div>
 
 
 
diff --git a/tp/t/results/float/cindex_in_caption.pl 
b/tp/t/results/float/cindex_in_caption.pl
index fb0d17d..0043146 100644
--- a/tp/t/results/float/cindex_in_caption.pl
+++ b/tp/t/results/float/cindex_in_caption.pl
@@ -536,7 +536,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <dl class="listoffloats">
 <dt><a href="#label">fl 1</a></dt><dd><p>in caption
@@ -563,7 +564,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/float/comment_space_comand_in_float.pl 
b/tp/t/results/float/comment_space_comand_in_float.pl
index ef77f4d..f08abc1 100644
--- a/tp/t/results/float/comment_space_comand_in_float.pl
+++ b/tp/t/results/float/comment_space_comand_in_float.pl
@@ -426,7 +426,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <div class="float"><span id="label--"></span>
 <p>Float
@@ -435,7 +436,7 @@ ul.no-bullet {list-style: none}
 <dl class="listoffloats">
 <dt><a href="#label--">Text &nbsp; 1</a></dt><dd></dd>
 </dl>
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/float/complex_float.pl 
b/tp/t/results/float/complex_float.pl
index 7d1563e..9e49a5b 100644
--- a/tp/t/results/float/complex_float.pl
+++ b/tp/t/results/float/complex_float.pl
@@ -4899,11 +4899,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter" accesskey="n" rel="next">A chapter</a> &nbsp; </p>
 </div>
-<span id="Test-floats"></span><h1 class="top">Test floats</h1>
+<div class="node" id="Test-floats">
+<h1 class="top">Test floats</h1>
 
 <p>A list of floats at the beginning.
 </p><dl class="listoffloats">
@@ -5015,12 +5017,14 @@ A footnote.
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">A chapter</a></li>
 </ul>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">Test floats</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Test floats</a> &nbsp; </p>
 </div>
-<span id="A-chapter"></span><h2 class="chapter">1 A chapter</h2>
+<div class="node" id="A-chapter">
+<h2 class="chapter">1 A chapter</h2>
 
 <div class="float"><span 
id="float-with-a-lot-of-features-and-no-shortcaption"></span>
 
@@ -5065,7 +5069,7 @@ A footnote 2.
 </p></div></div>
 <p>See <a href="#text-with-a-lot-of-features">Text 1</a>.
 </p>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -5079,6 +5083,8 @@ A footnote 2.
 <p>footnote Text with features caption 2</p>
 </div>
 <hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/float/float_copying.pl 
b/tp/t/results/float/float_copying.pl
index 4ddef19..4113618 100644
--- a/tp/t/results/float/float_copying.pl
+++ b/tp/t/results/float/float_copying.pl
@@ -1635,11 +1635,13 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#Copying-and-floats" accesskey="n" rel="next">Copying and 
floats</a> &nbsp; [<a href="#Copying-and-floats" title="Index" 
rel="index">Index</a>]</p>
 </div>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 
 
 <div class="float"><span id="public-domain"></span>
@@ -1656,12 +1658,14 @@ the author abandon his copyright.
 <ul class="section-toc">
 <li><a href="#Copying-and-floats" accesskey="1">Copying and floats</a></li>
 </ul>
-<hr>
-<span id="Copying-and-floats"></span><div class="header">
+</div><hr>
+<div class="appendix" id="Copying-and-floats">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; [<a href="#Copying-and-floats" 
title="Index" rel="index">Index</a>]</p>
 </div>
-<span id="Copying-and-floats-1"></span><h2 class="appendix">Appendix A Copying 
and floats</h2>
+<div class="node" id="Copying-and-floats-1">
+<h2 class="appendix">Appendix A Copying and floats</h2>
 
 
 <div class="float"><span id="public-domain"></span>
@@ -1724,7 +1728,7 @@ the author abandon his copyright.
 <a class="summary-letter" href="#Copying-and-floats_fn_letter-P"><b>P</b></a>
  &nbsp; 
 </td></tr></table>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -1760,6 +1764,8 @@ the author abandon his copyright.
 </p>
 </div>
 <hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/float/footnote_in_caption.pl 
b/tp/t/results/float/footnote_in_caption.pl
index d54f1cc..9055817 100644
--- a/tp/t/results/float/footnote_in_caption.pl
+++ b/tp/t/results/float/footnote_in_caption.pl
@@ -460,7 +460,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <dl class="listoffloats">
 <dt><a href="#label">fl 1</a></dt><dd><p>in caption<a 
id="t_hlistoffloats_DOCF1_1" 
href="#t_hlistoffloats_FOOT1_1"><sup>1</sup></a></p></dd>
@@ -469,7 +470,7 @@ ul.no-bullet {list-style: none}
 <div class="float"><span id="label"></span>
 <p>In float.
 </p>
-<div class="float-caption"><p><strong>fl 1: </strong>in caption<a id="DOCF1" 
href="#FOOT1"><sup>2</sup></a></p></div></div><div class="footnote">
+<div class="float-caption"><p><strong>fl 1: </strong>in caption<a id="DOCF1" 
href="#FOOT1"><sup>2</sup></a></p></div></div></div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -478,7 +479,7 @@ ul.no-bullet {list-style: none}
 <h5><a id="FOOT1" href="#DOCF1">(2)</a></h5>
 <p>in footnote</p>
 </div>
-<hr>
+<hr></div>
 
 
 
diff --git a/tp/t/results/float/footnote_in_caption_and_error.pl 
b/tp/t/results/float/footnote_in_caption_and_error.pl
index eedc3f7..f975b86 100644
--- a/tp/t/results/float/footnote_in_caption_and_error.pl
+++ b/tp/t/results/float/footnote_in_caption_and_error.pl
@@ -448,7 +448,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <dl class="listoffloats">
 <dt><a href="#label">fl 1</a></dt><dd><p>in caption<a 
id="t_hlistoffloats_DOCF1_1" 
href="#t_hlistoffloats_FOOT1_1"><sup>1</sup></a></p></dd>
@@ -457,7 +458,7 @@ ul.no-bullet {list-style: none}
 <div class="float"><span id="label"></span>
 <p>In float.
 </p>
-<div class="float-caption"><p><strong>fl 1: </strong>in caption<a id="DOCF1" 
href="#FOOT1"><sup>2</sup></a></p></div></div><div class="footnote">
+<div class="float-caption"><p><strong>fl 1: </strong>in caption<a id="DOCF1" 
href="#FOOT1"><sup>2</sup></a></p></div></div></div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -466,7 +467,7 @@ ul.no-bullet {list-style: none}
 <h5><a id="FOOT1" href="#DOCF1">(2)</a></h5>
 <p>in footnote error&rarr;</p>
 </div>
-<hr>
+<hr></div>
 
 
 
diff --git a/tp/t/results/float/numbering_captions_listoffloats.pl 
b/tp/t/results/float/numbering_captions_listoffloats.pl
index 3e164df..2bb1f84 100644
--- a/tp/t/results/float/numbering_captions_listoffloats.pl
+++ b/tp/t/results/float/numbering_captions_listoffloats.pl
@@ -8238,11 +8238,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter" accesskey="n" rel="next">A chapter</a> &nbsp; </p>
 </div>
-<span id="Test-floats"></span><h1 class="top">Test floats</h1>
+<div class="node" id="Test-floats">
+<h1 class="top">Test floats</h1>
 
 <div class="float"><span id="text-with-a-lot-of-features"></span>
 
@@ -8297,12 +8299,14 @@ Next: <a href="#chapter" accesskey="n" rel="next">A 
chapter</a> &nbsp; </p>
 <li><a href="#Appendix-for-float" accesskey="4">Appendix for float</a></li>
 <li><a href="#list-of-floats" accesskey="5">list of floats</a></li>
 </ul>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Next: <a href="#Unnumbered" accesskey="n" rel="next">Unnumbered</a>, Previous: 
<a href="#Top" accesskey="p" rel="prev">Test floats</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Test floats</a> &nbsp; </p>
 </div>
-<span id="A-chapter"></span><h2 class="chapter">1 A chapter</h2>
+<div class="node" id="A-chapter">
+<h2 class="chapter">1 A chapter</h2>
 
 <div class="float"><span id="text-in-chapter"></span>
 <p>Text in chapter
@@ -8333,12 +8337,14 @@ Next: <a href="#Unnumbered" accesskey="n" 
rel="next">Unnumbered</a>, Previous: <
 <ul class="section-toc">
 <li><a href="#section" accesskey="1">A section</a></li>
 </ul>
-<hr>
-<span id="section"></span><div class="header">
+</div><hr>
+<div class="section" id="section">
+<div class="header">
 <p>
 Up: <a href="#chapter" accesskey="u" rel="up">A chapter</a> &nbsp; </p>
 </div>
-<span id="A-section"></span><h3 class="section">1.1 A section</h3>
+<div class="node" id="A-section">
+<h3 class="section">1.1 A section</h3>
 
 <div class="float"><span id="text-in-section"></span>
 
@@ -8346,12 +8352,16 @@ Up: <a href="#chapter" accesskey="u" rel="up">A 
chapter</a> &nbsp; </p>
 </p>
 <div class="float-caption"><p><strong>Text 1.3
 </strong></p></div></div>
-<hr>
-<span id="Unnumbered"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="unnumbered" id="Unnumbered">
+<div class="header">
 <p>
 Next: <a href="#Chapter-with-unnumbsubsec" accesskey="n" rel="next">Chapter 
with unnumbsubsec</a>, Previous: <a href="#chapter" accesskey="p" rel="prev">A 
chapter</a>, Up: <a href="#Top" accesskey="u" rel="up">Test floats</a> &nbsp; 
</p>
 </div>
-<span id="Unnumbered-1"></span><h2 class="unnumbered">Unnumbered</h2>
+<div class="node" id="Unnumbered-1">
+<h2 class="unnumbered">Unnumbered</h2>
 
 <div class="float"><span id="unnumbered-float"></span>
 <p>unnum
@@ -8367,12 +8377,14 @@ Next: <a href="#Chapter-with-unnumbsubsec" 
accesskey="n" rel="next">Chapter with
 <ul class="section-toc">
 <li><a href="#Section-within-unnumbered" accesskey="1">Section within 
unnumbered</a></li>
 </ul>
-<hr>
-<span id="Section-within-unnumbered"></span><div class="header">
+</div><hr>
+<div class="section" id="Section-within-unnumbered">
+<div class="header">
 <p>
 Up: <a href="#Unnumbered" accesskey="u" rel="up">Unnumbered</a> &nbsp; </p>
 </div>
-<span id="Section-within-unnumbered-1"></span><h3 class="section">Section 
within unnumbered</h3>
+<div class="node" id="Section-within-unnumbered-1">
+<h3 class="section">Section within unnumbered</h3>
 
 
 <div class="float"><span id="Section-within-unnumbered-float"></span>
@@ -8380,12 +8392,16 @@ Up: <a href="#Unnumbered" accesskey="u" 
rel="up">Unnumbered</a> &nbsp; </p>
 </p>
 
 <div class="float-caption"><p><strong>Text 6: </strong>C Section within 
unnumbered</p></div></div>
-<hr>
-<span id="Chapter-with-unnumbsubsec"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="chapter" id="Chapter-with-unnumbsubsec">
+<div class="header">
 <p>
 Next: <a href="#Appendix-for-float" accesskey="n" rel="next">Appendix for 
float</a>, Previous: <a href="#Unnumbered" accesskey="p" 
rel="prev">Unnumbered</a>, Up: <a href="#Top" accesskey="u" rel="up">Test 
floats</a> &nbsp; </p>
 </div>
-<span id="Chapter-with-unnumbsubsec-1"></span><h2 class="chapter">2 Chapter 
with unnumbsubsec</h2>
+<div class="node" id="Chapter-with-unnumbsubsec-1">
+<h2 class="chapter">2 Chapter with unnumbsubsec</h2>
 
 <div class="float"><span id="Chapter-with-subsec-float"></span>
 <p>Chap
@@ -8395,12 +8411,14 @@ Next: <a href="#Appendix-for-float" accesskey="n" 
rel="next">Appendix for float<
 <ul class="section-toc">
 <li><a href="#unnumbered-sec" accesskey="1">unnumbered sec</a></li>
 </ul>
-<hr>
-<span id="unnumbered-sec"></span><div class="header">
+</div><hr>
+<div class="unnumberedsec" id="unnumbered-sec">
+<div class="header">
 <p>
 Up: <a href="#Chapter-with-unnumbsubsec" accesskey="u" rel="up">Chapter with 
unnumbsubsec</a> &nbsp; </p>
 </div>
-<span id="unnumbered-sec-1"></span><h3 class="unnumberedsec">unnumbered 
sec</h3>
+<div class="node" id="unnumbered-sec-1">
+<h3 class="unnumberedsec">unnumbered sec</h3>
 
 <div class="float"><span id="unnumbered-sec-float"></span>
 <p>Chap
@@ -8413,12 +8431,16 @@ Up: <a href="#Chapter-with-unnumbsubsec" accesskey="u" 
rel="up">Chapter with unn
 
 
 <div class="float-caption"><p><strong>2.1: </strong>C No type in unnumbered 
subsec in chapter</p></div></div>
-<hr>
-<span id="Appendix-for-float"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="appendix" id="Appendix-for-float">
+<div class="header">
 <p>
 Next: <a href="#list-of-floats" accesskey="n" rel="next">list of floats</a>, 
Previous: <a href="#Chapter-with-unnumbsubsec" accesskey="p" rel="prev">Chapter 
with unnumbsubsec</a>, Up: <a href="#Top" accesskey="u" rel="up">Test 
floats</a> &nbsp; </p>
 </div>
-<span id="Appendix-for-float-1"></span><h2 class="appendix">Appendix A 
Appendix for float</h2>
+<div class="node" id="Appendix-for-float-1">
+<h2 class="appendix">Appendix A Appendix for float</h2>
 
 <div class="float"><span id="appendix-sec-float"></span>
 
@@ -8426,12 +8448,15 @@ Next: <a href="#list-of-floats" accesskey="n" 
rel="next">list of floats</a>, Pre
 </p>
 
 <div class="float-caption"><p><strong>Text A.1: </strong>C appendix sec 
float</p></div></div>
-<hr>
-<span id="list-of-floats"></span><div class="header">
+</div><hr>
+</div>
+<div class="unnumbered" id="list-of-floats">
+<div class="header">
 <p>
 Previous: <a href="#Appendix-for-float" accesskey="p" rel="prev">Appendix for 
float</a>, Up: <a href="#Top" accesskey="u" rel="up">Test floats</a> &nbsp; </p>
 </div>
-<span id="list-of-floats-1"></span><h2 class="unnumbered">list of floats</h2>
+<div class="node" id="list-of-floats-1">
+<h2 class="unnumbered">list of floats</h2>
 
 <p>See <a href="#text-in-section">Text 1.3</a>.
 And (see <a href="#text-in-chapter">Text 1.1</a>).
@@ -8463,7 +8488,9 @@ See <a href="#text-with-a-lot-of-features">Text 1</a>.
 <dt><a href="#theoreme">th&eacute;or&egrave;me 1.1</a></dt><dd><p>C A 
th&eacute;or&egrave;me</p></dd>
 </dl>
 
-<hr>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/formatting/cond.pl b/tp/t/results/formatting/cond.pl
index 878c574..4d36b2d 100644
--- a/tp/t/results/formatting/cond.pl
+++ b/tp/t/results/formatting/cond.pl
@@ -491,7 +491,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span>
+<div class="node" id="Top">
+
 This is html text.
 
 <p>This is ifhtml text.
@@ -506,7 +507,7 @@ This is html text.
 
 <p>This is ifnottex text.
 </p>
-<hr>
+</div><hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/formatting/cond_ifhtml_ifinfo_iftex.pl 
b/tp/t/results/formatting/cond_ifhtml_ifinfo_iftex.pl
index bd8cac5..886b5da 100644
--- a/tp/t/results/formatting/cond_ifhtml_ifinfo_iftex.pl
+++ b/tp/t/results/formatting/cond_ifhtml_ifinfo_iftex.pl
@@ -508,7 +508,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span>
+<div class="node" id="Top">
+
 This is html text.
 
 <p>This is ifhtml text.
@@ -524,7 +525,7 @@ This is tex text.
 <p>This is iftex text.
 </p>
 
-<hr>
+</div><hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/formatting/cond_no-ifhtml_no-ifinfo_no-iftex.pl 
b/tp/t/results/formatting/cond_no-ifhtml_no-ifinfo_no-iftex.pl
index 8b6d52f..8fd9e68 100644
--- a/tp/t/results/formatting/cond_no-ifhtml_no-ifinfo_no-iftex.pl
+++ b/tp/t/results/formatting/cond_no-ifhtml_no-ifinfo_no-iftex.pl
@@ -474,7 +474,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span>
+<div class="node" id="Top">
+
 
 
 <p>This is ifnothtml text.
@@ -488,7 +489,7 @@ ul.no-bullet {list-style: none}
 
 <p>This is ifnottex text.
 </p>
-<hr>
+</div><hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/formatting/documentlanguage_set_option/res_html/documentlanguage_set.html
 
b/tp/t/results/formatting/documentlanguage_set_option/res_html/documentlanguage_set.html
index cf105f5..af3e5e9 100644
--- 
a/tp/t/results/formatting/documentlanguage_set_option/res_html/documentlanguage_set.html
+++ 
b/tp/t/results/formatting/documentlanguage_set_option/res_html/documentlanguage_set.html
@@ -37,11 +37,14 @@ ul.no-bullet {list-style: none}
 <h1 class="settitle" align="center">Test @documentlanguage set</h1>
 <hr>
 
-<span id="Top"></span><span id="g_t_0040documentlanguage-set"></span><h1 
class="top">@documentlanguage set</h1>
+<div class="top" id="Top">
+<div class="node" id="g_t_0040documentlanguage-set">
+<h1 class="top">@documentlanguage set</h1>
 
 <p>Text.
 </p>
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   Ce document a &eacute;t&eacute; g&eacute;n&eacute;r&eacute; <em>a sunny 
day</em> en utilisant <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/formatting/documentlanguage_set_unknown/res_html/documentlanguage_set.html
 
b/tp/t/results/formatting/documentlanguage_set_unknown/res_html/documentlanguage_set.html
index ab08f61..81c5f24 100644
--- 
a/tp/t/results/formatting/documentlanguage_set_unknown/res_html/documentlanguage_set.html
+++ 
b/tp/t/results/formatting/documentlanguage_set_unknown/res_html/documentlanguage_set.html
@@ -37,11 +37,14 @@ ul.no-bullet {list-style: none}
 <h1 class="settitle" align="center">Test @documentlanguage set</h1>
 <hr>
 
-<span id="Top"></span><span id="g_t_0040documentlanguage-set"></span><h1 
class="top">@documentlanguage set</h1>
+<div class="top" id="Top">
+<div class="node" id="g_t_0040documentlanguage-set">
+<h1 class="top">@documentlanguage set</h1>
 
 <p>Text.
 </p>
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/formatting/float_copying/res_html/Copying-and-floats.html 
b/tp/t/results/formatting/float_copying/res_html/Copying-and-floats.html
index 7b3268f..39767d5 100644
--- a/tp/t/results/formatting/float_copying/res_html/Copying-and-floats.html
+++ b/tp/t/results/formatting/float_copying/res_html/Copying-and-floats.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Copying-and-floats"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="appendix" id="Copying-and-floats">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -55,7 +56,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#Copying-and-floats" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="float_copying_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Copying-and-floats-1"></span><h1 class="appendix">Appendix A Copying 
and floats</h1>
+<div class="node" id="Copying-and-floats-1">
+<h1 class="appendix">Appendix A Copying and floats</h1>
 
 <p>In the appendix, we print the references and the copying once more
 and the list of coyright notices (listoffloats).
@@ -87,15 +89,17 @@ the author abandon his copyright.
 <span id="public-domain-anchor"></span><span 
id="index-copying-indexed-caption"></span>
 <span id="index-copying-indexed-caption-function"></span>
 </div></div>
-<span id="listoffloats"></span><h3 class="subheading">listoffloats</h3>
-<dl class="listoffloats">
+<div class="subheading" id="listoffloats">
+<h3 class="subheading">listoffloats</h3>
+</div><dl class="listoffloats">
 <dt><a href="index.html#public-domain">Copyright notice 1</a></dt><dd><p>The 
Public Domain notice<a id="t_hlistoffloats_DOCF1_4" 
href="float_copying_fot.html#t_hlistoffloats_FOOT1_4"><sup>4</sup></a>
 </p>
 </dd>
 </dl>
 
-<span id="printindex"></span><h3 class="subheading">printindex</h3>
-<table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Copying-and-floats-1_cp_letter-I"><b>I</b></a>
+<div class="subheading" id="printindex">
+<h3 class="subheading">printindex</h3>
+</div><table><tr><th valign="top">Jump to: &nbsp; </th><td><a 
class="summary-letter" href="#Copying-and-floats-1_cp_letter-I"><b>I</b></a>
  &nbsp; 
 <a class="summary-letter" href="#Copying-and-floats-1_cp_letter-L"><b>L</b></a>
  &nbsp; 
@@ -144,7 +148,7 @@ the author abandon his copyright.
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -158,6 +162,7 @@ the author abandon his copyright.
 <td valign="middle" align="left">[<a href="#Copying-and-floats" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="float_copying_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/formatting/float_copying/res_html/float_copying_abt.html 
b/tp/t/results/formatting/float_copying/res_html/float_copying_abt.html
index 3566e07..e23d4db 100644
--- a/tp/t/results/formatting/float_copying/res_html/float_copying_abt.html
+++ b/tp/t/results/formatting/float_copying/res_html/float_copying_abt.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -149,7 +149,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git 
a/tp/t/results/formatting/float_copying/res_html/float_copying_fot.html 
b/tp/t/results/formatting/float_copying/res_html/float_copying_fot.html
index 9280867..fd5ecb2 100644
--- a/tp/t/results/formatting/float_copying/res_html/float_copying_fot.html
+++ b/tp/t/results/formatting/float_copying/res_html/float_copying_fot.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Foot"></span>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -79,7 +79,7 @@ ul.no-bullet {list-style: none}
 
 <p>see <a href="#Copying-and-floats">Copying and floats</a>.
 </p>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git a/tp/t/results/formatting/float_copying/res_html/index.html 
b/tp/t/results/formatting/float_copying/res_html/index.html
index e5bb6f9..36b22db 100644
--- a/tp/t/results/formatting/float_copying/res_html/index.html
+++ b/tp/t/results/formatting/float_copying/res_html/index.html
@@ -42,7 +42,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="Copying-and-floats.html" 
title="Next section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -50,7 +51,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="Copying-and-floats.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="float_copying_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 
 <span id="index-Top"></span>
 
@@ -74,7 +76,7 @@ the author abandon his copyright.
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="Copying-and-floats.html" 
title="Next section in reading order"> &gt; </a>]</td>
@@ -83,6 +85,7 @@ the author abandon his copyright.
 <td valign="middle" align="left">[<a href="Copying-and-floats.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="float_copying_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/formatting/simplest_test_date_in_header/res_html/simplest.html 
b/tp/t/results/formatting/simplest_test_date_in_header/res_html/simplest.html
index 43b869a..f5c919e 100644
--- 
a/tp/t/results/formatting/simplest_test_date_in_header/res_html/simplest.html
+++ 
b/tp/t/results/formatting/simplest_test_date_in_header/res_html/simplest.html
@@ -36,10 +36,11 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span>
+<div class="node" id="Top">
+
 <p>This is a very simple texi manual &nbsp; &lt;&gt;.
 </p>
-<hr>
+</div><hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/formatting/simplest_test_prefix/res_html/truc.html 
b/tp/t/results/formatting/simplest_test_prefix/res_html/truc.html
index 8d4bebf..8339f7c 100644
--- a/tp/t/results/formatting/simplest_test_prefix/res_html/truc.html
+++ b/tp/t/results/formatting/simplest_test_prefix/res_html/truc.html
@@ -35,10 +35,11 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span>
+<div class="node" id="Top">
+
 <p>This is a very simple texi manual &nbsp; &lt;&gt;.
 </p>
-<hr>
+</div><hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/formatting/texi_bib_example.pl 
b/tp/t/results/formatting/texi_bib_example.pl
index ad24f45..c143b3b 100644
--- a/tp/t/results/formatting/texi_bib_example.pl
+++ b/tp/t/results/formatting/texi_bib_example.pl
@@ -5680,7 +5680,8 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#Introduction" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -5688,7 +5689,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#Introduction">1 
Introduction</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -5699,8 +5701,9 @@ ul.no-bullet {list-style: none}
 
 </pre></th></tr></table>
 
-<hr size="6">
-<span id="Introduction"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="Introduction">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -5715,15 +5718,18 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Introduction-1"></span><h1 class="chapter">1 Introduction</h1>
+<div class="node" id="Introduction-1">
+<h1 class="chapter">1 Introduction</h1>
 
 <p>The ability of a documentation format to make cross references to a
 bibliography, a feature of LaTeX (See item [LaTeX2e] in <a 
href="#References">LaTeX2e</a>.)
 , isn&rsquo;t
 currently supported in Texinfo.
 </p>
-<hr>
-<span id="References"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="chapter" id="References">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Introduction" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Introduction" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -5738,7 +5744,8 @@ currently supported in Texinfo.
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="References-1"></span><h1 class="chapter">2 References</h1>
+<div class="node" id="References-1">
+<h1 class="chapter">2 References</h1>
 
 <ul class="no-bullet">
 <li> <span id="LaTeX2e"></span>[LaTeX2e]
@@ -5748,7 +5755,9 @@ Massachusetts, 1994.
 
 </li></ul>
 
-<hr>
+</div><hr>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/formatting/texi_cond.pl 
b/tp/t/results/formatting/texi_cond.pl
index 4eedf4a..221f177 100644
--- a/tp/t/results/formatting/texi_cond.pl
+++ b/tp/t/results/formatting/texi_cond.pl
@@ -491,7 +491,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span>
+<div class="node" id="Top">
+
 This is html text.
 
 <p>This is ifhtml text.
@@ -506,7 +507,7 @@ This is html text.
 
 <p>This is ifnottex text.
 </p>
-<hr>
+</div><hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/formatting/texi_glossary.pl 
b/tp/t/results/formatting/texi_glossary.pl
index 978edb9..d724c12 100644
--- a/tp/t/results/formatting/texi_glossary.pl
+++ b/tp/t/results/formatting/texi_glossary.pl
@@ -1610,7 +1610,8 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#glossary" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -1618,7 +1619,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#glossary">1 
glossary</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -1630,8 +1632,9 @@ ul.no-bullet {list-style: none}
 <a href="#id2">name2</a>
  is quite specific
 </p>
-<hr size="6">
-<span id="glossary"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="glossary">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -1646,12 +1649,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="glossary-1"></span><h1 class="chapter">1 glossary</h1>
+<div class="node" id="glossary-1">
+<h1 class="chapter">1 glossary</h1>
 
 <p>name2 <span id="id2"></span>text2
 </p>
 
-<hr>
+</div><hr>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/heading/heading_in_copying.pl 
b/tp/t/results/heading/heading_in_copying.pl
index 7deb60a..18aaba3 100644
--- a/tp/t/results/heading/heading_in_copying.pl
+++ b/tp/t/results/heading/heading_in_copying.pl
@@ -449,14 +449,17 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 
-<span id="in-copying-_0040-heading"></span><h3 class="heading">in copying @ 
<em>heading</em></h3>
-<span id="index-copying-cindex-copying"></span>
+<div class="heading" id="in-copying-_0040-heading">
+<h3 class="heading">in copying @ <em>heading</em></h3>
+</div><span id="index-copying-cindex-copying"></span>
 
-<span id="second-in-copying-_0040-subheading"></span><h4 
class="subheading">second in copying @ <em>subheading</em></h4>
-<hr>
+<div class="subheading" id="second-in-copying-_0040-subheading">
+<h4 class="subheading">second in copying @ <em>subheading</em></h4>
+</div></div><hr></div>
 
 
 
diff --git a/tp/t/results/heading/heading_in_example.pl 
b/tp/t/results/heading/heading_in_example.pl
index 0d273e4..19515ca 100644
--- a/tp/t/results/heading/heading_in_example.pl
+++ b/tp/t/results/heading/heading_in_example.pl
@@ -197,8 +197,9 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 <div class="example">
-<span id="in-example-_0040-heading"></span><strong>in example @ 
<em>heading</em></strong>
-</div>
+<div class="heading" id="in-example-_0040-heading">
+<strong>in example @ <em>heading</em></strong>
+</div></div>
 
 
 
diff --git a/tp/t/results/heading/heading_in_quotation.pl 
b/tp/t/results/heading/heading_in_quotation.pl
index 32ad756..269dc8b 100644
--- a/tp/t/results/heading/heading_in_quotation.pl
+++ b/tp/t/results/heading/heading_in_quotation.pl
@@ -216,8 +216,9 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 <blockquote>
 
-<span id="in-quotation-_0040-heading"></span><h3 class="heading">in quotation 
@ <em>heading</em></h3>
-
+<div class="heading" id="in-quotation-_0040-heading">
+<h3 class="heading">in quotation @ <em>heading</em></h3>
+</div>
 </blockquote>
 
 
diff --git a/tp/t/results/html_tests/character_number_leading_toc_stoc.pl 
b/tp/t/results/html_tests/character_number_leading_toc_stoc.pl
index 9b43a81..98133dc 100644
--- a/tp/t/results/html_tests/character_number_leading_toc_stoc.pl
+++ b/tp/t/results/html_tests/character_number_leading_toc_stoc.pl
@@ -335,7 +335,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="top">
+<h1 class="top">top</h1>
 <span id="SEC_Contents"></span>
 <h2 class="contents-heading">Table of Contents</h2>
 
@@ -360,16 +361,19 @@ ul.no-bullet {list-style: none}
 </ul>
 </div>
 
-<span id="g_t0"></span><h2 class="chapter">1 0</h2>
-<span id="g_t_005f"></span><h2 class="unnumbered">_</h2>
+</div><div class="chapter" id="g_t0">
+<h2 class="chapter">1 0</h2>
+</div><div class="unnumbered" id="g_t_005f">
+<h2 class="unnumbered">_</h2>
 <ul class="section-toc">
 <li><a href="#g_t_003f" accesskey="1">?</a></li>
 </ul>
-<span id="g_t_003f"></span><h3 class="section">?</h3>
+</div><div class="section" id="g_t_003f">
+<h3 class="section">?</h3>
 
 
 
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/html_tests/check_htmlxref.pl 
b/tp/t/results/html_tests/check_htmlxref.pl
index d1bd84d..303526d 100644
--- a/tp/t/results/html_tests/check_htmlxref.pl
+++ b/tp/t/results/html_tests/check_htmlxref.pl
@@ -850,23 +850,27 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="no_existing_no_manual_direction.html#Top" accesskey="n" 
rel="next">(../there/no_existing_no_manual_direction)</a>, Previous: <a 
href="#first" accesskey="p" rel="prev">first</a>, Up: <a href="dir.html#Top" 
accesskey="u" rel="up">(dir)</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p><a data-manual="no_existing_no_manual.info" 
href="no_existing_no_manual.html#a">(no_existing_no_manual.info)c</a>
 <a data-manual="no_existing_no_manual.info" 
href="no_existing_no_manual.html#a">(no_existing_no_manual.info)c</a>
 </p>
 
-<hr>
-<span id="first"></span><div class="header">
+</div><hr>
+<div class="node" id="first">
+<div class="header">
 <p>
 Next: <a href="no_existing_no_manual.html#Top" accesskey="n" 
rel="next">(no_existing_no_manual.info)</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">first</h4>
-<hr>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/html_tests/documentdescription.pl 
b/tp/t/results/html_tests/documentdescription.pl
index c5338d3..bad626d 100644
--- a/tp/t/results/html_tests/documentdescription.pl
+++ b/tp/t/results/html_tests/documentdescription.pl
@@ -443,8 +443,9 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="top"></span><h1 class="top">top</h1>
-<hr>
+<div class="top" id="top">
+<h1 class="top">top</h1>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/html_tests/empty_lines_at_beginning_no_setfilename.pl 
b/tp/t/results/html_tests/empty_lines_at_beginning_no_setfilename.pl
index ef7ccfd..1efd43b 100644
--- a/tp/t/results/html_tests/empty_lines_at_beginning_no_setfilename.pl
+++ b/tp/t/results/html_tests/empty_lines_at_beginning_no_setfilename.pl
@@ -281,9 +281,12 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/html_tests/html_in_copying.pl 
b/tp/t/results/html_tests/html_in_copying.pl
index 7258ee6..2de5288 100644
--- a/tp/t/results/html_tests/html_in_copying.pl
+++ b/tp/t/results/html_tests/html_in_copying.pl
@@ -387,9 +387,12 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/html_tests/index_and_node_same_name.pl 
b/tp/t/results/html_tests/index_and_node_same_name.pl
index 2bc06f3..61f3eb9 100644
--- a/tp/t/results/html_tests/index_and_node_same_name.pl
+++ b/tp/t/results/html_tests/index_and_node_same_name.pl
@@ -286,8 +286,10 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="top"></span><h1 class="top">top</h1>
-<span id="index-node"></span><h4 class="node-heading">index node</h4>
+<div class="top" id="top">
+<h1 class="top">top</h1>
+</div><div class="node" id="index-node">
+<h4 class="node-heading">index node</h4>
 
 <span id="index-node-1"></span>
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#index-node_cp_letter-N"><b>N</b></a>
@@ -304,7 +306,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/html_tests/index_below.pl 
b/tp/t/results/html_tests/index_below.pl
index ef16e80..e7c69d1 100644
--- a/tp/t/results/html_tests/index_below.pl
+++ b/tp/t/results/html_tests/index_below.pl
@@ -461,7 +461,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="top"></span><div class="header">
+<div class="top" id="top">
+<div class="header">
 <p>
  &nbsp; [<a href="#chap" title="Index" rel="index">Index</a>]</p>
 </div>
@@ -470,8 +471,9 @@ ul.no-bullet {list-style: none}
 <ul class="section-toc">
 <li><a href="#chap" accesskey="1">chap</a></li>
 </ul>
-<hr>
-<span id="chap"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chap">
+<div class="header">
 <p>
  Up : <a href="#top" accesskey="u" rel="up">top</a> &nbsp; [<a href="#chap" 
title="Index" rel="index">Index</a>]</p>
 </div>
@@ -480,8 +482,9 @@ ul.no-bullet {list-style: none}
 <ul class="section-toc">
 <li><a href="#sec" accesskey="1">sec</a></li>
 </ul>
-<hr>
-<span id="sec"></span><div class="header">
+</div><hr>
+<div class="section" id="sec">
+<div class="header">
 <p>
  Up : <a href="#chap" accesskey="u" rel="up">chap</a> &nbsp; [<a href="#chap" 
title="Index" rel="index">Index</a>]</p>
 </div>
@@ -501,7 +504,7 @@ ul.no-bullet {list-style: none}
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#sec_cp_letter-E"><b>E</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr>
 
 
 
diff --git 
a/tp/t/results/html_tests/redirection_same_labels/res_html/circumflex.html 
b/tp/t/results/html_tests/redirection_same_labels/res_html/circumflex.html
index fc7f798..4dc6de9 100644
--- a/tp/t/results/html_tests/redirection_same_labels/res_html/circumflex.html
+++ b/tp/t/results/html_tests/redirection_same_labels/res_html/circumflex.html
@@ -36,24 +36,28 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="circumflex"></span><div class="header">
+<div class="chapter" id="circumflex">
+<div class="header">
 <p>
 Previous: <a href="umlaut.html#umlaut" accesskey="p" rel="prev">umlaut</a>, 
Up: <a href="index.html" accesskey="u" rel="up">the top</a> &nbsp; </p>
 </div>
-<span id="circumflex-1"></span><h2 class="chapter">2 circumflex</h2>
+<div class="node" id="circumflex-1">
+<h2 class="chapter">2 circumflex</h2>
 
 
-<hr>
-<span id="g_t_00ee"></span><div class="header">
+</div><hr>
+<div class="node" id="g_t_00ee">
+<div class="header">
 <p>
 Up: <a href="#circumflex" accesskey="u" rel="up">circumflex</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">&icirc;</h4>
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Up: <a href="#circumflex" accesskey="u" rel="up">circumflex</a> &nbsp; </p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/t/results/html_tests/redirection_same_labels/res_html/index.html 
b/tp/t/results/html_tests/redirection_same_labels/res_html/index.html
index b92022d..cd0c7b0 100644
--- a/tp/t/results/html_tests/redirection_same_labels/res_html/index.html
+++ b/tp/t/results/html_tests/redirection_same_labels/res_html/index.html
@@ -36,22 +36,25 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="umlaut.html#umlaut" accesskey="n" rel="next">umlaut</a> &nbsp; 
</p>
 </div>
-<span id="the-top"></span><h1 class="top">the top</h1>
+<div class="node" id="the-top">
+<h1 class="top">the top</h1>
 
 
 <ul class="section-toc">
 <li><a href="umlaut.html#umlaut" accesskey="1">umlaut</a></li>
 <li><a href="circumflex.html#circumflex" accesskey="2">circumflex</a></li>
 </ul>
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="umlaut.html#umlaut" accesskey="n" rel="next">umlaut</a> &nbsp; 
</p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/t/results/html_tests/redirection_same_labels/res_html/umlaut.html 
b/tp/t/results/html_tests/redirection_same_labels/res_html/umlaut.html
index 43e25f1..41dad09 100644
--- a/tp/t/results/html_tests/redirection_same_labels/res_html/umlaut.html
+++ b/tp/t/results/html_tests/redirection_same_labels/res_html/umlaut.html
@@ -37,32 +37,37 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="umlaut"></span><div class="header">
+<div class="chapter" id="umlaut">
+<div class="header">
 <p>
 Next: <a href="circumflex.html#circumflex" accesskey="n" 
rel="next">circumflex</a>, Previous: <a href="index.html" accesskey="p" 
rel="prev">the top</a>, Up: <a href="index.html" accesskey="u" rel="up">the 
top</a> &nbsp; </p>
 </div>
-<span id="umlaut-1"></span><h2 class="chapter">1 umlaut</h2>
+<div class="node" id="umlaut-1">
+<h2 class="chapter">1 umlaut</h2>
 
 
-<hr>
-<span id="g_t_00ef"></span><div class="header">
+</div><hr>
+<div class="node" id="g_t_00ef">
+<div class="header">
 <p>
 Next: <a href="#g_t_0129" accesskey="n" rel="next">&#297;</a>, Up: <a 
href="#umlaut" accesskey="u" rel="up">umlaut</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">&iuml;</h4>
 
-<hr>
-<span id="g_t_0129"></span><div class="header">
+</div><hr>
+<div class="node" id="g_t_0129">
+<div class="header">
 <p>
 Previous: <a href="#g_t_00ef" accesskey="p" rel="prev">&iuml;</a>, Up: <a 
href="#umlaut" accesskey="u" rel="up">umlaut</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">&#297;</h4>
 
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Previous: <a href="#g_t_00ef" accesskey="p" rel="prev">&iuml;</a>, Up: <a 
href="#umlaut" accesskey="u" rel="up">umlaut</a> &nbsp; </p>
 </div>
+</div>
 
 
 
diff --git a/tp/t/results/html_tests/ref_in_preformatted.pl 
b/tp/t/results/html_tests/ref_in_preformatted.pl
index fad587e..9d193c0 100644
--- a/tp/t/results/html_tests/ref_in_preformatted.pl
+++ b/tp/t/results/html_tests/ref_in_preformatted.pl
@@ -468,7 +468,8 @@ $result_floats{'ref_in_preformatted'} = {};
 
 
 
-$result_converted{'html_text'}->{'ref_in_preformatted'} = '<span 
id="Top"></span><div class="header">
+$result_converted{'html_text'}->{'ref_in_preformatted'} = '<div class="node" 
id="Top">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
@@ -480,13 +481,14 @@ $result_converted{'html_text'}->{'ref_in_preformatted'} = 
'<span id="Top"></span
 node name</a>
 </pre></div>
 
-<hr>
-<span id="nnn-the-node-name"></span><div class="header">
+</div><hr>
+<div class="node" id="nnn-the-node-name">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
 <h4 class="node-heading">nnn the node name</h4>
-<hr>
+</div><hr>
 ';
 
 1;
diff --git a/tp/t/results/html_tests/shortcontents_no_top.pl 
b/tp/t/results/html_tests/shortcontents_no_top.pl
index 30e4f6e..849f0a1 100644
--- a/tp/t/results/html_tests/shortcontents_no_top.pl
+++ b/tp/t/results/html_tests/shortcontents_no_top.pl
@@ -267,14 +267,17 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chap"></span><h2 class="chapter">1 chap</h2>
+<div class="chapter" id="chap">
+<h2 class="chapter">1 chap</h2>
 
-<span id="chap2"></span><h2 class="chapter">2 chap2</h2>
+</div><div class="chapter" id="chap2">
+<h2 class="chapter">2 chap2</h2>
 
 <ul class="section-toc">
 <li><a href="#sec" accesskey="1">sec</a></li>
 </ul>
-<span id="sec"></span><h3 class="section">2.1 sec</h3>
+</div><div class="section" id="sec">
+<h3 class="section">2.1 sec</h3>
 
 <span id="SEC_Overview"></span>
 <h2 class="shortcontents-heading">Short Table of Contents</h2>
@@ -287,7 +290,7 @@ ul.no-bullet {list-style: none}
 </ul>
 </div>
 
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/html_tests/simple_menu.pl 
b/tp/t/results/html_tests/simple_menu.pl
index 19fee2e..74e6014 100644
--- a/tp/t/results/html_tests/simple_menu.pl
+++ b/tp/t/results/html_tests/simple_menu.pl
@@ -2265,8 +2265,11 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span id="SEC_Top"></span>
-<hr>
+<div class="top" id="Top">
+<div class="node" id="SEC_Top">
+
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/html_tests/test_xrefautomaticsectiontitle.pl 
b/tp/t/results/html_tests/test_xrefautomaticsectiontitle.pl
index 497ec7c..3ff4dbc 100644
--- a/tp/t/results/html_tests/test_xrefautomaticsectiontitle.pl
+++ b/tp/t/results/html_tests/test_xrefautomaticsectiontitle.pl
@@ -707,29 +707,35 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chap" accesskey="n" rel="next">chap</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
 <ul class="section-toc">
 <li><a href="#chap" accesskey="1">chapter</a></li>
 </ul>
-<hr>
-<span id="chap"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chap">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="chapter"></span><h2 class="chapter">1 chapter</h2>
+<div class="node" id="chapter">
+<h2 class="chapter">1 chapter</h2>
 
 
 <p>See <a href="#chap">chapter</a>.
 </p>
 
 <p>See <a href="#chap">chap</a>.
-</p><hr>
+</p></div><hr>
+</div>
+</div>
 
 
 
diff --git 
a/tp/t/results/html_tests/text_before_top_and_contents_after_title.pl 
b/tp/t/results/html_tests/text_before_top_and_contents_after_title.pl
index 74a56c5..6b964e1 100644
--- a/tp/t/results/html_tests/text_before_top_and_contents_after_title.pl
+++ b/tp/t/results/html_tests/text_before_top_and_contents_after_title.pl
@@ -368,17 +368,21 @@ ul.no-bullet {list-style: none}
 
 <p>Some text before top
 </p>
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p>In top.
 </p>
 <ul class="section-toc">
 <li><a href="#the-chap" accesskey="1">the chap</a></li>
 </ul>
-<span id="the-chap"></span><h2 class="chapter">1 the chap</h2>
+</div><div class="chapter" id="the-chap">
+<h2 class="chapter">1 the chap</h2>
 
 
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/html_tests/titles.pl 
b/tp/t/results/html_tests/titles.pl
index 6b669db..171ddbb 100644
--- a/tp/t/results/html_tests/titles.pl
+++ b/tp/t/results/html_tests/titles.pl
@@ -444,12 +444,15 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 <h1 class="settitle" align="center">@title <small>HTML</small> 
<code>test</code></h1>
 
-<span id="Top"></span><span id="Top-of-_0040title-HTML-test"></span><h1 
class="top">Top of @title <small>HTML</small> <code>test</code></h1>
+<div class="top" id="Top">
+<div class="node" id="Top-of-_0040title-HTML-test">
+<h1 class="top">Top of @title <small>HTML</small> <code>test</code></h1>
 
 <p>Top.
 </p>
 <p>Second paragraph.
-</p><hr>
+</p></div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/htmlxref/htmlxref/res_html/test_refs.html 
b/tp/t/results/htmlxref/htmlxref/res_html/test_refs.html
index 6a10541..ccc00e0 100644
--- a/tp/t/results/htmlxref/htmlxref/res_html/test_refs.html
+++ b/tp/t/results/htmlxref/htmlxref/res_html/test_refs.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#other-nodes" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -42,15 +43,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Test-refs"></span><h1 class="top">Test refs</h1>
+<div class="node" id="Test-refs">
+<h1 class="top">Test refs</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#other-nodes">1 Chapter with 
nodes</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<span id="Testing-distant-nodes"></span><h3 class="subheading">Testing distant 
nodes</h3>
-
+<div class="subheading" id="Testing-distant-nodes">
+<h3 class="subheading">Testing distant nodes</h3>
+</div>
 <p><tt> a  node </tt> <a data-manual="manual" 
href="mono-manual.html#a-node">(manual)a  node</a><br>
 </p><div class="example">
 <pre class="example">mono : manual.html#a-node
@@ -75,16 +78,18 @@ split: ../manual/index.html#Top
 split: ../mtexinfo/Cross-References.html#Cross-References
 </pre></div>
 
-<span id="Testing-manual-name"></span><h3 class="subheading">Testing manual 
name</h3>
-
+<div class="subheading" id="Testing-manual-name">
+<h3 class="subheading">Testing manual name</h3>
+</div>
 <p><tt>../manual/doc.texi</tt> <a data-manual="../manual/doc" 
href="doc.html#node">(../manual/doc)node</a><br>
 </p><div class="example">
 <pre class="example">mono : doc.html#node
 split: ../doc/node.html#node
 </pre></div>
 
-<span id="Testing-local-nodes"></span><h3 class="subheading">Testing local 
nodes</h3>
-
+<div class="subheading" id="Testing-local-nodes">
+<h3 class="subheading">Testing local nodes</h3>
+</div>
 <p><tt>!_&quot;#$%&amp;'()*+-.</tt> <a 
href="#g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e">!_&quot;#$%&amp;'()*+-.</a>
 </p><div class="example">
 <pre class="example">target: 
#_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e
@@ -105,8 +110,9 @@ split: ../doc/node.html#node
 <pre class="example">target: #local-node
 </pre></div>
 
-<hr size="6">
-<span id="other-nodes"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="other-nodes">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -121,7 +127,8 @@ split: ../doc/node.html#node
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-with-nodes"></span><h1 class="chapter">1 Chapter with 
nodes</h1>
+<div class="node" id="Chapter-with-nodes">
+<h1 class="chapter">1 Chapter with nodes</h1>
 
 <div class="example">
 <pre class="example">id: other-nodes
@@ -141,20 +148,25 @@ split: ../doc/node.html#node
 </td></tr>
 </table>
 
-<span 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e"></span><div
 class="example">
+</div><div class="node" 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e">
+<div class="example">
 <pre class="example">id: 
_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e
 </pre></div>
 
-<span 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e"></span><div
 class="example">
+</div><div class="node" 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e">
+<div class="example">
 <pre class="example">id: 
002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e
 </pre></div>
 
-<span id="local-node"></span><div class="example">
+</div><div class="node" id="local-node">
+<div class="example">
 <pre class="example">id: local-node
 </pre></div>
 
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -263,7 +275,7 @@ split: ../doc/node.html#node
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/htmlxref/htmlxref_nodes/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
 
b/tp/t/results/htmlxref/htmlxref_nodes/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
index 59c70f2..f476540 100644
--- 
a/tp/t/results/htmlxref/htmlxref_nodes/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
+++ 
b/tp/t/results/htmlxref/htmlxref_nodes/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e"></span><table
 class="header" cellpadding="1" cellspacing="1" border="0">
+<div class="node" 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="other-nodes.html" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Up 
section"> Up </a>]</td>
@@ -55,7 +56,7 @@ ul.no-bullet {list-style: none}
 <pre class="example">id: 
_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e
 </pre></div>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/htmlxref/htmlxref_nodes/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
 
b/tp/t/results/htmlxref/htmlxref_nodes/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
index a10ef48..ef81811 100644
--- 
a/tp/t/results/htmlxref/htmlxref_nodes/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
+++ 
b/tp/t/results/htmlxref/htmlxref_nodes/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e"></span><table
 class="header" cellpadding="1" cellspacing="1" border="0">
+<div class="node" 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="other-nodes.html" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html"
 title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Up 
section"> Up </a>]</td>
@@ -55,7 +56,7 @@ ul.no-bullet {list-style: none}
 <pre class="example">id: 
002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e
 </pre></div>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/htmlxref/htmlxref_nodes/res_html/index.html 
b/tp/t/results/htmlxref/htmlxref_nodes/res_html/index.html
index 4afc322..843ad89 100644
--- a/tp/t/results/htmlxref/htmlxref_nodes/res_html/index.html
+++ b/tp/t/results/htmlxref/htmlxref_nodes/res_html/index.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,15 +44,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="test_refs_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Test-refs"></span><h1 class="top">Test refs</h1>
+<div class="node" id="Test-refs">
+<h1 class="top">Test refs</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="other-nodes.html">other 
nodes</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<span id="Testing-distant-nodes"></span><h3 class="subheading">Testing distant 
nodes</h3>
-
+<div class="subheading" id="Testing-distant-nodes">
+<h3 class="subheading">Testing distant nodes</h3>
+</div>
 <p><tt> a  node </tt> <a data-manual="manual" 
href="split-dir-manual/a-node.html#a-node">(manual)a  node</a><br>
 </p><div class="example">
 <pre class="example">mono : manual.html#a-node
@@ -76,16 +79,18 @@ split: ../manual/index.html#Top
 split: ../mtexinfo/Cross-References.html#Cross-References
 </pre></div>
 
-<span id="Testing-manual-name"></span><h3 class="subheading">Testing manual 
name</h3>
-
+<div class="subheading" id="Testing-manual-name">
+<h3 class="subheading">Testing manual name</h3>
+</div>
 <p><tt>../manual/doc.texi</tt> <a data-manual="../manual/doc" 
href="../doc/node.html#node">(../manual/doc)node</a><br>
 </p><div class="example">
 <pre class="example">mono : doc.html#node
 split: ../doc/node.html#node
 </pre></div>
 
-<span id="Testing-local-nodes"></span><h3 class="subheading">Testing local 
nodes</h3>
-
+<div class="subheading" id="Testing-local-nodes">
+<h3 class="subheading">Testing local nodes</h3>
+</div>
 <p><tt>!_&quot;#$%&amp;'()*+-.</tt> <a 
href="_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html">!_&quot;#$%&amp;'()*+-.</a>
 </p><div class="example">
 <pre class="example">target: 
#_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e
@@ -106,7 +111,7 @@ split: ../doc/node.html#node
 <pre class="example">target: #local-node
 </pre></div>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Next 
section in reading order"> &gt; </a>]</td>
@@ -115,6 +120,7 @@ split: ../doc/node.html#node
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="test_refs_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/htmlxref/htmlxref_nodes/res_html/local-node.html 
b/tp/t/results/htmlxref/htmlxref_nodes/res_html/local-node.html
index 773ba15..de5fa80 100644
--- a/tp/t/results/htmlxref/htmlxref_nodes/res_html/local-node.html
+++ b/tp/t/results/htmlxref/htmlxref_nodes/res_html/local-node.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="local-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="local-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="other-nodes.html" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html"
 title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Up 
section"> Up </a>]</td>
@@ -55,7 +56,7 @@ ul.no-bullet {list-style: none}
 <pre class="example">id: local-node
 </pre></div>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/htmlxref/htmlxref_nodes/res_html/other-nodes.html 
b/tp/t/results/htmlxref/htmlxref_nodes/res_html/other-nodes.html
index 39c4ce8..3dcba94 100644
--- a/tp/t/results/htmlxref/htmlxref_nodes/res_html/other-nodes.html
+++ b/tp/t/results/htmlxref/htmlxref_nodes/res_html/other-nodes.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="other-nodes"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="other-nodes">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -50,7 +51,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="test_refs_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Chapter-with-nodes"></span><h1 class="chapter">1 Chapter with 
nodes</h1>
+<div class="node" id="Chapter-with-nodes">
+<h1 class="chapter">1 Chapter with nodes</h1>
 
 <div class="example">
 <pre class="example">id: other-nodes
@@ -70,7 +72,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/htmlxref/htmlxref_nodes/res_html/test_refs_abt.html 
b/tp/t/results/htmlxref/htmlxref_nodes/res_html/test_refs_abt.html
index 71b8112..defa1c4 100644
--- a/tp/t/results/htmlxref/htmlxref_nodes/res_html/test_refs_abt.html
+++ b/tp/t/results/htmlxref/htmlxref_nodes/res_html/test_refs_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -144,7 +144,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git a/tp/t/results/htmlxref/htmlxref_only_mono/res_html/test_refs.html 
b/tp/t/results/htmlxref/htmlxref_only_mono/res_html/test_refs.html
index 6a10541..ccc00e0 100644
--- a/tp/t/results/htmlxref/htmlxref_only_mono/res_html/test_refs.html
+++ b/tp/t/results/htmlxref/htmlxref_only_mono/res_html/test_refs.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#other-nodes" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -42,15 +43,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Test-refs"></span><h1 class="top">Test refs</h1>
+<div class="node" id="Test-refs">
+<h1 class="top">Test refs</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#other-nodes">1 Chapter with 
nodes</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<span id="Testing-distant-nodes"></span><h3 class="subheading">Testing distant 
nodes</h3>
-
+<div class="subheading" id="Testing-distant-nodes">
+<h3 class="subheading">Testing distant nodes</h3>
+</div>
 <p><tt> a  node </tt> <a data-manual="manual" 
href="mono-manual.html#a-node">(manual)a  node</a><br>
 </p><div class="example">
 <pre class="example">mono : manual.html#a-node
@@ -75,16 +78,18 @@ split: ../manual/index.html#Top
 split: ../mtexinfo/Cross-References.html#Cross-References
 </pre></div>
 
-<span id="Testing-manual-name"></span><h3 class="subheading">Testing manual 
name</h3>
-
+<div class="subheading" id="Testing-manual-name">
+<h3 class="subheading">Testing manual name</h3>
+</div>
 <p><tt>../manual/doc.texi</tt> <a data-manual="../manual/doc" 
href="doc.html#node">(../manual/doc)node</a><br>
 </p><div class="example">
 <pre class="example">mono : doc.html#node
 split: ../doc/node.html#node
 </pre></div>
 
-<span id="Testing-local-nodes"></span><h3 class="subheading">Testing local 
nodes</h3>
-
+<div class="subheading" id="Testing-local-nodes">
+<h3 class="subheading">Testing local nodes</h3>
+</div>
 <p><tt>!_&quot;#$%&amp;'()*+-.</tt> <a 
href="#g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e">!_&quot;#$%&amp;'()*+-.</a>
 </p><div class="example">
 <pre class="example">target: 
#_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e
@@ -105,8 +110,9 @@ split: ../doc/node.html#node
 <pre class="example">target: #local-node
 </pre></div>
 
-<hr size="6">
-<span id="other-nodes"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="other-nodes">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -121,7 +127,8 @@ split: ../doc/node.html#node
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-with-nodes"></span><h1 class="chapter">1 Chapter with 
nodes</h1>
+<div class="node" id="Chapter-with-nodes">
+<h1 class="chapter">1 Chapter with nodes</h1>
 
 <div class="example">
 <pre class="example">id: other-nodes
@@ -141,20 +148,25 @@ split: ../doc/node.html#node
 </td></tr>
 </table>
 
-<span 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e"></span><div
 class="example">
+</div><div class="node" 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e">
+<div class="example">
 <pre class="example">id: 
_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e
 </pre></div>
 
-<span 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e"></span><div
 class="example">
+</div><div class="node" 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e">
+<div class="example">
 <pre class="example">id: 
002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e
 </pre></div>
 
-<span id="local-node"></span><div class="example">
+</div><div class="node" id="local-node">
+<div class="example">
 <pre class="example">id: local-node
 </pre></div>
 
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -263,7 +275,7 @@ split: ../doc/node.html#node
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
 
b/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
index 59c70f2..f476540 100644
--- 
a/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
+++ 
b/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e"></span><table
 class="header" cellpadding="1" cellspacing="1" border="0">
+<div class="node" 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="other-nodes.html" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Up 
section"> Up </a>]</td>
@@ -55,7 +56,7 @@ ul.no-bullet {list-style: none}
 <pre class="example">id: 
_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e
 </pre></div>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
 
b/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
index a10ef48..ef81811 100644
--- 
a/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
+++ 
b/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e"></span><table
 class="header" cellpadding="1" cellspacing="1" border="0">
+<div class="node" 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="other-nodes.html" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html"
 title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Up 
section"> Up </a>]</td>
@@ -55,7 +56,7 @@ ul.no-bullet {list-style: none}
 <pre class="example">id: 
002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e
 </pre></div>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/index.html 
b/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/index.html
index b9613e3..984c5a0 100644
--- a/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/index.html
+++ b/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/index.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,15 +44,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="test_refs_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Test-refs"></span><h1 class="top">Test refs</h1>
+<div class="node" id="Test-refs">
+<h1 class="top">Test refs</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="other-nodes.html">other 
nodes</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<span id="Testing-distant-nodes"></span><h3 class="subheading">Testing distant 
nodes</h3>
-
+<div class="subheading" id="Testing-distant-nodes">
+<h3 class="subheading">Testing distant nodes</h3>
+</div>
 <p><tt> a  node </tt> <a data-manual="manual" 
href="mono-manual.html#a-node">(manual)a  node</a><br>
 </p><div class="example">
 <pre class="example">mono : manual.html#a-node
@@ -76,16 +79,18 @@ split: ../manual/index.html#Top
 split: ../mtexinfo/Cross-References.html#Cross-References
 </pre></div>
 
-<span id="Testing-manual-name"></span><h3 class="subheading">Testing manual 
name</h3>
-
+<div class="subheading" id="Testing-manual-name">
+<h3 class="subheading">Testing manual name</h3>
+</div>
 <p><tt>../manual/doc.texi</tt> <a data-manual="../manual/doc" 
href="../doc/node.html#node">(../manual/doc)node</a><br>
 </p><div class="example">
 <pre class="example">mono : doc.html#node
 split: ../doc/node.html#node
 </pre></div>
 
-<span id="Testing-local-nodes"></span><h3 class="subheading">Testing local 
nodes</h3>
-
+<div class="subheading" id="Testing-local-nodes">
+<h3 class="subheading">Testing local nodes</h3>
+</div>
 <p><tt>!_&quot;#$%&amp;'()*+-.</tt> <a 
href="_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html">!_&quot;#$%&amp;'()*+-.</a>
 </p><div class="example">
 <pre class="example">target: 
#_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e
@@ -106,7 +111,7 @@ split: ../doc/node.html#node
 <pre class="example">target: #local-node
 </pre></div>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Next 
section in reading order"> &gt; </a>]</td>
@@ -115,6 +120,7 @@ split: ../doc/node.html#node
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="test_refs_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/local-node.html 
b/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/local-node.html
index 773ba15..de5fa80 100644
--- a/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/local-node.html
+++ b/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/local-node.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="local-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="local-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="other-nodes.html" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html"
 title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Up 
section"> Up </a>]</td>
@@ -55,7 +56,7 @@ ul.no-bullet {list-style: none}
 <pre class="example">id: local-node
 </pre></div>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/other-nodes.html 
b/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/other-nodes.html
index 39c4ce8..3dcba94 100644
--- a/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/other-nodes.html
+++ b/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/other-nodes.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="other-nodes"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="other-nodes">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -50,7 +51,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="test_refs_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Chapter-with-nodes"></span><h1 class="chapter">1 Chapter with 
nodes</h1>
+<div class="node" id="Chapter-with-nodes">
+<h1 class="chapter">1 Chapter with nodes</h1>
 
 <div class="example">
 <pre class="example">id: other-nodes
@@ -70,7 +72,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/test_refs_abt.html 
b/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/test_refs_abt.html
index 71b8112..defa1c4 100644
--- a/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/test_refs_abt.html
+++ b/tp/t/results/htmlxref/htmlxref_only_mono_nodes/res_html/test_refs_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -144,7 +144,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git a/tp/t/results/htmlxref/htmlxref_only_split/res_html/test_refs.html 
b/tp/t/results/htmlxref/htmlxref_only_split/res_html/test_refs.html
index a3a818b..0742ae8 100644
--- a/tp/t/results/htmlxref/htmlxref_only_split/res_html/test_refs.html
+++ b/tp/t/results/htmlxref/htmlxref_only_split/res_html/test_refs.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#other-nodes" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -42,15 +43,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Test-refs"></span><h1 class="top">Test refs</h1>
+<div class="node" id="Test-refs">
+<h1 class="top">Test refs</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#other-nodes">1 Chapter with 
nodes</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<span id="Testing-distant-nodes"></span><h3 class="subheading">Testing distant 
nodes</h3>
-
+<div class="subheading" id="Testing-distant-nodes">
+<h3 class="subheading">Testing distant nodes</h3>
+</div>
 <p><tt> a  node </tt> <a data-manual="manual" 
href="split-dir-manual/a-node.html#a-node">(manual)a  node</a><br>
 </p><div class="example">
 <pre class="example">mono : manual.html#a-node
@@ -75,16 +78,18 @@ split: ../manual/index.html#Top
 split: ../mtexinfo/Cross-References.html#Cross-References
 </pre></div>
 
-<span id="Testing-manual-name"></span><h3 class="subheading">Testing manual 
name</h3>
-
+<div class="subheading" id="Testing-manual-name">
+<h3 class="subheading">Testing manual name</h3>
+</div>
 <p><tt>../manual/doc.texi</tt> <a data-manual="../manual/doc" 
href="doc.html#node">(../manual/doc)node</a><br>
 </p><div class="example">
 <pre class="example">mono : doc.html#node
 split: ../doc/node.html#node
 </pre></div>
 
-<span id="Testing-local-nodes"></span><h3 class="subheading">Testing local 
nodes</h3>
-
+<div class="subheading" id="Testing-local-nodes">
+<h3 class="subheading">Testing local nodes</h3>
+</div>
 <p><tt>!_&quot;#$%&amp;'()*+-.</tt> <a 
href="#g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e">!_&quot;#$%&amp;'()*+-.</a>
 </p><div class="example">
 <pre class="example">target: 
#_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e
@@ -105,8 +110,9 @@ split: ../doc/node.html#node
 <pre class="example">target: #local-node
 </pre></div>
 
-<hr size="6">
-<span id="other-nodes"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="other-nodes">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -121,7 +127,8 @@ split: ../doc/node.html#node
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-with-nodes"></span><h1 class="chapter">1 Chapter with 
nodes</h1>
+<div class="node" id="Chapter-with-nodes">
+<h1 class="chapter">1 Chapter with nodes</h1>
 
 <div class="example">
 <pre class="example">id: other-nodes
@@ -141,20 +148,25 @@ split: ../doc/node.html#node
 </td></tr>
 </table>
 
-<span 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e"></span><div
 class="example">
+</div><div class="node" 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e">
+<div class="example">
 <pre class="example">id: 
_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e
 </pre></div>
 
-<span 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e"></span><div
 class="example">
+</div><div class="node" 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e">
+<div class="example">
 <pre class="example">id: 
002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e
 </pre></div>
 
-<span id="local-node"></span><div class="example">
+</div><div class="node" id="local-node">
+<div class="example">
 <pre class="example">id: local-node
 </pre></div>
 
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -263,7 +275,7 @@ split: ../doc/node.html#node
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
 
b/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
index 59c70f2..f476540 100644
--- 
a/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
+++ 
b/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e"></span><table
 class="header" cellpadding="1" cellspacing="1" border="0">
+<div class="node" 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="other-nodes.html" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Up 
section"> Up </a>]</td>
@@ -55,7 +56,7 @@ ul.no-bullet {list-style: none}
 <pre class="example">id: 
_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e
 </pre></div>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
 
b/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
index a10ef48..ef81811 100644
--- 
a/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
+++ 
b/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e"></span><table
 class="header" cellpadding="1" cellspacing="1" border="0">
+<div class="node" 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="other-nodes.html" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html"
 title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Up 
section"> Up </a>]</td>
@@ -55,7 +56,7 @@ ul.no-bullet {list-style: none}
 <pre class="example">id: 
002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e
 </pre></div>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/index.html 
b/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/index.html
index 4afc322..843ad89 100644
--- a/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/index.html
+++ b/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/index.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,15 +44,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="test_refs_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Test-refs"></span><h1 class="top">Test refs</h1>
+<div class="node" id="Test-refs">
+<h1 class="top">Test refs</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="other-nodes.html">other 
nodes</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<span id="Testing-distant-nodes"></span><h3 class="subheading">Testing distant 
nodes</h3>
-
+<div class="subheading" id="Testing-distant-nodes">
+<h3 class="subheading">Testing distant nodes</h3>
+</div>
 <p><tt> a  node </tt> <a data-manual="manual" 
href="split-dir-manual/a-node.html#a-node">(manual)a  node</a><br>
 </p><div class="example">
 <pre class="example">mono : manual.html#a-node
@@ -76,16 +79,18 @@ split: ../manual/index.html#Top
 split: ../mtexinfo/Cross-References.html#Cross-References
 </pre></div>
 
-<span id="Testing-manual-name"></span><h3 class="subheading">Testing manual 
name</h3>
-
+<div class="subheading" id="Testing-manual-name">
+<h3 class="subheading">Testing manual name</h3>
+</div>
 <p><tt>../manual/doc.texi</tt> <a data-manual="../manual/doc" 
href="../doc/node.html#node">(../manual/doc)node</a><br>
 </p><div class="example">
 <pre class="example">mono : doc.html#node
 split: ../doc/node.html#node
 </pre></div>
 
-<span id="Testing-local-nodes"></span><h3 class="subheading">Testing local 
nodes</h3>
-
+<div class="subheading" id="Testing-local-nodes">
+<h3 class="subheading">Testing local nodes</h3>
+</div>
 <p><tt>!_&quot;#$%&amp;'()*+-.</tt> <a 
href="_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html">!_&quot;#$%&amp;'()*+-.</a>
 </p><div class="example">
 <pre class="example">target: 
#_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e
@@ -106,7 +111,7 @@ split: ../doc/node.html#node
 <pre class="example">target: #local-node
 </pre></div>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Next 
section in reading order"> &gt; </a>]</td>
@@ -115,6 +120,7 @@ split: ../doc/node.html#node
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="test_refs_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/local-node.html 
b/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/local-node.html
index 773ba15..de5fa80 100644
--- a/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/local-node.html
+++ b/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/local-node.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="local-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="local-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="other-nodes.html" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html"
 title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="other-nodes.html" title="Up 
section"> Up </a>]</td>
@@ -55,7 +56,7 @@ ul.no-bullet {list-style: none}
 <pre class="example">id: local-node
 </pre></div>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/other-nodes.html 
b/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/other-nodes.html
index 39c4ce8..3dcba94 100644
--- a/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/other-nodes.html
+++ b/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/other-nodes.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="other-nodes"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="other-nodes">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -50,7 +51,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="test_refs_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Chapter-with-nodes"></span><h1 class="chapter">1 Chapter with 
nodes</h1>
+<div class="node" id="Chapter-with-nodes">
+<h1 class="chapter">1 Chapter with nodes</h1>
 
 <div class="example">
 <pre class="example">id: other-nodes
@@ -70,7 +72,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/test_refs_abt.html 
b/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/test_refs_abt.html
index 71b8112..defa1c4 100644
--- 
a/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/test_refs_abt.html
+++ 
b/tp/t/results/htmlxref/htmlxref_only_split_nodes/res_html/test_refs_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -144,7 +144,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git a/tp/t/results/indices/def_syn_indices.pl 
b/tp/t/results/indices/def_syn_indices.pl
index 4bd2687..0b39106 100644
--- a/tp/t/results/indices/def_syn_indices.pl
+++ b/tp/t/results/indices/def_syn_indices.pl
@@ -1772,7 +1772,8 @@ $result_converted{'plaintext'}->{'def_syn_indices'} = 
'definedx truc after
 
 $result_converted{'html_text'}->{'def_syn_indices'} = '
 
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <p>definedx truc
 after
@@ -1866,7 +1867,7 @@ after
 <a class="summary-letter" href="#t_h_fn_letter-I"><b>I</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git 
a/tp/t/results/indices/default_cp_index_and_one_letter_syncodeindex.pl 
b/tp/t/results/indices/default_cp_index_and_one_letter_syncodeindex.pl
index 5724ab4..757baf4 100644
--- a/tp/t/results/indices/default_cp_index_and_one_letter_syncodeindex.pl
+++ b/tp/t/results/indices/default_cp_index_and_one_letter_syncodeindex.pl
@@ -374,7 +374,8 @@ 
$result_converted{'plaintext'}->{'default_cp_index_and_one_letter_syncodeindex'}
 ';
 
 
-$result_converted{'html_text'}->{'default_cp_index_and_one_letter_syncodeindex'}
 = '<span id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'default_cp_index_and_one_letter_syncodeindex'}
 = '<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 
 <span id="index-_002d_002dcindex"></span>
@@ -392,7 +393,7 @@ 
$result_converted{'html_text'}->{'default_cp_index_and_one_letter_syncodeindex'}
 </table>
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_fn_symbol-1"><b>-</b></a>
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/double_index_entry.pl 
b/tp/t/results/indices/double_index_entry.pl
index 076a434..cfb1371 100644
--- a/tp/t/results/indices/double_index_entry.pl
+++ b/tp/t/results/indices/double_index_entry.pl
@@ -657,7 +657,8 @@ $result_converted{'plaintext'}->{'double_index_entry'} = 
'Text
 ';
 
 
-$result_converted{'html_text'}->{'double_index_entry'} = '<span 
id="Top"></span><div class="header">
+$result_converted{'html_text'}->{'double_index_entry'} = '<div class="node" 
id="Top">
+<div class="header">
 <p>
  &nbsp; [<a href="#other-node" title="Index" rel="index">Index</a>]</p>
 </div>
@@ -670,8 +671,9 @@ $result_converted{'html_text'}->{'double_index_entry'} = 
'<span id="Top"></span>
 <span id="index-aaa-1"></span>
 
 
-<hr>
-<span id="other-node"></span><div class="header">
+</div><hr>
+<div class="node" id="other-node">
+<div class="header">
 <p>
  &nbsp; [<a href="#other-node" title="Index" rel="index">Index</a>]</p>
 </div>
@@ -694,7 +696,7 @@ $result_converted{'html_text'}->{'double_index_entry'} = 
'<span id="Top"></span>
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_letter-A"><b>A</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr>
 ';
 
 1;
diff --git a/tp/t/results/indices/double_syncodeindex.pl 
b/tp/t/results/indices/double_syncodeindex.pl
index b4f8e60..8a41be2 100644
--- a/tp/t/results/indices/double_syncodeindex.pl
+++ b/tp/t/results/indices/double_syncodeindex.pl
@@ -457,7 +457,8 @@ $result_converted{'plaintext'}->{'double_syncodeindex'} = 
'* Menu:
 
 
 $result_converted{'html_text'}->{'double_syncodeindex'} = '
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <span id="index-cindex-entry"></span>
 <span id="index-findex-entry"></span>
@@ -482,7 +483,7 @@ $result_converted{'html_text'}->{'double_syncodeindex'} = '
 <a class="summary-letter" href="#t_h_fn_letter-F"><b>F</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/empty_cindex_entry.pl 
b/tp/t/results/indices/empty_cindex_entry.pl
index 4c83117..57d35a5 100644
--- a/tp/t/results/indices/empty_cindex_entry.pl
+++ b/tp/t/results/indices/empty_cindex_entry.pl
@@ -153,8 +153,9 @@ End:
 $result_converted{'plaintext'}->{'empty_cindex_entry'} = '';
 
 
-$result_converted{'html_text'}->{'empty_cindex_entry'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
-<hr>
+$result_converted{'html_text'}->{'empty_cindex_entry'} = '<div class="node" 
id="Top">
+<h1 class="node-heading">Top</h1>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/empty_index_entry.pl 
b/tp/t/results/indices/empty_index_entry.pl
index 2cb212c..78e399a 100644
--- a/tp/t/results/indices/empty_index_entry.pl
+++ b/tp/t/results/indices/empty_index_entry.pl
@@ -317,13 +317,14 @@ $result_converted{'plaintext'}->{'empty_index_entry'} = ' 
-- :
 ';
 
 
-$result_converted{'html_text'}->{'empty_index_entry'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'empty_index_entry'} = '<div class="node" 
id="Top">
+<h1 class="node-heading">Top</h1>
 
 <dl class="def">
 <dt><span class="category">: </span><span><strong></strong></span></dt>
 </dl>
 
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/empty_string_index_entry.pl 
b/tp/t/results/indices/empty_string_index_entry.pl
index c84ae9b..5a85852 100644
--- a/tp/t/results/indices/empty_string_index_entry.pl
+++ b/tp/t/results/indices/empty_string_index_entry.pl
@@ -948,7 +948,8 @@ 
$result_converted{'plaintext'}->{'empty_string_index_entry'} = '\'\'
 ';
 
 
-$result_converted{'html_text'}->{'empty_string_index_entry'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'empty_string_index_entry'} = '<div 
class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <span id="index-"></span>
 
@@ -961,7 +962,7 @@ 
$result_converted{'html_text'}->{'empty_string_index_entry'} = '<span id="Top"><
 <dt id="index--3"><span class="category">Function: </span><span><strong><!-- 
/@w --></strong> <em> </em><a href=\'#index--3\' class=\'copiable-anchor\'> 
&para;</a></span></dt>
 </dl>
 
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/encoding_index_ascii/res_html/index.html 
b/tp/t/results/indices/encoding_index_ascii/res_html/index.html
index 218cc67..7131d7c 100644
--- a/tp/t/results/indices/encoding_index_ascii/res_html/index.html
+++ b/tp/t/results/indices/encoding_index_ascii/res_html/index.html
@@ -37,7 +37,9 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <span id="index-e-e"></span>
 <span id="index-i-iii"></span>
@@ -374,7 +376,8 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_cp_letter-Z"><b>Z</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git 
a/tp/t/results/indices/encoding_index_ascii_enable_encoding/res_html/index.html 
b/tp/t/results/indices/encoding_index_ascii_enable_encoding/res_html/index.html
index 218cc67..7131d7c 100644
--- 
a/tp/t/results/indices/encoding_index_ascii_enable_encoding/res_html/index.html
+++ 
b/tp/t/results/indices/encoding_index_ascii_enable_encoding/res_html/index.html
@@ -37,7 +37,9 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <span id="index-e-e"></span>
 <span id="index-i-iii"></span>
@@ -374,7 +376,8 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_cp_letter-Z"><b>Z</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/indices/encoding_index_latin1/res_html/index.html 
b/tp/t/results/indices/encoding_index_latin1/res_html/index.html
index 4e7d79d..7d2923c 100644
--- a/tp/t/results/indices/encoding_index_latin1/res_html/index.html
+++ b/tp/t/results/indices/encoding_index_latin1/res_html/index.html
@@ -36,7 +36,9 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <span id="index-e-e"></span>
 <span id="index-i-iii"></span>
@@ -379,7 +381,8 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_cp_letter-�"><b>�</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git 
a/tp/t/results/indices/encoding_index_latin1_enable_encoding/res_html/index.html
 
b/tp/t/results/indices/encoding_index_latin1_enable_encoding/res_html/index.html
index f5facb9..ff9ee0a 100644
--- 
a/tp/t/results/indices/encoding_index_latin1_enable_encoding/res_html/index.html
+++ 
b/tp/t/results/indices/encoding_index_latin1_enable_encoding/res_html/index.html
@@ -36,7 +36,9 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <span id="index-e-e"></span>
 <span id="index-i-iii"></span>
@@ -421,7 +423,8 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_cp_letter-�"><b>�</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/indices/encoding_index_utf8/res_html/index.html 
b/tp/t/results/indices/encoding_index_utf8/res_html/index.html
index 2028ff3..d0b2e53 100644
--- a/tp/t/results/indices/encoding_index_utf8/res_html/index.html
+++ b/tp/t/results/indices/encoding_index_utf8/res_html/index.html
@@ -36,7 +36,9 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <span id="index-e-e"></span>
 <span id="index-i-iii"></span>
@@ -379,7 +381,8 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_cp_letter-É"><b>É</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git 
a/tp/t/results/indices/encoding_index_utf8_enable_encoding/res_html/index.html 
b/tp/t/results/indices/encoding_index_utf8_enable_encoding/res_html/index.html
index e481cd4..567fa3a 100644
--- 
a/tp/t/results/indices/encoding_index_utf8_enable_encoding/res_html/index.html
+++ 
b/tp/t/results/indices/encoding_index_utf8_enable_encoding/res_html/index.html
@@ -36,7 +36,9 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <span id="index-e-e"></span>
 <span id="index-i-iii"></span>
@@ -439,7 +441,8 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_cp_letter-Ł"><b>Ł</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/indices/explicit_sort_key.pl 
b/tp/t/results/indices/explicit_sort_key.pl
index f7d257b..0812a67 100644
--- a/tp/t/results/indices/explicit_sort_key.pl
+++ b/tp/t/results/indices/explicit_sort_key.pl
@@ -997,7 +997,9 @@ $result_converted{'plaintext'}->{'explicit_sort_key'} = 'in 
a reuglar para.  \'i
 ';
 
 
-$result_converted{'html_text'}->{'explicit_sort_key'} = '<span 
id="Top"></span><span id="SEC_Top"></span>
+$result_converted{'html_text'}->{'explicit_sort_key'} = '<div class="top" 
id="Top">
+<div class="node" id="SEC_Top">
+
 
 <span id="index-Abbbbbbb-_0028first_0029"></span>
 <span id="index-Baaaaaaa-_0028second_0029"></span>
@@ -1039,7 +1041,7 @@ $result_converted{'html_text'}->{'explicit_sort_key'} = 
'<span id="Top"></span><
 <a class="summary-letter" href="#t_h_SK_letter-B"><b>B</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/ftable_vtable.pl 
b/tp/t/results/indices/ftable_vtable.pl
index a36da6c..f3d7e3e 100644
--- a/tp/t/results/indices/ftable_vtable.pl
+++ b/tp/t/results/indices/ftable_vtable.pl
@@ -923,7 +923,8 @@ _var3_
 
 
 $result_converted{'html_text'}->{'ftable_vtable'} = '
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <dl compact="compact">
 <dt id=\'index-function1\'><span><em>function1</em><a 
href=\'#index-function1\' class=\'copiable-anchor\'> &para;</a></span></dt>
@@ -976,7 +977,7 @@ $result_converted{'html_text'}->{'ftable_vtable'} = '
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/image_lines_count.pl 
b/tp/t/results/indices/image_lines_count.pl
index 288c17c..495eefe 100644
--- a/tp/t/results/indices/image_lines_count.pl
+++ b/tp/t/results/indices/image_lines_count.pl
@@ -291,7 +291,8 @@ ff
 ';
 
 
-$result_converted{'html_text'}->{'image_lines_count'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'image_lines_count'} = '<div class="node" 
id="Top">
+<h1 class="node-heading">Top</h1>
 
 <img src="count_image.png" alt="count_image">
 
@@ -310,7 +311,7 @@ $result_converted{'html_text'}->{'image_lines_count'} = 
'<span id="Top"></span><
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_letter-I"><b>I</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/image_text_lines_count.pl 
b/tp/t/results/indices/image_text_lines_count.pl
index 24b3e14..3e2af59 100644
--- a/tp/t/results/indices/image_text_lines_count.pl
+++ b/tp/t/results/indices/image_text_lines_count.pl
@@ -290,7 +290,8 @@ ff
 ';
 
 
-$result_converted{'html_text'}->{'image_text_lines_count'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'image_text_lines_count'} = '<div 
class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <img src="count_image_text.jpg" alt="count_image_text">
 
@@ -309,7 +310,7 @@ $result_converted{'html_text'}->{'image_text_lines_count'} 
= '<span id="Top"></s
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_letter-I"><b>I</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 $result_converted_errors{'html_text'}->{'image_text_lines_count'} = [
diff --git a/tp/t/results/indices/index_entries_locations.pl 
b/tp/t/results/indices/index_entries_locations.pl
index 18e27c4..2c38f93 100644
--- a/tp/t/results/indices/index_entries_locations.pl
+++ b/tp/t/results/indices/index_entries_locations.pl
@@ -543,7 +543,8 @@ $result_converted{'plaintext'}->{'index_entries_locations'} 
= 'Initial paragraph
 
 
 $result_converted{'html_text'}->{'index_entries_locations'} = '
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <p>Initial paragraph.
 </p>
@@ -583,7 +584,7 @@ end paragraph.
 <a class="summary-letter" href="#t_h_cp_letter-L"><b>L</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/index_entry_before_first_node.pl 
b/tp/t/results/indices/index_entry_before_first_node.pl
index dbd1398..9d7f563 100644
Binary files a/tp/t/results/indices/index_entry_before_first_node.pl and 
b/tp/t/results/indices/index_entry_before_first_node.pl differ
diff --git a/tp/t/results/indices/index_entry_before_node.pl 
b/tp/t/results/indices/index_entry_before_node.pl
index 640b11f..00a4e72 100644
--- a/tp/t/results/indices/index_entry_before_node.pl
+++ b/tp/t/results/indices/index_entry_before_node.pl
@@ -750,15 +750,17 @@ 
$result_converted{'plaintext'}->{'index_entry_before_node'} = 'Para.
 ';
 
 
-$result_converted{'html_text'}->{'index_entry_before_node'} = '<span 
id="Top"></span><div class="header">
+$result_converted{'html_text'}->{'index_entry_before_node'} = '<div 
class="node" id="Top">
+<div class="header">
 <p>
  &nbsp; [<a href="#second" title="Index" rel="index">Index</a>]</p>
 </div>
 <h1 class="node-heading">Top</h1>
 
 
-<hr>
-<span id="first"></span><div class="header">
+</div><hr>
+<div class="node" id="first">
+<div class="header">
 <p>
  &nbsp; [<a href="#second" title="Index" rel="index">Index</a>]</p>
 </div>
@@ -768,8 +770,9 @@ $result_converted{'html_text'}->{'index_entry_before_node'} 
= '<span id="Top"></
 </p>
 <span id="index-lone-entry"></span>
 
-<hr>
-<span id="second"></span><div class="header">
+</div><hr>
+<div class="node" id="second">
+<div class="header">
 <p>
  &nbsp; [<a href="#second" title="Index" rel="index">Index</a>]</p>
 </div>
@@ -788,7 +791,7 @@ $result_converted{'html_text'}->{'index_entry_before_node'} 
= '<span id="Top"></
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_letter-L"><b>L</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr>
 ';
 
 1;
diff --git a/tp/t/results/indices/index_entry_in_footnote.pl 
b/tp/t/results/indices/index_entry_in_footnote.pl
index c00c648..afbe448 100644
--- a/tp/t/results/indices/index_entry_in_footnote.pl
+++ b/tp/t/results/indices/index_entry_in_footnote.pl
@@ -298,7 +298,8 @@ $result_converted{'plaintext'}->{'index_entry_in_footnote'} 
= 'Top node(1)
 ';
 
 
-$result_converted{'html_text'}->{'index_entry_in_footnote'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'index_entry_in_footnote'} = '<div 
class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <p>Top node<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
@@ -315,7 +316,7 @@ $result_converted{'html_text'}->{'index_entry_in_footnote'} 
= '<span id="Top"></
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_letter-I"><b>I</b></a>
  &nbsp; 
 </td></tr></table>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -324,7 +325,7 @@ $result_converted{'html_text'}->{'index_entry_in_footnote'} 
= '<span id="Top"></
 <span id="index-index-entry-in-footnote"></span>
 </p>
 </div>
-<hr>
+<hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/index_entry_in_footnote_different_node_end.pl 
b/tp/t/results/indices/index_entry_in_footnote_different_node_end.pl
index 143cfe9..4721d48 100644
--- a/tp/t/results/indices/index_entry_in_footnote_different_node_end.pl
+++ b/tp/t/results/indices/index_entry_in_footnote_different_node_end.pl
@@ -654,7 +654,8 @@ 
$result_converted{'plaintext'}->{'index_entry_in_footnote_different_node_end'} =
 ';
 
 
-$result_converted{'html_text'}->{'index_entry_in_footnote_different_node_end'} 
= '<span id="Top"></span><div class="header">
+$result_converted{'html_text'}->{'index_entry_in_footnote_different_node_end'} 
= '<div class="node" id="Top">
+<div class="header">
 <p>
  &nbsp; [<a href="#First" title="Index" rel="index">Index</a>]</p>
 </div>
@@ -663,8 +664,9 @@ 
$result_converted{'html_text'}->{'index_entry_in_footnote_different_node_end'} =
 
 <p>Top node<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
-<hr>
-<span id="First"></span><div class="header">
+</div><hr>
+<div class="node" id="First">
+<div class="header">
 <p>
  &nbsp; [<a href="#First" title="Index" rel="index">Index</a>]</p>
 </div>
@@ -690,7 +692,7 @@ 
$result_converted{'html_text'}->{'index_entry_in_footnote_different_node_end'} =
 <a class="summary-letter" href="#t_h_cp_letter-I"><b>I</b></a>
  &nbsp; 
 </td></tr></table>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
diff --git a/tp/t/results/indices/index_entry_in_footnote_separate.pl 
b/tp/t/results/indices/index_entry_in_footnote_separate.pl
index 5a19644..8ce3d7f 100644
--- a/tp/t/results/indices/index_entry_in_footnote_separate.pl
+++ b/tp/t/results/indices/index_entry_in_footnote_separate.pl
@@ -690,7 +690,8 @@ 
$result_converted{'plaintext'}->{'index_entry_in_footnote_separate'} = 'Top node
 ';
 
 
-$result_converted{'html_text'}->{'index_entry_in_footnote_separate'} = '<span 
id="Top"></span><div class="header">
+$result_converted{'html_text'}->{'index_entry_in_footnote_separate'} = '<div 
class="node" id="Top">
+<div class="header">
 <p>
  &nbsp; [<a href="#First" title="Index" rel="index">Index</a>]</p>
 </div>
@@ -699,8 +700,9 @@ 
$result_converted{'html_text'}->{'index_entry_in_footnote_separate'} = '<span id
 
 <p>Top node<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
-<hr>
-<span id="First"></span><div class="header">
+</div><hr>
+<div class="node" id="First">
+<div class="header">
 <p>
  &nbsp; [<a href="#First" title="Index" rel="index">Index</a>]</p>
 </div>
@@ -726,7 +728,7 @@ 
$result_converted{'html_text'}->{'index_entry_in_footnote_separate'} = '<span id
 <a class="summary-letter" href="#t_h_cp_letter-I"><b>I</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr>
 ';
 
 1;
diff --git a/tp/t/results/indices/printindex_index_entry_in_copying.pl 
b/tp/t/results/indices/printindex_index_entry_in_copying.pl
index bfbc14f..4ca16f0 100644
--- a/tp/t/results/indices/printindex_index_entry_in_copying.pl
+++ b/tp/t/results/indices/printindex_index_entry_in_copying.pl
@@ -1407,11 +1407,13 @@ xftable xitem
 
 
 $result_converted{'html_text'}->{'printindex_index_entry_in_copying'} = '
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
  &nbsp; [<a href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p>Top.
 </p>
@@ -1463,12 +1465,14 @@ 
$result_converted{'html_text'}->{'printindex_index_entry_in_copying'} = '
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">Chapter</a></li>
 </ul>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
  &nbsp; [<a href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
-<span id="Chapter"></span><h2 class="chapter">1 Chapter</h2>
+<div class="node" id="Chapter">
+<h2 class="chapter">1 Chapter</h2>
 
 
 <span id="index-copying-Copying-this-document"></span>
@@ -1545,7 +1549,7 @@ 
$result_converted{'html_text'}->{'printindex_index_entry_in_copying'} = '
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 ';
 
 1;
diff --git 
a/tp/t/results/indices/printindex_index_entry_in_copying_in_footnote.pl 
b/tp/t/results/indices/printindex_index_entry_in_copying_in_footnote.pl
index 3ec9bb7..58e2566 100644
--- a/tp/t/results/indices/printindex_index_entry_in_copying_in_footnote.pl
+++ b/tp/t/results/indices/printindex_index_entry_in_copying_in_footnote.pl
@@ -890,11 +890,13 @@ Copying(1).
 
 
 
$result_converted{'html_text'}->{'printindex_index_entry_in_copying_in_footnote'}
 = '
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
  &nbsp; [<a href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p>Top.
 </p>
@@ -919,12 +921,14 @@ 
$result_converted{'html_text'}->{'printindex_index_entry_in_copying_in_footnote'
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">Chapter</a></li>
 </ul>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
  &nbsp; [<a href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
-<span id="Chapter"></span><h2 class="chapter">1 Chapter</h2>
+<div class="node" id="Chapter">
+<h2 class="chapter">1 Chapter</h2>
 
 
 <p>Copying<a id="DOCF1_2" href="#FOOT1_2"><sup>2</sup></a>.
@@ -944,7 +948,7 @@ 
$result_converted{'html_text'}->{'printindex_index_entry_in_copying_in_footnote'
 </td></tr></table>
 
 
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
diff --git 
a/tp/t/results/indices/printindex_index_entry_in_copying_no_insertcopying.pl 
b/tp/t/results/indices/printindex_index_entry_in_copying_no_insertcopying.pl
index a5e6d52..a794305 100644
--- a/tp/t/results/indices/printindex_index_entry_in_copying_no_insertcopying.pl
+++ b/tp/t/results/indices/printindex_index_entry_in_copying_no_insertcopying.pl
@@ -1295,11 +1295,13 @@ Top.
 
 
 
$result_converted{'html_text'}->{'printindex_index_entry_in_copying_no_insertcopying'}
 = '
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p>Top.
 </p>
@@ -1307,12 +1309,14 @@ 
$result_converted{'html_text'}->{'printindex_index_entry_in_copying_no_insertcop
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">Chapter</a></li>
 </ul>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
-<span id="Chapter"></span><h2 class="chapter">1 Chapter</h2>
+<div class="node" id="Chapter">
+<h2 class="chapter">1 Chapter</h2>
 
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_fn_letter-C"><b>C</b></a>
@@ -1345,7 +1349,7 @@ 
$result_converted{'html_text'}->{'printindex_index_entry_in_copying_no_insertcop
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 ';
 
 1;
diff --git a/tp/t/results/indices/printindex_with_space_before.pl 
b/tp/t/results/indices/printindex_with_space_before.pl
index 105888c..c6b865e 100644
Binary files a/tp/t/results/indices/printindex_with_space_before.pl and 
b/tp/t/results/indices/printindex_with_space_before.pl differ
diff --git a/tp/t/results/indices/same_index_entry_merged_indices.pl 
b/tp/t/results/indices/same_index_entry_merged_indices.pl
index 33d6e0c..eb37aac 100644
--- a/tp/t/results/indices/same_index_entry_merged_indices.pl
+++ b/tp/t/results/indices/same_index_entry_merged_indices.pl
@@ -740,7 +740,9 @@ 
$result_converted{'plaintext'}->{'same_index_entry_merged_indices'} = 'Text.
 
 
 $result_converted{'html_text'}->{'same_index_entry_merged_indices'} = '
-<span id="Top"></span><span id="SEC_Top"></span>
+<div class="top" id="Top">
+<div class="node" id="SEC_Top">
+
 <p>Text.
 </p>
 <dl class="def">
@@ -767,7 +769,7 @@ 
$result_converted{'html_text'}->{'same_index_entry_merged_indices'} = '
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_fn_letter-M"><b>M</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/seealso_duplicate.pl 
b/tp/t/results/indices/seealso_duplicate.pl
index cc78837..be1075a 100644
--- a/tp/t/results/indices/seealso_duplicate.pl
+++ b/tp/t/results/indices/seealso_duplicate.pl
@@ -446,7 +446,8 @@ $result_converted{'plaintext'}->{'seealso_duplicate'} = '* 
Menu:
 ';
 
 
-$result_converted{'html_text'}->{'seealso_duplicate'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'seealso_duplicate'} = '<div class="node" 
id="Top">
+<h1 class="node-heading">Top</h1>
 
 <span id="index-awk"></span>
 <span id="index-awk-1"></span>
@@ -465,7 +466,7 @@ $result_converted{'html_text'}->{'seealso_duplicate'} = 
'<span id="Top"></span><
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_letter-A"><b>A</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/seeentry.pl b/tp/t/results/indices/seeentry.pl
index 666c144..c94a6de 100644
--- a/tp/t/results/indices/seeentry.pl
+++ b/tp/t/results/indices/seeentry.pl
@@ -345,8 +345,10 @@ End:
 $result_converted{'plaintext'}->{'seeentry'} = '';
 
 
-$result_converted{'html_text'}->{'seeentry'} = '<span id="Top"></span><span 
id="SEC_Top"></span>
-<hr>
+$result_converted{'html_text'}->{'seeentry'} = '<div class="top" id="Top">
+<div class="node" id="SEC_Top">
+
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/subentries.pl 
b/tp/t/results/indices/subentries.pl
index 1fb4d75..c0bc3e9 100644
--- a/tp/t/results/indices/subentries.pl
+++ b/tp/t/results/indices/subentries.pl
@@ -653,7 +653,9 @@ $result_converted{'plaintext'}->{'subentries'} = '* Menu:
 ';
 
 
-$result_converted{'html_text'}->{'subentries'} = '<span id="Top"></span><span 
id="SEC_Top"></span>
+$result_converted{'html_text'}->{'subentries'} = '<div class="top" id="Top">
+<div class="node" id="SEC_Top">
+
 <span id="index-aa"></span>
 <span id="index-bb"></span>
 <span id="index-ddd"></span>
@@ -693,7 +695,7 @@ $result_converted{'html_text'}->{'subentries'} = '<span 
id="Top"></span><span id
 <a class="summary-letter" href="#t_h_cp_letter-G"><b>G</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/subentry_and_sortas.pl 
b/tp/t/results/indices/subentry_and_sortas.pl
index 650e97c..43dfd6e 100644
--- a/tp/t/results/indices/subentry_and_sortas.pl
+++ b/tp/t/results/indices/subentry_and_sortas.pl
@@ -402,7 +402,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="SEC_Top"></span>
+<div class="top" id="Top">
+<div class="node" id="SEC_Top">
+
 <span id="index-aaaA"></span>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Top_cp_letter-A"><b>A</b></a>
@@ -418,7 +420,8 @@ ul.no-bullet {list-style: none}
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Top_cp_letter-A"><b>A</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
+</div>
 
 
 
@@ -468,7 +471,9 @@ $result_converted{'plaintext'}->{'subentry_and_sortas'} = 
'* Menu:
 ';
 
 
-$result_converted{'html_text'}->{'subentry_and_sortas'} = '<span 
id="Top"></span><span id="SEC_Top"></span>
+$result_converted{'html_text'}->{'subentry_and_sortas'} = '<div class="top" 
id="Top">
+<div class="node" id="SEC_Top">
+
 <span id="index-aaaA"></span>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_letter-A"><b>A</b></a>
@@ -484,7 +489,7 @@ $result_converted{'html_text'}->{'subentry_and_sortas'} = 
'<span id="Top"></span
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_letter-A"><b>A</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/syncode_index_print_both.pl 
b/tp/t/results/indices/syncode_index_print_both.pl
index c74f077..3ff04a6 100644
--- a/tp/t/results/indices/syncode_index_print_both.pl
+++ b/tp/t/results/indices/syncode_index_print_both.pl
@@ -504,7 +504,8 @@ 
$result_converted{'plaintext'}->{'syncode_index_print_both'} = 'Print fn
 
 
 $result_converted{'html_text'}->{'syncode_index_print_both'} = '
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <span id="index-c_002d_002d_002doncept"></span>
 <span id="index-f_002d_002d_002dun"></span>
@@ -536,7 +537,7 @@ 
$result_converted{'html_text'}->{'syncode_index_print_both'} = '
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/syncodeindex_to_plain.pl 
b/tp/t/results/indices/syncodeindex_to_plain.pl
index 4c414fc..e5885f3 100644
--- a/tp/t/results/indices/syncodeindex_to_plain.pl
+++ b/tp/t/results/indices/syncodeindex_to_plain.pl
@@ -516,7 +516,8 @@ $result_converted{'plaintext'}->{'syncodeindex_to_plain'} = 
'cp index.
 
 
 $result_converted{'html_text'}->{'syncodeindex_to_plain'} = '
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <span id="index-_002d_002dk1"></span>
 <span id="index-_002d_002dv"></span>
@@ -548,7 +549,7 @@ $result_converted{'html_text'}->{'syncodeindex_to_plain'} = 
'
 </table>
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_vr_symbol-1"><b>-</b></a>
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/transparent_sort_chars.pl 
b/tp/t/results/indices/transparent_sort_chars.pl
index 459f297..d445bb6 100644
--- a/tp/t/results/indices/transparent_sort_chars.pl
+++ b/tp/t/results/indices/transparent_sort_chars.pl
@@ -473,7 +473,9 @@ $result_converted{'plaintext'}->{'transparent_sort_chars'} 
= '* Menu:
 
 
 $result_converted{'html_text'}->{'transparent_sort_chars'} = '
-<span id="Top"></span><span id="SEC_Top"></span>
+<div class="top" id="Top">
+<div class="node" id="SEC_Top">
+
 <span id="index-_002d_002dversion_002c-for-install_002dinfo"></span>
 <span id="index-Source-file-format"></span>
 <span id="index-Semantic-markup"></span>
@@ -499,7 +501,7 @@ $result_converted{'html_text'}->{'transparent_sort_chars'} 
= '
 <a class="summary-letter" href="#t_h_cp_letter-V"><b>V</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/indices/w_lines_count.pl 
b/tp/t/results/indices/w_lines_count.pl
index 83b5952..26386f8 100644
--- a/tp/t/results/indices/w_lines_count.pl
+++ b/tp/t/results/indices/w_lines_count.pl
@@ -439,7 +439,9 @@ $result_converted{'plaintext'}->{'w_lines_count'} = 
'xzcompilationxdmbufferxmsub
 ';
 
 
-$result_converted{'html_text'}->{'w_lines_count'} = '<span 
id="Top"></span><span id="SEC_Top"></span>
+$result_converted{'html_text'}->{'w_lines_count'} = '<div class="top" id="Top">
+<div class="node" id="SEC_Top">
+
 <p>xzcompilationxdmbufferxmsubsequentmxCtxaxxmcommandsmadvancemfrommthere.  
 <code><span class="nolinebreak">C-u</span></code><!-- /@w --> starts again 
from the beginning
 </p>
@@ -459,7 +461,7 @@ $result_converted{'html_text'}->{'w_lines_count'} = '<span 
id="Top"></span><span
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_fn_letter-C"><b>C</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/languages/appendix_translated.pl 
b/tp/t/results/languages/appendix_translated.pl
index 4862e49..89558d6 100644
--- a/tp/t/results/languages/appendix_translated.pl
+++ b/tp/t/results/languages/appendix_translated.pl
@@ -367,7 +367,9 @@ ul.no-bullet {list-style: none}
 
 <body lang="fr">
 
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <span id="SEC_Contents"></span>
 <h2 class="contents-heading">Table des mati&egrave;res</h2>
@@ -379,9 +381,11 @@ ul.no-bullet {list-style: none}
 </ul>
 </div>
 
-<span id="dernier"></span><h2 class="appendix">Annexe A dernier</h2>
+</div><div class="appendix" id="dernier">
+<h2 class="appendix">Annexe A dernier</h2>
 
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/languages/command_translated.pl 
b/tp/t/results/languages/command_translated.pl
index cab04d6..5c0732e 100644
--- a/tp/t/results/languages/command_translated.pl
+++ b/tp/t/results/languages/command_translated.pl
@@ -330,10 +330,13 @@ ul.no-bullet {list-style: none}
 
 <body lang="fr">
 
-<span id="Top"></span><span id="top-error_002d_002d_003e"></span><h1 
class="top">top erreur&rarr;</h1>
+<div class="top" id="Top">
+<div class="node" id="top-error_002d_002d_003e">
+<h1 class="top">top erreur&rarr;</h1>
 
 <p>erreur&rarr;
-</p><hr>
+</p></div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/languages/multiple.pl 
b/tp/t/results/languages/multiple.pl
index cd73940..edbb7b4 100644
--- a/tp/t/results/languages/multiple.pl
+++ b/tp/t/results/languages/multiple.pl
@@ -973,7 +973,8 @@ ul.no-bullet {list-style: none}
 <body lang="pt">
 
 
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <dl class="def">
 <dt id="index-BBB-of-fr"><span>Variable d\'instance de fr&nbsp;: 
<strong>BBB</strong> <em>CCC</em><a href=\'#index-BBB-of-fr\' 
class=\'copiable-anchor\'> &para;</a></span></dt>
@@ -991,7 +992,7 @@ ul.no-bullet {list-style: none}
 <dl class="def">
 <dt id="index-copying-a-of-copying"><span>Variável de instância da copying: 
<strong>a</strong> <em>b</em><a href=\'#index-copying-a-of-copying\' 
class=\'copiable-anchor\'> &para;</a></span></dt>
 </dl>
-<hr>
+</div><hr></div>
 
 
 
diff --git 
a/tp/t/results/languages/multiple_lang_chapters/res_html/multiple_lang_chapters.html
 
b/tp/t/results/languages/multiple_lang_chapters/res_html/multiple_lang_chapters.html
index 925fe04..23840ce 100644
--- 
a/tp/t/results/languages/multiple_lang_chapters/res_html/multiple_lang_chapters.html
+++ 
b/tp/t/results/languages/multiple_lang_chapters/res_html/multiple_lang_chapters.html
@@ -36,11 +36,13 @@ ul.no-bullet {list-style: none}
 
 <body lang="pt_BR">
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Pr&oacute;ximo: <a href="#chapter-ja" accesskey="n" rel="next">ja</a> &nbsp; 
</p>
 </div>
-<span id="Multi-language-file"></span><h1 class="top">Multi language file</h1>
+<div class="node" id="Multi-language-file">
+<h1 class="top">Multi language file</h1>
 
 
 <ul class="section-toc">
@@ -50,57 +52,73 @@ Pr&oacute;ximo: <a href="#chapter-ja" accesskey="n" 
rel="next">ja</a> &nbsp; </p
 <li><a href="#chapter-de" accesskey="4">de</a></li>
 <li><a href="#chapter-pt_005fBR" accesskey="5">pt_bR</a></li>
 </ul>
-<hr>
-<span id="chapter-ja"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter-ja">
+<div class="header">
 <p>
 Next: <a href="#chapter-en" accesskey="n" rel="next">en</a>, Previous: <a 
href="#Top" accesskey="p" rel="prev">Multi language file</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Multi language file</a> &nbsp; </p>
 </div>
-<span id="ja"></span><h2 class="chapter">1 ja</h2>
+<div class="node" id="ja">
+<h2 class="chapter">1 ja</h2>
 
 <p>In japanese. See <a href="#Top">Multi language file</a>.
 </p><dl class="def">
 <dt id="index-BBB-of-AAA"><span>Instance Variable of AAA: <strong>BBB</strong> 
<em>CCC</em><a href='#index-BBB-of-AAA' class='copiable-anchor'> 
&para;</a></span></dt>
 </dl>
 
-<hr>
-<span id="chapter-en"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="chapter-en">
+<div class="header">
 <p>
 Next: <a href="#chapter-fr_005fFR" accesskey="n" rel="next">fr_FR</a>, 
Previous: <a href="#chapter-ja" accesskey="p" rel="prev">ja</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Multi language file</a> &nbsp; </p>
 </div>
-<span id="en"></span><h2 class="chapter">2 en</h2>
+<div class="node" id="en">
+<h2 class="chapter">2 en</h2>
 
 <p>In english. See <a href="#Top">Multi language file</a>.
 </p><dl class="def">
 <dt id="index-BBB-of-AAA-1"><span>Instance Variable of AAA: 
<strong>BBB</strong> <em>CCC</em><a href='#index-BBB-of-AAA-1' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
-<hr>
-<span id="chapter-fr_005fFR"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="chapter-fr_005fFR">
+<div class="header">
 <p>
 Suivant: <a href="#chapter-de" accesskey="n" rel="next">de</a>, 
Pr&eacute;c&eacute;dent: <a href="#chapter-en" accesskey="p" rel="prev">en</a>, 
Monter: <a href="#Top" accesskey="u" rel="up">Multi language file</a> &nbsp; 
</p>
 </div>
-<span id="fr_005fFR"></span><h2 class="chapter">3 fr_FR</h2>
+<div class="node" id="fr_005fFR">
+<h2 class="chapter">3 fr_FR</h2>
 
 <dl class="def">
 <dt id="index-BBB-of-AAA-2"><span>Variable d'instance de AAA&nbsp;: 
<strong>BBB</strong> <em>CCC</em><a href='#index-BBB-of-AAA-2' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
-<hr>
-<span id="chapter-de"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="chapter-de">
+<div class="header">
 <p>
 Nächste: <a href="#chapter-pt_005fBR" accesskey="n" rel="next">pt_bR</a>, 
Vorige: <a href="#chapter-fr_005fFR" accesskey="p" rel="prev">fr_FR</a>, Nach 
oben: <a href="#Top" accesskey="u" rel="up">Multi language file</a> &nbsp; </p>
 </div>
-<span id="de"></span><h2 class="chapter">4 de</h2>
+<div class="node" id="de">
+<h2 class="chapter">4 de</h2>
 
-<hr>
-<span id="chapter-pt_005fBR"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="chapter-pt_005fBR">
+<div class="header">
 <p>
 Anterior: <a href="#chapter-de" accesskey="p" rel="prev">de</a>, Acima: <a 
href="#Top" accesskey="u" rel="up">Multi language file</a> &nbsp; </p>
 </div>
-<span id="pt_005fbR"></span><h2 class="chapter">5 pt_bR</h2>
+<div class="node" id="pt_005fbR">
+<h2 class="chapter">5 pt_bR</h2>
 
 <p>In brazilian. Veja <a href="#Top">Multi language file</a>.
-</p><hr>
+</p></div><hr>
+</div>
+</div>
 
 
 
diff --git 
a/tp/t/results/languages/multiple_lang_chapters_texi2html/res_html/multiple_lang_chapters.html
 
b/tp/t/results/languages/multiple_lang_chapters_texi2html/res_html/multiple_lang_chapters.html
index 473566e..80c2334 100644
--- 
a/tp/t/results/languages/multiple_lang_chapters_texi2html/res_html/multiple_lang_chapters.html
+++ 
b/tp/t/results/languages/multiple_lang_chapters_texi2html/res_html/multiple_lang_chapters.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="pt_BR">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter-ja" title="Pr&oacute;xima 
se&ccedil;&atilde;o na ordem de leitura"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -42,7 +43,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[&Iacute;ndice]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="Sobre (ajuda)"> 
? </a>]</td>
 </tr></table>
-<span id="Multi-language-file"></span><h1 class="top">Multi language file</h1>
+<div class="node" id="Multi-language-file">
+<h1 class="top">Multi language file</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#chapter-ja">1 
ja</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -57,8 +59,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter-ja"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter-ja">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -73,15 +76,18 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="ja"></span><h1 class="chapter">1 ja</h1>
+<div class="node" id="ja">
+<h1 class="chapter">1 ja</h1>
 
 <p>In japanese. See <a href="#Top">Multi language file</a>.
 </p><dl class="def">
 <dt id="index-BBB-of-AAA"><span>Instance Variable of AAA: <strong>BBB</strong> 
<em>CCC</em><a href='#index-BBB-of-AAA' class='copiable-anchor'> 
&para;</a></span></dt>
 </dl>
 
-<hr>
-<span id="chapter-en"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="chapter" id="chapter-en">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter-ja" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter-ja" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -96,15 +102,18 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="en"></span><h1 class="chapter">2 en</h1>
+<div class="node" id="en">
+<h1 class="chapter">2 en</h1>
 
 <p>In english. See <a href="#Top">Multi language file</a>.
 </p><dl class="def">
 <dt id="index-BBB-of-AAA-1"><span>Instance Variable of AAA: 
<strong>BBB</strong> <em>CCC</em><a href='#index-BBB-of-AAA-1' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
-<hr>
-<span id="chapter-fr_005fFR"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="chapter" id="chapter-fr_005fFR">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter-en" 
title="D&eacute;but de ce chapitre ou chapitre pr&eacute;c&eacute;dent"> 
&lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter-en" title="Section 
pr&eacute;c&eacute;dente dans l&rsquo;ordre de lecture"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Section 
sup&eacute;rieure">Plus haut</a>]</td>
@@ -119,14 +128,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"> ? </a>]</td>
 </tr></table>
-<span id="fr_005fFR"></span><h1 class="chapter">3 fr_FR</h1>
+<div class="node" id="fr_005fFR">
+<h1 class="chapter">3 fr_FR</h1>
 
 <dl class="def">
 <dt id="index-BBB-of-AAA-2"><span>Variable d'instance de AAA&nbsp;: 
<strong>BBB</strong> <em>CCC</em><a href='#index-BBB-of-AAA-2' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
-<hr>
-<span id="chapter-de"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="chapter" id="chapter-de">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter-fr_005fFR" 
title="Anfang dieses oder des letzten Kapitels"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter-fr_005fFR" title="Voriger 
Abschnitt in Lesereihenfolge"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Abschnitt nach oben"> 
Nach oben </a>]</td>
@@ -141,10 +153,13 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="Info (Hilfe)"> ? 
</a>]</td>
 </tr></table>
-<span id="de"></span><h1 class="chapter">4 de</h1>
+<div class="node" id="de">
+<h1 class="chapter">4 de</h1>
 
-<hr>
-<span id="chapter-pt_005fBR"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="chapter" id="chapter-pt_005fBR">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter-de" 
title="Come&ccedil;o desse cap&iacute;tulo ou cap&iacute;tulo anterior"> 
&lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter-de" 
title="Se&ccedil;&atilde;o anterior na ordem de leitura"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Se&ccedil;&atilde;o 
acima"> Acima </a>]</td>
@@ -159,11 +174,14 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[&Iacute;ndice]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="Sobre (ajuda)"> 
? </a>]</td>
 </tr></table>
-<span id="pt_005fbR"></span><h1 class="chapter">5 pt_bR</h1>
+<div class="node" id="pt_005fbR">
+<h1 class="chapter">5 pt_bR</h1>
 
 <p>In brazilian. Veja <a href="#Top">Multi language file</a>.
-</p><hr size="6">
-<span id="SEC_About"></span>
+</p></div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="In&iacute;cio 
(topo) do documento">Topo</a>]</td>
 <td valign="middle" align="left">[Conte&uacute;do]</td>
@@ -272,7 +290,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   Esse documento foi gerado em <em>a sunny day</em>.
 </font></p>
diff --git a/tp/t/results/languages/unknown_language.pl 
b/tp/t/results/languages/unknown_language.pl
index aa83a30..08c4c4e 100644
--- a/tp/t/results/languages/unknown_language.pl
+++ b/tp/t/results/languages/unknown_language.pl
@@ -472,13 +472,16 @@ ul.no-bullet {list-style: none}
 
 <body lang="another_UNKNOWN">
 
-<span id="Top"></span><span id="unknkown-language"></span><h1 
class="top">unknkown language</h1>
+<div class="top" id="Top">
+<div class="node" id="unknkown-language">
+<h1 class="top">unknkown language</h1>
 
 <p>Unknown language. See <a href="#Top">unknkown language</a>.
 </p>
 
 <p>Another unknown language. See <a href="#Top">unknkown language</a>.
-</p><hr>
+</p></div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/languages/unknown_region.pl 
b/tp/t/results/languages/unknown_region.pl
index 50a4110..7f2bbf0 100644
--- a/tp/t/results/languages/unknown_region.pl
+++ b/tp/t/results/languages/unknown_region.pl
@@ -408,12 +408,13 @@ ul.no-bullet {list-style: none}
 
 <body lang="fr_NOWHERE">
 
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <dl class="def">
 <dt id="index-BBB-of-AAA"><span>Variable d\'instance de AAA&nbsp;: 
<strong>BBB</strong> <em>CCC</em><a href=\'#index-BBB-of-AAA\' 
class=\'copiable-anchor\'> &para;</a></span></dt>
 </dl>
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/layout/navigation/res_html/navigation.html 
b/tp/t/results/layout/navigation/res_html/navigation.html
index 868b1bf..c1c9654 100644
--- a/tp/t/results/layout/navigation/res_html/navigation.html
+++ b/tp/t/results/layout/navigation/res_html/navigation.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,15 +44,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#chapter">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -66,15 +69,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#section">1.1 Section in 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -89,7 +94,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Section-in-chapter"></span><h2 class="section">1.1 Section in 
chapter</h2>
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -123,8 +129,9 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Up section"> Up 
</a>]</td>
@@ -139,11 +146,16 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b 
 bb  b bb.
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Sub-section-in-section"></span><h3 class="subsection">1.1.1 Sub 
section in section</h3>
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-<hr size="6">
-<span id="SEC_Contents"></span>
+</div><hr size="6">
+</div>
+</div>
+</div>
+</div>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -164,8 +176,8 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
   </ul></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -274,7 +286,7 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/layout/navigation_chapter/res_html/chapter.html 
b/tp/t/results/layout/navigation_chapter/res_html/chapter.html
index 7e24b1f..68de709 100644
--- a/tp/t/results/layout/navigation_chapter/res_html/chapter.html
+++ b/tp/t/results/layout/navigation_chapter/res_html/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,15 +50,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#section">1.1 Section in 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -72,7 +75,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Section-in-chapter"></span><h2 class="section">1.1 Section in 
chapter</h2>
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -106,8 +110,9 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Up section"> Up 
</a>]</td>
@@ -122,10 +127,11 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b 
 bb  b bb.
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Sub-section-in-section"></span><h3 class="subsection">1.1.1 Sub 
section in section</h3>
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -139,6 +145,9 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/layout/navigation_chapter/res_html/index.html 
b/tp/t/results/layout/navigation_chapter/res_html/index.html
index 9e1a8a9..53301cc 100644
--- a/tp/t/results/layout/navigation_chapter/res_html/index.html
+++ b/tp/t/results/layout/navigation_chapter/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html#chapter" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,14 +44,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html#chapter">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html#chapter" title="Next 
section in reading order"> &gt; </a>]</td>
@@ -59,6 +61,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_chapter/res_html/navigation_abt.html 
b/tp/t/results/layout/navigation_chapter/res_html/navigation_abt.html
index 8f1d88d..fa1d009 100644
--- a/tp/t/results/layout/navigation_chapter/res_html/navigation_abt.html
+++ b/tp/t/results/layout/navigation_chapter/res_html/navigation_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="navigation_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="navigation_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git 
a/tp/t/results/layout/navigation_chapter/res_html/navigation_toc.html 
b/tp/t/results/layout/navigation_chapter/res_html/navigation_toc.html
index de54930..c320dd7 100644
--- a/tp/t/results/layout/navigation_chapter/res_html/navigation_toc.html
+++ b/tp/t/results/layout/navigation_chapter/res_html/navigation_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -55,7 +55,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/t/results/layout/navigation_chapter_no_header/res_html/chapter.html 
b/tp/t/results/layout/navigation_chapter_no_header/res_html/chapter.html
index 34cfb31..0293854 100644
--- a/tp/t/results/layout/navigation_chapter_no_header/res_html/chapter.html
+++ b/tp/t/results/layout/navigation_chapter_no_header/res_html/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -48,15 +49,18 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#section">1.1 Section in 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><span id="Section-in-chapter"></span><h2 
class="section">1.1 Section in chapter</h2>
+</div><hr>
+<div class="section" id="section">
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -90,11 +94,13 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><span id="Sub-section-in-section"></span><h3 
class="subsection">1.1.1 Sub section in section</h3>
+</div><hr>
+<div class="subsection" id="subsection">
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -108,6 +114,9 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_chapter_no_header/res_html/index.html 
b/tp/t/results/layout/navigation_chapter_no_header/res_html/index.html
index 9e1a8a9..53301cc 100644
--- a/tp/t/results/layout/navigation_chapter_no_header/res_html/index.html
+++ b/tp/t/results/layout/navigation_chapter_no_header/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html#chapter" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,14 +44,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html#chapter">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html#chapter" title="Next 
section in reading order"> &gt; </a>]</td>
@@ -59,6 +61,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_chapter_no_header/res_html/navigation_abt.html 
b/tp/t/results/layout/navigation_chapter_no_header/res_html/navigation_abt.html
index 8f1d88d..fa1d009 100644
--- 
a/tp/t/results/layout/navigation_chapter_no_header/res_html/navigation_abt.html
+++ 
b/tp/t/results/layout/navigation_chapter_no_header/res_html/navigation_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="navigation_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="navigation_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git 
a/tp/t/results/layout/navigation_chapter_no_header/res_html/navigation_toc.html 
b/tp/t/results/layout/navigation_chapter_no_header/res_html/navigation_toc.html
index de54930..c320dd7 100644
--- 
a/tp/t/results/layout/navigation_chapter_no_header/res_html/navigation_toc.html
+++ 
b/tp/t/results/layout/navigation_chapter_no_header/res_html/navigation_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -55,7 +55,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/chapter.html
 
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/chapter.html
index e1aa156..bbe837d 100644
--- 
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/chapter.html
+++ 
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="chapter" id="chapter">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -74,15 +75,18 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#section">1.1 Section in 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><span id="Section-in-chapter"></span><h2 
class="section">1.1 Section in chapter</h2>
+</div><hr>
+<div class="section" id="section">
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -116,11 +120,13 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b 
 bb  b bb.
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><span id="Sub-section-in-section"></span><h3 
class="subsection">1.1.1 Sub section in section</h3>
+</div><hr>
+<div class="subsection" id="subsection">
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
@@ -137,6 +143,9 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/index.html 
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/index.html
index bb8d639..698284f 100644
--- 
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/index.html
+++ 
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="top" id="Top">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -60,14 +61,15 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html#chapter">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
@@ -79,6 +81,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_abt.html
 
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_abt.html
index 4d52c74..f98dfed 100644
--- 
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_abt.html
+++ 
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -156,7 +156,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git 
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_toc.html
 
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_toc.html
index 341a25b..5210ef0 100644
--- 
a/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_toc.html
+++ 
b/tp/t/results/layout/navigation_chapter_no_header_vertical/res_html/navigation_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -68,7 +68,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git 
a/tp/t/results/layout/navigation_chapter_vertical/res_html/chapter.html 
b/tp/t/results/layout/navigation_chapter_vertical/res_html/chapter.html
index 9061119..3214db7 100644
--- a/tp/t/results/layout/navigation_chapter_vertical/res_html/chapter.html
+++ b/tp/t/results/layout/navigation_chapter_vertical/res_html/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="chapter" id="chapter">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -80,15 +81,17 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#section">1.1 Section in 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -103,7 +106,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Section-in-chapter"></span><h2 class="section">1.1 Section in 
chapter</h2>
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -137,8 +141,9 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Up section"> Up 
</a>]</td>
@@ -153,10 +158,11 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b 
 bb  b bb.
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Sub-section-in-section"></span><h3 class="subsection">1.1.1 Sub 
section in section</h3>
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
@@ -173,6 +179,9 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_chapter_vertical/res_html/index.html 
b/tp/t/results/layout/navigation_chapter_vertical/res_html/index.html
index bb8d639..698284f 100644
--- a/tp/t/results/layout/navigation_chapter_vertical/res_html/index.html
+++ b/tp/t/results/layout/navigation_chapter_vertical/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="top" id="Top">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -60,14 +61,15 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html#chapter">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
@@ -79,6 +81,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_abt.html 
b/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_abt.html
index 4d52c74..f98dfed 100644
--- 
a/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_abt.html
+++ 
b/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -156,7 +156,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git 
a/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_toc.html 
b/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_toc.html
index 341a25b..5210ef0 100644
--- 
a/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_toc.html
+++ 
b/tp/t/results/layout/navigation_chapter_vertical/res_html/navigation_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -68,7 +68,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git a/tp/t/results/layout/navigation_no_header/res_html/navigation.html 
b/tp/t/results/layout/navigation_no_header/res_html/navigation.html
index caad493..04e0773 100644
--- a/tp/t/results/layout/navigation_no_header/res_html/navigation.html
+++ b/tp/t/results/layout/navigation_no_header/res_html/navigation.html
@@ -35,23 +35,29 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span id="File-used-for-navigation-testing"></span><h1 
class="top">File used for navigation testing</h1>
+<div class="top" id="Top">
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#chapter">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><span id="First-chapter"></span><h1 
class="chapter">1 First chapter</h1>
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#section">1.1 Section in 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><span id="Section-in-chapter"></span><h2 
class="section">1.1 Section in chapter</h2>
+</div><hr>
+<div class="section" id="section">
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -85,12 +91,18 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><span id="Sub-section-in-section"></span><h3 
class="subsection">1.1.1 Sub section in section</h3>
+</div><hr>
+<div class="subsection" id="subsection">
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-<hr size="6">
-<span id="SEC_Contents"></span>
+</div><hr size="6">
+</div>
+</div>
+</div>
+</div>
+<div class="Contents_element" id="SEC_Contents">
 <h1 class="contents-heading">Table of Contents</h1>
 
 <div class="contents">
@@ -105,7 +117,7 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
   </ul></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_no_header_vertical/res_html/navigation.html 
b/tp/t/results/layout/navigation_no_header_vertical/res_html/navigation.html
index d036ec9..7231276 100644
--- a/tp/t/results/layout/navigation_no_header_vertical/res_html/navigation.html
+++ b/tp/t/results/layout/navigation_no_header_vertical/res_html/navigation.html
@@ -35,26 +35,32 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span id="File-used-for-navigation-testing"></span><h1 
class="top">File used for navigation testing</h1>
+<div class="top" id="Top">
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#chapter">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr size="6">
-<span id="chapter"></span><span id="First-chapter"></span><h1 
class="chapter">1 First chapter</h1>
+<div class="chapter" id="chapter">
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#section">1.1 Section in 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><span id="Section-in-chapter"></span><h2 
class="section">1.1 Section in chapter</h2>
+</div><hr>
+<div class="section" id="section">
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -88,15 +94,21 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><span id="Sub-section-in-section"></span><h3 
class="subsection">1.1.1 Sub section in section</h3>
+</div><hr>
+<div class="subsection" id="subsection">
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr size="6">
-<span id="SEC_Contents"></span>
+</div>
+</div>
+</div>
+</div>
+<div class="Contents_element" id="SEC_Contents">
 <h1 class="contents-heading">Table of Contents</h1>
 
 <div class="contents">
@@ -111,7 +123,7 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
   </ul></li>
 </ul>
 </div>
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git a/tp/t/results/layout/navigation_node/res_html/chapter.html 
b/tp/t/results/layout/navigation_node/res_html/chapter.html
index 1067101..03e9862 100644
--- a/tp/t/results/layout/navigation_node/res_html/chapter.html
+++ b/tp/t/results/layout/navigation_node/res_html/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -50,14 +51,16 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="section.html">1.1 Section in 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/layout/navigation_node/res_html/index.html 
b/tp/t/results/layout/navigation_node/res_html/index.html
index 33f9c5f..2b3f4a2 100644
--- a/tp/t/results/layout/navigation_node/res_html/index.html
+++ b/tp/t/results/layout/navigation_node/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,14 +45,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -60,6 +62,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/layout/navigation_node/res_html/navigation_abt.html 
b/tp/t/results/layout/navigation_node/res_html/navigation_abt.html
index b6c9d9b..10a0365 100644
--- a/tp/t/results/layout/navigation_node/res_html/navigation_abt.html
+++ b/tp/t/results/layout/navigation_node/res_html/navigation_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="navigation_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -144,7 +144,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="navigation_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git a/tp/t/results/layout/navigation_node/res_html/navigation_toc.html 
b/tp/t/results/layout/navigation_node/res_html/navigation_toc.html
index 2300bb1..208c42d 100644
--- a/tp/t/results/layout/navigation_node/res_html/navigation_toc.html
+++ b/tp/t/results/layout/navigation_node/res_html/navigation_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -56,7 +56,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/t/results/layout/navigation_node/res_html/section.html 
b/tp/t/results/layout/navigation_node/res_html/section.html
index 98d5e79..b2193cd 100644
--- a/tp/t/results/layout/navigation_node/res_html/section.html
+++ b/tp/t/results/layout/navigation_node/res_html/section.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Up section"> 
Up </a>]</td>
@@ -50,7 +51,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Section-in-chapter"></span><h2 class="section">1.1 Section in 
chapter</h2>
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -84,7 +86,8 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  bb 
 b bb.
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/layout/navigation_node/res_html/subsection.html 
b/tp/t/results/layout/navigation_node/res_html/subsection.html
index 326f85d..3920601 100644
--- a/tp/t/results/layout/navigation_node/res_html/subsection.html
+++ b/tp/t/results/layout/navigation_node/res_html/subsection.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="section.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="section.html" title="Up section"> 
Up </a>]</td>
@@ -50,10 +51,12 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Sub-section-in-section"></span><h3 class="subsection">1.1.1 Sub 
section in section</h3>
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_node_no_header/res_html/chapter.html 
b/tp/t/results/layout/navigation_node_no_header/res_html/chapter.html
index 583b130..77bcb2c 100644
--- a/tp/t/results/layout/navigation_node_no_header/res_html/chapter.html
+++ b/tp/t/results/layout/navigation_node_no_header/res_html/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,13 +50,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="section.html">1.1 Section in 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
+</div></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/layout/navigation_node_no_header/res_html/index.html 
b/tp/t/results/layout/navigation_node_no_header/res_html/index.html
index 4e69fc7..ad0c6c7 100644
--- a/tp/t/results/layout/navigation_node_no_header/res_html/index.html
+++ b/tp/t/results/layout/navigation_node_no_header/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,14 +45,16 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_node_no_header/res_html/navigation_abt.html 
b/tp/t/results/layout/navigation_node_no_header/res_html/navigation_abt.html
index 2111633..879516c 100644
--- a/tp/t/results/layout/navigation_node_no_header/res_html/navigation_abt.html
+++ b/tp/t/results/layout/navigation_node_no_header/res_html/navigation_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="navigation_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -144,7 +144,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_node_no_header/res_html/navigation_toc.html 
b/tp/t/results/layout/navigation_node_no_header/res_html/navigation_toc.html
index e8da55b..48d476a 100644
--- a/tp/t/results/layout/navigation_node_no_header/res_html/navigation_toc.html
+++ b/tp/t/results/layout/navigation_node_no_header/res_html/navigation_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -56,7 +56,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_node_no_header/res_html/section.html 
b/tp/t/results/layout/navigation_node_no_header/res_html/section.html
index e971c80..cb01ea5 100644
--- a/tp/t/results/layout/navigation_node_no_header/res_html/section.html
+++ b/tp/t/results/layout/navigation_node_no_header/res_html/section.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Up section"> 
Up </a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Section-in-chapter"></span><h2 class="section">1.1 Section in 
chapter</h2>
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -83,6 +85,7 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  bb 
 b bb.
 </td></tr>
 </table>
 
+</div></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_node_no_header/res_html/subsection.html 
b/tp/t/results/layout/navigation_node_no_header/res_html/subsection.html
index b8dc2e9..cc0d4e8 100644
--- a/tp/t/results/layout/navigation_node_no_header/res_html/subsection.html
+++ b/tp/t/results/layout/navigation_node_no_header/res_html/subsection.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="section.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="section.html" title="Up section"> 
Up </a>]</td>
@@ -49,9 +50,11 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Sub-section-in-section"></span><h3 class="subsection">1.1.1 Sub 
section in section</h3>
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
+</div></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/chapter.html 
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/chapter.html
index 583b130..77bcb2c 100644
--- 
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/chapter.html
+++ 
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,13 +50,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="section.html">1.1 Section in 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
+</div></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/index.html 
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/index.html
index efe7537..9800083 100644
--- a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/index.html
+++ b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="top" id="Top">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -60,17 +61,19 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_abt.html
 
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_abt.html
index 43aa7a6..ec4ba34 100644
--- 
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_abt.html
+++ 
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -156,7 +156,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git 
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_toc.html
 
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_toc.html
index 58e7348..e2fc0ac 100644
--- 
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_toc.html
+++ 
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/navigation_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -68,7 +68,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git 
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/section.html 
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/section.html
index e971c80..cb01ea5 100644
--- 
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/section.html
+++ 
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/section.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Up section"> 
Up </a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Section-in-chapter"></span><h2 class="section">1.1 Section in 
chapter</h2>
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -83,6 +85,7 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  bb 
 b bb.
 </td></tr>
 </table>
 
+</div></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/subsection.html
 
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/subsection.html
index b8dc2e9..cc0d4e8 100644
--- 
a/tp/t/results/layout/navigation_node_no_header_vertical/res_html/subsection.html
+++ 
b/tp/t/results/layout/navigation_node_no_header_vertical/res_html/subsection.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="section.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="section.html" title="Up section"> 
Up </a>]</td>
@@ -49,9 +50,11 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Sub-section-in-section"></span><h3 class="subsection">1.1.1 Sub 
section in section</h3>
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
+</div></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/layout/navigation_node_vertical/res_html/chapter.html 
b/tp/t/results/layout/navigation_node_vertical/res_html/chapter.html
index 7036f92..bba89aa 100644
--- a/tp/t/results/layout/navigation_node_vertical/res_html/chapter.html
+++ b/tp/t/results/layout/navigation_node_vertical/res_html/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="chapter" id="chapter">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -80,17 +81,19 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="section.html">1.1 Section in 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/layout/navigation_node_vertical/res_html/index.html 
b/tp/t/results/layout/navigation_node_vertical/res_html/index.html
index ff761ba..d788df6 100644
--- a/tp/t/results/layout/navigation_node_vertical/res_html/index.html
+++ b/tp/t/results/layout/navigation_node_vertical/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="top" id="Top">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -60,14 +61,15 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
@@ -79,6 +81,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_node_vertical/res_html/navigation_abt.html 
b/tp/t/results/layout/navigation_node_vertical/res_html/navigation_abt.html
index 4d52c74..f98dfed 100644
--- a/tp/t/results/layout/navigation_node_vertical/res_html/navigation_abt.html
+++ b/tp/t/results/layout/navigation_node_vertical/res_html/navigation_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -156,7 +156,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git 
a/tp/t/results/layout/navigation_node_vertical/res_html/navigation_toc.html 
b/tp/t/results/layout/navigation_node_vertical/res_html/navigation_toc.html
index bacdf80..cceec80 100644
--- a/tp/t/results/layout/navigation_node_vertical/res_html/navigation_toc.html
+++ b/tp/t/results/layout/navigation_node_vertical/res_html/navigation_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -68,7 +68,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git a/tp/t/results/layout/navigation_node_vertical/res_html/section.html 
b/tp/t/results/layout/navigation_node_vertical/res_html/section.html
index c4663a8..c8533fb 100644
--- a/tp/t/results/layout/navigation_node_vertical/res_html/section.html
+++ b/tp/t/results/layout/navigation_node_vertical/res_html/section.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="section" id="section">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -80,7 +81,8 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="Section-in-chapter"></span><h2 class="section">1.1 Section in 
chapter</h2>
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -114,10 +116,11 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b 
 bb  b bb.
 </td></tr>
 </table>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_node_vertical/res_html/subsection.html 
b/tp/t/results/layout/navigation_node_vertical/res_html/subsection.html
index d1e93aa..419838e 100644
--- a/tp/t/results/layout/navigation_node_vertical/res_html/subsection.html
+++ b/tp/t/results/layout/navigation_node_vertical/res_html/subsection.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="subsection"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="subsection" id="subsection">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -80,13 +81,15 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="Sub-section-in-section"></span><h3 class="subsection">1.1.1 Sub 
section in section</h3>
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/layout/navigation_section/res_html/chapter.html 
b/tp/t/results/layout/navigation_section/res_html/chapter.html
index 4216082..784b0d5 100644
--- a/tp/t/results/layout/navigation_section/res_html/chapter.html
+++ b/tp/t/results/layout/navigation_section/res_html/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,14 +50,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="section.html#section">1.1 Section 
in chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
@@ -64,6 +66,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="section.html#section" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/layout/navigation_section/res_html/index.html 
b/tp/t/results/layout/navigation_section/res_html/index.html
index a62b894..de5a564 100644
--- a/tp/t/results/layout/navigation_section/res_html/index.html
+++ b/tp/t/results/layout/navigation_section/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,14 +44,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -59,6 +61,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_section/res_html/navigation_abt.html 
b/tp/t/results/layout/navigation_section/res_html/navigation_abt.html
index 8f1d88d..fa1d009 100644
--- a/tp/t/results/layout/navigation_section/res_html/navigation_abt.html
+++ b/tp/t/results/layout/navigation_section/res_html/navigation_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="navigation_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="navigation_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git 
a/tp/t/results/layout/navigation_section/res_html/navigation_toc.html 
b/tp/t/results/layout/navigation_section/res_html/navigation_toc.html
index dede870..cfda66b 100644
--- a/tp/t/results/layout/navigation_section/res_html/navigation_toc.html
+++ b/tp/t/results/layout/navigation_section/res_html/navigation_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -55,7 +55,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/t/results/layout/navigation_section/res_html/section.html 
b/tp/t/results/layout/navigation_section/res_html/section.html
index 502cda5..cc52171 100644
--- a/tp/t/results/layout/navigation_section/res_html/section.html
+++ b/tp/t/results/layout/navigation_section/res_html/section.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Up section"> 
Up </a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Section-in-chapter"></span><h2 class="section">1.1 Section in 
chapter</h2>
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -83,8 +85,9 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  bb 
 b bb.
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Up section"> Up 
</a>]</td>
@@ -99,10 +102,11 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Sub-section-in-section"></span><h3 class="subsection">1.1.1 Sub 
section in section</h3>
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Previous section 
in reading order"> &lt; </a>]</td>
@@ -110,6 +114,8 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 <td valign="middle" align="left">[ &gt; ]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
 </tr></table>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_section_no_header/res_html/chapter.html 
b/tp/t/results/layout/navigation_section_no_header/res_html/chapter.html
index 4216082..784b0d5 100644
--- a/tp/t/results/layout/navigation_section_no_header/res_html/chapter.html
+++ b/tp/t/results/layout/navigation_section_no_header/res_html/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,14 +50,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="section.html#section">1.1 Section 
in chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
@@ -64,6 +66,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="section.html#section" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_section_no_header/res_html/index.html 
b/tp/t/results/layout/navigation_section_no_header/res_html/index.html
index a62b894..de5a564 100644
--- a/tp/t/results/layout/navigation_section_no_header/res_html/index.html
+++ b/tp/t/results/layout/navigation_section_no_header/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,14 +44,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -59,6 +61,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_section_no_header/res_html/navigation_abt.html 
b/tp/t/results/layout/navigation_section_no_header/res_html/navigation_abt.html
index 8f1d88d..fa1d009 100644
--- 
a/tp/t/results/layout/navigation_section_no_header/res_html/navigation_abt.html
+++ 
b/tp/t/results/layout/navigation_section_no_header/res_html/navigation_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="navigation_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="navigation_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git 
a/tp/t/results/layout/navigation_section_no_header/res_html/navigation_toc.html 
b/tp/t/results/layout/navigation_section_no_header/res_html/navigation_toc.html
index dede870..cfda66b 100644
--- 
a/tp/t/results/layout/navigation_section_no_header/res_html/navigation_toc.html
+++ 
b/tp/t/results/layout/navigation_section_no_header/res_html/navigation_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -55,7 +55,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/t/results/layout/navigation_section_no_header/res_html/section.html 
b/tp/t/results/layout/navigation_section_no_header/res_html/section.html
index 06c13a0..350c452 100644
--- a/tp/t/results/layout/navigation_section_no_header/res_html/section.html
+++ b/tp/t/results/layout/navigation_section_no_header/res_html/section.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Up section"> 
Up </a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Section-in-chapter"></span><h2 class="section">1.1 Section in 
chapter</h2>
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -83,11 +85,13 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><span id="Sub-section-in-section"></span><h3 
class="subsection">1.1.1 Sub section in section</h3>
+</div><hr>
+<div class="subsection" id="subsection">
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Previous section 
in reading order"> &lt; </a>]</td>
@@ -95,6 +99,8 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  bb 
 b bb.
 <td valign="middle" align="left">[ &gt; ]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
 </tr></table>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/chapter.html
 
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/chapter.html
index 378bdcf..8eaf51d 100644
--- 
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/chapter.html
+++ 
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="chapter" id="chapter">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -80,14 +81,15 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="section.html#section">1.1 Section 
in chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
@@ -98,6 +100,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="section.html#section" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/index.html 
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/index.html
index ff761ba..d788df6 100644
--- 
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/index.html
+++ 
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="top" id="Top">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -60,14 +61,15 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
@@ -79,6 +81,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_abt.html
 
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_abt.html
index 4d52c74..f98dfed 100644
--- 
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_abt.html
+++ 
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -156,7 +156,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git 
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_toc.html
 
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_toc.html
index 8c2698b..f28c3b9 100644
--- 
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_toc.html
+++ 
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/navigation_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -68,7 +68,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git 
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/section.html
 
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/section.html
index 5761c22..007732b 100644
--- 
a/tp/t/results/layout/navigation_section_no_header_vertical/res_html/section.html
+++ 
b/tp/t/results/layout/navigation_section_no_header_vertical/res_html/section.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="section" id="section">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -80,7 +81,8 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="Section-in-chapter"></span><h2 class="section">1.1 Section in 
chapter</h2>
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -114,11 +116,13 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b 
 bb  b bb.
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><span id="Sub-section-in-section"></span><h3 
class="subsection">1.1.1 Sub section in section</h3>
+</div><hr>
+<div class="subsection" id="subsection">
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
@@ -129,6 +133,8 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 <td valign="middle" align="left">[ &gt; ]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
 </tr></table>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_section_vertical/res_html/chapter.html 
b/tp/t/results/layout/navigation_section_vertical/res_html/chapter.html
index 378bdcf..8eaf51d 100644
--- a/tp/t/results/layout/navigation_section_vertical/res_html/chapter.html
+++ b/tp/t/results/layout/navigation_section_vertical/res_html/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="chapter" id="chapter">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -80,14 +81,15 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="section.html#section">1.1 Section 
in chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
@@ -98,6 +100,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="section.html#section" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_section_vertical/res_html/index.html 
b/tp/t/results/layout/navigation_section_vertical/res_html/index.html
index ff761ba..d788df6 100644
--- a/tp/t/results/layout/navigation_section_vertical/res_html/index.html
+++ b/tp/t/results/layout/navigation_section_vertical/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="top" id="Top">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -60,14 +61,15 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
@@ -79,6 +81,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/layout/navigation_section_vertical/res_html/navigation_abt.html 
b/tp/t/results/layout/navigation_section_vertical/res_html/navigation_abt.html
index 4d52c74..f98dfed 100644
--- 
a/tp/t/results/layout/navigation_section_vertical/res_html/navigation_abt.html
+++ 
b/tp/t/results/layout/navigation_section_vertical/res_html/navigation_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -156,7 +156,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git 
a/tp/t/results/layout/navigation_section_vertical/res_html/navigation_toc.html 
b/tp/t/results/layout/navigation_section_vertical/res_html/navigation_toc.html
index 8c2698b..f28c3b9 100644
--- 
a/tp/t/results/layout/navigation_section_vertical/res_html/navigation_toc.html
+++ 
b/tp/t/results/layout/navigation_section_vertical/res_html/navigation_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -68,7 +68,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git 
a/tp/t/results/layout/navigation_section_vertical/res_html/section.html 
b/tp/t/results/layout/navigation_section_vertical/res_html/section.html
index 57a9aed..108aa27 100644
--- a/tp/t/results/layout/navigation_section_vertical/res_html/section.html
+++ b/tp/t/results/layout/navigation_section_vertical/res_html/section.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="section" id="section">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -80,7 +81,8 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="Section-in-chapter"></span><h2 class="section">1.1 Section in 
chapter</h2>
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -114,8 +116,9 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Up section"> Up 
</a>]</td>
@@ -130,10 +133,11 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b 
 bb  b bb.
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Sub-section-in-section"></span><h3 class="subsection">1.1.1 Sub 
section in section</h3>
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
@@ -144,6 +148,8 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 <td valign="middle" align="left">[ &gt; ]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
 </tr></table>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/layout/navigation_vertical/res_html/navigation.html 
b/tp/t/results/layout/navigation_vertical/res_html/navigation.html
index 38af0ef..ca97a31 100644
--- a/tp/t/results/layout/navigation_vertical/res_html/navigation.html
+++ b/tp/t/results/layout/navigation_vertical/res_html/navigation.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="top" id="Top">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -60,18 +61,20 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#chapter">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr size="6">
-<span id="chapter"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="chapter" id="chapter">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -117,15 +120,17 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#section">1.1 Section in 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -140,7 +145,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Section-in-chapter"></span><h2 class="section">1.1 Section in 
chapter</h2>
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -174,8 +180,9 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Up section"> Up 
</a>]</td>
@@ -190,14 +197,19 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b 
 bb  b bb.
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Sub-section-in-section"></span><h3 class="subsection">1.1.1 Sub 
section in section</h3>
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr size="6">
-<span id="SEC_Contents"></span>
+</div>
+</div>
+</div>
+</div>
+<div class="Contents_element" id="SEC_Contents">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -231,11 +243,11 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b 
 bb  b bb.
   </ul></li>
 </ul>
 </div>
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -357,7 +369,7 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
   </li>
 </ul>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git a/tp/t/results/layout/no_monolithic/res_html/no_monolithic.html 
b/tp/t/results/layout/no_monolithic/res_html/no_monolithic.html
index 912551b..ef4a6df 100644
--- a/tp/t/results/layout/no_monolithic/res_html/no_monolithic.html
+++ b/tp/t/results/layout/no_monolithic/res_html/no_monolithic.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#chapter" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="no_monolithic_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Not-monolithic"></span><h1 class="top">Not monolithic</h1>
+<div class="node" id="Not-monolithic">
+<h1 class="top">Not monolithic</h1>
 
 <p>Not monolitic manual<a id="DOCF1" 
href="no_monolithic_fot.html#FOOT1"><sup>1</sup></a>.
 </p>
@@ -54,8 +56,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -70,7 +73,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#chapter" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="no_monolithic_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Chapter"></span><h1 class="chapter">1 Chapter</h1>
+<div class="node" id="Chapter">
+<h1 class="chapter">1 Chapter</h1>
 
 <p>Chapter.
 </p>
@@ -88,7 +92,9 @@ ul.no-bullet {list-style: none}
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Chapter_cp_letter-T"><b>T</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/layout/no_monolithic/res_html/no_monolithic_abt.html 
b/tp/t/results/layout/no_monolithic/res_html/no_monolithic_abt.html
index 1e3fe20..ef5aa3b 100644
--- a/tp/t/results/layout/no_monolithic/res_html/no_monolithic_abt.html
+++ b/tp/t/results/layout/no_monolithic/res_html/no_monolithic_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="no_monolithic.html#Top" 
title="Cover (top) of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="no_monolithic_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="no_monolithic.html#Top" 
title="Cover (top) of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="no_monolithic_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/t/results/layout/no_monolithic/res_html/no_monolithic_fot.html 
b/tp/t/results/layout/no_monolithic/res_html/no_monolithic_fot.html
index 444b126..537e394 100644
--- a/tp/t/results/layout/no_monolithic/res_html/no_monolithic_fot.html
+++ b/tp/t/results/layout/no_monolithic/res_html/no_monolithic_fot.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Foot"></span>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="no_monolithic.html#Top" 
title="Cover (top) of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="no_monolithic_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -45,7 +45,7 @@ ul.no-bullet {list-style: none}
 
 <h5><a id="FOOT1" href="no_monolithic.html#DOCF1">(1)</a></h5>
 <p>my footnote</p>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="no_monolithic.html#Top" 
title="Cover (top) of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="no_monolithic_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/t/results/layout/no_monolithic/res_html/no_monolithic_ovr.html 
b/tp/t/results/layout/no_monolithic/res_html/no_monolithic_ovr.html
index 703d8b7..7cc4556 100644
--- a/tp/t/results/layout/no_monolithic/res_html/no_monolithic_ovr.html
+++ b/tp/t/results/layout/no_monolithic/res_html/no_monolithic_ovr.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Overview"></span>
+<div class="Overview_element" id="SEC_Overview">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="no_monolithic.html#Top" 
title="Cover (top) of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="no_monolithic_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -48,7 +48,7 @@ ul.no-bullet {list-style: none}
 <li><a id="stoc-Chapter" href="no_monolithic.html#chapter" rel="index">1 
Chapter</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="no_monolithic.html#Top" 
title="Cover (top) of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="no_monolithic_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/t/results/layout/no_monolithic/res_html/no_monolithic_toc.html 
b/tp/t/results/layout/no_monolithic/res_html/no_monolithic_toc.html
index 3fbc02f..0fe0c1a 100644
--- a/tp/t/results/layout/no_monolithic/res_html/no_monolithic_toc.html
+++ b/tp/t/results/layout/no_monolithic/res_html/no_monolithic_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="no_monolithic.html#Top" 
title="Cover (top) of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -49,7 +49,7 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-Chapter" href="no_monolithic.html#chapter" rel="index">1 
Chapter</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="no_monolithic.html#Top" 
title="Cover (top) of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/t/results/menu/block_commands_in_menu_description.pl 
b/tp/t/results/menu/block_commands_in_menu_description.pl
index 9fd44c1..78e2c97 100644
--- a/tp/t/results/menu/block_commands_in_menu_description.pl
+++ b/tp/t/results/menu/block_commands_in_menu_description.pl
@@ -862,7 +862,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="manual.html#Top" 
accesskey="1">(manual)</a>:</td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
@@ -889,7 +891,8 @@ Text.
 <pre class="verbatim">
 </pre></td></tr>
 </table>
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/menu/comment_on_menu_line.pl 
b/tp/t/results/menu/comment_on_menu_line.pl
index e669dd0..9b4ddd4 100644
--- a/tp/t/results/menu/comment_on_menu_line.pl
+++ b/tp/t/results/menu/comment_on_menu_line.pl
@@ -464,7 +464,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="chapter" id="Top">
+<div class="header">
 <p>
 Next: <a href="#first" accesskey="n" rel="next">first</a> &nbsp; </p>
 </div>
@@ -474,14 +475,17 @@ Next: <a href="#first" accesskey="n" rel="next">first</a> 
&nbsp; </p>
 </td></tr>
 </table>
 
-<span id="first-1"></span><h2 class="chapter">1 first</h2>
-<hr>
-<span id="first"></span><div class="header">
+<div class="node" id="first-1">
+<h2 class="chapter">1 first</h2>
+</div><hr>
+<div class="node" id="first">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">first</a>, Up: <a 
href="#Top" accesskey="u" rel="up">first</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">first</h4>
-<hr>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/menu/detailmenu_on_subnodes.pl 
b/tp/t/results/menu/detailmenu_on_subnodes.pl
index 2d6b7aa..844e3d3 100644
--- a/tp/t/results/menu/detailmenu_on_subnodes.pl
+++ b/tp/t/results/menu/detailmenu_on_subnodes.pl
@@ -1973,11 +1973,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter" accesskey="n" rel="next">chapter</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="#chapter" 
accesskey="1">chapter</a>:</td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
@@ -1998,31 +2000,39 @@ Next: <a href="#chapter" accesskey="n" 
rel="next">chapter</a> &nbsp; </p>
 </td></tr>
 </table>
 
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Next: <a href="#chapter-2" accesskey="n" rel="next">chapter 2</a>, Previous: 
<a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
-<span id="chapter-1"></span><h2 class="chapter">1 chapter</h2>
+<div class="node" id="chapter-1">
+<h2 class="chapter">1 chapter</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="#section" 
accesskey="1">section</a>:</td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><div class="header">
+</div><hr>
+<div class="section" id="section">
+<div class="header">
 <p>
 Up: <a href="#chapter" accesskey="u" rel="up">chapter</a> &nbsp; </p>
 </div>
-<span id="section-1"></span><h3 class="section">1.1 section</h3>
+<div class="node" id="section-1">
+<h3 class="section">1.1 section</h3>
 
-<hr>
-<span id="chapter-2"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="chapter" id="chapter-2">
+<div class="header">
 <p>
 Previous: <a href="#chapter" accesskey="p" rel="prev">chapter</a>, Up: <a 
href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
-<span id="chapter-2-1"></span><h2 class="chapter">2 chapter 2</h2>
+<div class="node" id="chapter-2-1">
+<h2 class="chapter">2 chapter 2</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="#section-chap-2" 
accesskey="1">section chap 2</a>:</td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
@@ -2031,20 +2041,28 @@ Previous: <a href="#chapter" accesskey="p" 
rel="prev">chapter</a>, Up: <a href="
 </td></tr>
 </table>
 
-<hr>
-<span id="section-chap-2"></span><div class="header">
+</div><hr>
+<div class="section" id="section-chap-2">
+<div class="header">
 <p>
 Next: <a href="#unnumberedsec" accesskey="n" rel="next">unnumberedsec</a>, Up: 
<a href="#chapter-2" accesskey="u" rel="up">chapter 2</a> &nbsp; </p>
 </div>
-<span id="section-chap-2-1"></span><h3 class="section">2.1 section chap 2</h3>
+<div class="node" id="section-chap-2-1">
+<h3 class="section">2.1 section chap 2</h3>
 
-<hr>
-<span id="unnumberedsec"></span><div class="header">
+</div><hr>
+</div>
+<div class="unnumberedsec" id="unnumberedsec">
+<div class="header">
 <p>
 Previous: <a href="#section-chap-2" accesskey="p" rel="prev">section chap 
2</a>, Up: <a href="#chapter-2" accesskey="u" rel="up">chapter 2</a> &nbsp; </p>
 </div>
-<span id="unnumberedsec-1"></span><h3 class="unnumberedsec">unnumberedsec</h3>
-<hr>
+<div class="node" id="unnumberedsec-1">
+<h3 class="unnumberedsec">unnumberedsec</h3>
+</div><hr>
+</div>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/menu/detailmenu_unknown_node.pl 
b/tp/t/results/menu/detailmenu_unknown_node.pl
index da5bf56..9d2f1b4 100644
--- a/tp/t/results/menu/detailmenu_unknown_node.pl
+++ b/tp/t/results/menu/detailmenu_unknown_node.pl
@@ -364,13 +364,14 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; unknown:</td><td>&nbsp;&nbsp;</td><td 
align="left" valign="top">
 </td></tr>
 </table>
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/menu/entry_after_detailmenu.pl 
b/tp/t/results/menu/entry_after_detailmenu.pl
index 1b2f355..fa99038 100644
--- a/tp/t/results/menu/entry_after_detailmenu.pl
+++ b/tp/t/results/menu/entry_after_detailmenu.pl
@@ -847,7 +847,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="#first" accesskey="n" rel="next">first</a> &nbsp; </p>
 </div>
@@ -870,19 +871,21 @@ Menu comment
 </td></tr>
 </table>
 
-<hr>
-<span id="first"></span><div class="header">
+</div><hr>
+<div class="node" id="first">
+<div class="header">
 <p>
 Next: <a href="#second" accesskey="n" rel="next">second</a>, Previous: <a 
href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">first</h4>
-<hr>
-<span id="second"></span><div class="header">
+</div><hr>
+<div class="node" id="second">
+<div class="header">
 <p>
 Previous: <a href="#first" accesskey="p" rel="prev">first</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">second</h4>
-<hr>
+</div><hr>
 
 
 
diff --git a/tp/t/results/menu/example_in_menu_description.pl 
b/tp/t/results/menu/example_in_menu_description.pl
index 07c02de..0bcb7f2 100644
--- a/tp/t/results/menu/example_in_menu_description.pl
+++ b/tp/t/results/menu/example_in_menu_description.pl
@@ -508,7 +508,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="manual.html#Top" 
accesskey="1">(manual)</a>:</td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
@@ -521,7 +523,8 @@ example
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
 </pre></th></tr></table>
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/menu/formats_in_menu.pl 
b/tp/t/results/menu/formats_in_menu.pl
index 2306037..248ef2c 100644
--- a/tp/t/results/menu/formats_in_menu.pl
+++ b/tp/t/results/menu/formats_in_menu.pl
@@ -1049,7 +1049,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="gcc.html#Top" 
accesskey="1">(gcc)</a>:</td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">text
@@ -1082,7 +1083,7 @@ Menu comment
 <pre class="menu-comment">
 
 </pre></th></tr></table>
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/menu/inlineraw_in_menu_description.pl 
b/tp/t/results/menu/inlineraw_in_menu_description.pl
index 56d7797..8df1761 100644
--- a/tp/t/results/menu/inlineraw_in_menu_description.pl
+++ b/tp/t/results/menu/inlineraw_in_menu_description.pl
@@ -479,7 +479,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="manual.html#Top" 
accesskey="1">(manual)</a>:</td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
@@ -490,7 +492,8 @@ end inlineraw
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
 </pre></th></tr></table>
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/menu/invalid_info_menu_entry.pl 
b/tp/t/results/menu/invalid_info_menu_entry.pl
index 71bf179..7da101a 100644
--- a/tp/t/results/menu/invalid_info_menu_entry.pl
+++ b/tp/t/results/menu/invalid_info_menu_entry.pl
@@ -918,7 +918,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="f.html#a_003a" 
accesskey="1">(f)a:</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -932,7 +933,7 @@ ul.no-bullet {list-style: none}
 <tr><td align="left" valign="top">&bull; <a href="f.html#node-n" 
accesskey="5">name</a>:</td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">d3
 </td></tr>
 </table>
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/menu/menu_in_example.pl 
b/tp/t/results/menu/menu_in_example.pl
index 4d8b993..b9830c8 100644
--- a/tp/t/results/menu/menu_in_example.pl
+++ b/tp/t/results/menu/menu_in_example.pl
@@ -763,7 +763,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <div class="example">
 <table class="menu" border="0" cellspacing="0"><tr><td>
@@ -784,7 +785,7 @@ ul.no-bullet {list-style: none}
 
 </pre></td></tr></table>
 </div>
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/menu/menu_pointing_to_anchor.pl 
b/tp/t/results/menu/menu_pointing_to_anchor.pl
index 9fc42cd..e914240 100644
--- a/tp/t/results/menu/menu_pointing_to_anchor.pl
+++ b/tp/t/results/menu/menu_pointing_to_anchor.pl
@@ -454,7 +454,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p>Text
 </p>
@@ -463,7 +465,8 @@ ul.no-bullet {list-style: none}
 <tr><td align="left" valign="top">&bull; <a href="#An-anchor" accesskey="1">An 
anchor</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">menu entry 
pointing to the anchor.
 </td></tr>
 </table>
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/menu/menu_title_before_entries.pl 
b/tp/t/results/menu/menu_title_before_entries.pl
index a634c8b..c8fa8ea 100644
--- a/tp/t/results/menu/menu_title_before_entries.pl
+++ b/tp/t/results/menu/menu_title_before_entries.pl
@@ -397,7 +397,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="#subnode" accesskey="n" rel="next">subnode</a> &nbsp; </p>
 </div>
@@ -409,13 +410,14 @@ Next: <a href="#subnode" accesskey="n" 
rel="next">subnode</a> &nbsp; </p>
 </td></tr>
 </table>
 
-<hr>
-<span id="subnode"></span><div class="header">
+</div><hr>
+<div class="node" id="subnode">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">subnode</h4>
-<hr>
+</div><hr>
 
 
 
diff --git a/tp/t/results/menu/no_colon_in_menu.pl 
b/tp/t/results/menu/no_colon_in_menu.pl
index 475c81a..2d9075f 100644
--- a/tp/t/results/menu/no_colon_in_menu.pl
+++ b/tp/t/results/menu/no_colon_in_menu.pl
@@ -245,12 +245,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">* a
 </pre></th></tr></table>
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/menu/reference_to_external_manual.pl 
b/tp/t/results/menu/reference_to_external_manual.pl
index 8168779..76a6183 100644
--- a/tp/t/results/menu/reference_to_external_manual.pl
+++ b/tp/t/results/menu/reference_to_external_manual.pl
@@ -332,13 +332,14 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="info.html#Top" 
accesskey="1">(info)</a>:</td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
 </td></tr>
 </table>
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/menu/sc_in_menu.pl b/tp/t/results/menu/sc_in_menu.pl
index 3139d27..78d5242 100644
--- a/tp/t/results/menu/sc_in_menu.pl
+++ b/tp/t/results/menu/sc_in_menu.pl
@@ -1158,7 +1158,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="#NODE" accesskey="n" rel="next"><small>NODE</small></a> &nbsp; 
</p>
 </div>
@@ -1178,8 +1179,9 @@ MENU-EXAMPLE COMMENT
 </pre></div>
 </th></tr></table>
 
-<hr>
-<span id="NODE"></span><div class="header">
+</div><hr>
+<div class="node" id="NODE">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
@@ -1194,7 +1196,7 @@ EXAMPLE COMMENT
 </pre></td></tr></table>
 </div>
 
-<hr>
+</div><hr>
 
 
 
diff --git a/tp/t/results/menu/verb_in_menu_description.pl 
b/tp/t/results/menu/verb_in_menu_description.pl
index 2e17f3c..4f42444 100644
--- a/tp/t/results/menu/verb_in_menu_description.pl
+++ b/tp/t/results/menu/verb_in_menu_description.pl
@@ -463,7 +463,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="manual.html#Top" 
accesskey="1">(manual)</a>:</td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
@@ -474,7 +476,8 @@ ul.no-bullet {list-style: none}
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
 </pre></th></tr></table>
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git 
a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl 
b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
index 23a25bf..dc66e3c 100644
--- a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
+++ b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
@@ -5295,7 +5295,9 @@ 
$result_converted{'html_text'}->{'codequoteundirected_codequotebacktick'} = '
 
 
 
-<span id="Top"></span><span id="test-quotes"></span><h1 class="top">test 
quotes</h1>
+<div class="top" id="Top">
+<div class="node" id="test-quotes">
+<h1 class="top">test quotes</h1>
 
 <p>&ldquo;simple-double&ndash;three&mdash;four&mdash;-&rdquo; 
&lsquo;simple&rsquo; quotedblleft: &ldquo; <br>
 code: <code>``simple-double--three---four----\'\' `simple\' quotedblleft: 
&ldquo;</code> <br>
@@ -5375,7 +5377,7 @@ samp: &lsquo;<samp>``simple-double--three---four----\'\' 
`simple\' quotedblleft:
 
 </pre></div>
 
-<hr>
+</div><hr></div>
 ';
 
 
diff --git a/tp/t/results/misc_commands/comment_space_command_on_line.pl 
b/tp/t/results/misc_commands/comment_space_command_on_line.pl
index 6ddcbd9..9807c9a 100644
--- a/tp/t/results/misc_commands/comment_space_command_on_line.pl
+++ b/tp/t/results/misc_commands/comment_space_command_on_line.pl
@@ -837,13 +837,16 @@ Text 1
 
 
 $result_converted{'html_text'}->{'comment_space_command_on_line'} = '
-<span id="Top"></span><span id="top-element-"></span><h1 class="top">top 
element&nbsp;</h1>
+<div class="top" id="Top">
+<div class="node" id="top-element-">
+<h1 class="top">top element&nbsp;</h1>
 
 
 <span id="index-index-entry--"></span>
 
-<span id="Heading--"></span><h3 class="heading">Heading &nbsp;</h3>
-
+<div class="heading" id="Heading--">
+<h3 class="heading">Heading &nbsp;</h3>
+</div>
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_letter-I"><b>I</b></a>
  &nbsp; 
 </td></tr></table>
@@ -863,7 +866,7 @@ 
$result_converted{'html_text'}->{'comment_space_command_on_line'} = '
 </p><div class="float-caption"><p><strong>Text 1
 </strong></p></div></div>
 
-<hr>
+</div><hr></div>
 ';
 
 
diff --git a/tp/t/results/misc_commands/no_empty_line_between_headings.pl 
b/tp/t/results/misc_commands/no_empty_line_between_headings.pl
index 30565f6..2dc9006 100644
--- a/tp/t/results/misc_commands/no_empty_line_between_headings.pl
+++ b/tp/t/results/misc_commands/no_empty_line_between_headings.pl
@@ -233,17 +233,21 @@ Subheading
 ';
 
 
-$result_converted{'html_text'}->{'no_empty_line_between_headings'} = '<span 
id="Top"></span><h1 class="top">Top</h1>
-<span id="Subheading"></span><h4 class="subheading">Subheading</h4>
-<ul class="section-toc">
+$result_converted{'html_text'}->{'no_empty_line_between_headings'} = '<div 
class="top" id="Top">
+<h1 class="top">Top</h1>
+<div class="subheading" id="Subheading">
+<h4 class="subheading">Subheading</h4>
+</div><ul class="section-toc">
 <li><a href="#Chapter" accesskey="1">Chapter</a></li>
 </ul>
-<span id="Chapter"></span><h2 class="chapter">1 Chapter</h2>
+</div><div class="chapter" id="Chapter">
+<h2 class="chapter">1 Chapter</h2>
 <ul class="section-toc">
 <li><a href="#Section" accesskey="1">Section</a></li>
 </ul>
-<span id="Section"></span><h3 class="section">1.1 Section</h3>
-<hr>
+</div><div class="section" id="Section">
+<h3 class="section">1.1 Section</h3>
+</div><hr></div>
 ';
 
 
diff --git a/tp/t/results/misc_commands/ref_in_center.pl 
b/tp/t/results/misc_commands/ref_in_center.pl
index 074d203..5868dc3 100644
--- a/tp/t/results/misc_commands/ref_in_center.pl
+++ b/tp/t/results/misc_commands/ref_in_center.pl
@@ -291,14 +291,15 @@ $result_converted{'plaintext'}->{'ref_in_center'} = '
 ';
 
 
-$result_converted{'html_text'}->{'ref_in_center'} = '<span id="Top"></span><h1 
class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'ref_in_center'} = '<div class="node" 
id="Top">
+<h1 class="node-heading">Top</h1>
 
 <div align="center"><a href="#Top">Top</a>
 </div>
 <div align="center">&lsquo;title
 &rsquo;
 </div><p>very long
-</p><hr>
+</p></div><hr></div>
 ';
 
 
diff --git a/tp/t/results/misc_commands/test_allowcodebreaks.pl 
b/tp/t/results/misc_commands/test_allowcodebreaks.pl
index f4dbd84..c23750e 100644
--- a/tp/t/results/misc_commands/test_allowcodebreaks.pl
+++ b/tp/t/results/misc_commands/test_allowcodebreaks.pl
@@ -2737,7 +2737,8 @@ Out of code -- out-of-code. \'1aaa\' \'2aaa-\' \'-3bbb\' 
\'4aaa-bbb\'  \' 5aaa-b
 ';
 
 
-$result_converted{'html_text'}->{'test_allowcodebreaks'} = '<span 
id="Top"></span><h1 class="node-heading">Top</h1>
+$result_converted{'html_text'}->{'test_allowcodebreaks'} = '<div class="node" 
id="Top">
+<h1 class="node-heading">Top</h1>
 
 
 
@@ -2783,7 +2784,7 @@ anc-hor<span id="A-node2"></span></samp>&rsquo;
 <div class="example">
 <pre class="example"><code>in-example</code>
 </pre></div>
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/morecoverage/formatting_fr.pl 
b/tp/t/results/morecoverage/formatting_fr.pl
index 7940f7d..db48c8f 100644
--- a/tp/t/results/morecoverage/formatting_fr.pl
+++ b/tp/t/results/morecoverage/formatting_fr.pl
@@ -4916,7 +4916,8 @@ ul.no-bullet {list-style: none}
 
 </p><hr>
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Section suivante 
dans l&rsquo;ordre de lecture"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -4924,7 +4925,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"> ? </a>]</td>
 </tr></table>
-<span id="Top-section"></span><h1 class="top">Top section</h1>
+<div class="node" id="Top-section">
+<h1 class="top">Top section</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#chapter">1 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top"></td></tr>
@@ -5052,8 +5054,9 @@ Menu comment
 </p>
 
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="D&eacute;but de ce 
chapitre ou chapitre pr&eacute;c&eacute;dent"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Section 
pr&eacute;c&eacute;dente dans l&rsquo;ordre de lecture"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Section 
sup&eacute;rieure">Plus haut</a>]</td>
@@ -5068,7 +5071,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"> ? </a>]</td>
 </tr></table>
-<span id="chapter-1"></span><h1 class="chapter">1 chapter</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <p><a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
@@ -5084,8 +5088,9 @@ Menu comment
 </pre></td></tr></table>
 </div>
 
-<hr>
-<span id="s_002d_002dect_002cion"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="s_002d_002dect_002cion">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="D&eacute;but 
de ce chapitre ou chapitre pr&eacute;c&eacute;dent"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Section 
pr&eacute;c&eacute;dente dans l&rsquo;ordre de lecture"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Section 
sup&eacute;rieure">Plus haut</a>]</td>
@@ -5100,7 +5105,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"> ? </a>]</td>
 </tr></table>
-<span id="A-section"></span><h2 class="section">1.1 A section</h2>
+<div class="node" id="A-section">
+<h2 class="section">1.1 A section</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#subsection">1.1.1 
subsection</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -5115,8 +5121,9 @@ Menu comment
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="D&eacute;but 
de ce chapitre ou chapitre pr&eacute;c&eacute;dent"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#s_002d_002dect_002cion" 
title="Section pr&eacute;c&eacute;dente dans l&rsquo;ordre de lecture"> &lt; 
</a>]</td>
 <td valign="middle" align="left">[<a href="#s_002d_002dect_002cion" 
title="Section sup&eacute;rieure">Plus haut</a>]</td>
@@ -5131,7 +5138,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"> ? </a>]</td>
 </tr></table>
-<span id="subsection-1"></span><h3 class="subsection">1.1.1 subsection</h3>
+<div class="node" id="subsection-1">
+<h3 class="subsection">1.1.1 subsection</h3>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d">1.1.1.1 
subsubsection &ldquo;simple-double&ndash;</a></td><td>&nbsp;&nbsp;</td><td 
align="left" valign="top">
@@ -5141,8 +5149,9 @@ Menu comment
 </table>
 
 <span id="anchor"></span>
-<hr>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d"></span><table 
class="header" cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+<div class="subsubsection" 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="D&eacute;but 
de ce chapitre ou chapitre pr&eacute;c&eacute;dent"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Section 
pr&eacute;c&eacute;dente dans l&rsquo;ordre de lecture"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Section 
sup&eacute;rieure">Plus haut</a>]</td>
@@ -5157,10 +5166,13 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"> ? </a>]</td>
 </tr></table>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1"></span><h4 
class="subsubsection">1.1.1.1 subsubsection &ldquo;simple-double&ndash;</h4>
+<div class="node" id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1">
+<h4 class="subsubsection">1.1.1.1 subsubsection 
&ldquo;simple-double&ndash;</h4>
 
-<hr>
-<span 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><table
 class="header" cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="subsubsection" 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="D&eacute;but 
de ce chapitre ou chapitre pr&eacute;c&eacute;dent"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d" title="Section 
pr&eacute;c&eacute;dente dans l&rsquo;ordre de lecture"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Section 
sup&eacute;rieure">Plus haut</a>]</td>
@@ -5175,10 +5187,16 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"> ? </a>]</td>
 </tr></table>
-<span id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><h4 
class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
+<div class="node" id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<h4 class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
 
-<hr>
-<span id="chapter2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+</div>
+</div>
+</div>
+<div class="centerchap" id="chapter2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="D&eacute;but 
de ce chapitre ou chapitre pr&eacute;c&eacute;dent"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="#subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027" 
title="Section pr&eacute;c&eacute;dente dans l&rsquo;ordre de lecture"> &lt; 
</a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Section 
sup&eacute;rieure">Plus haut</a>]</td>
@@ -5193,7 +5211,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"> ? </a>]</td>
 </tr></table>
-<span id="chapter-2"></span><h1 class="centerchap" align="center">chapter 
2</h1>
+<div class="node" id="chapter-2">
+<h1 class="centerchap" align="center">chapter 2</h1>
 
 <table><tr><th valign="top">Aller &agrave;: &nbsp; </th><td><a 
class="summary-letter" href="#chapter-2_cp_symbol-1"><b>.</b></a>
  &nbsp; 
@@ -5270,7 +5289,9 @@ Menu comment
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
+</div>
+</div>
 <p><font size="-1">
   Ce document a &eacute;t&eacute; g&eacute;n&eacute;r&eacute; le <em>a sunny 
day</em>.
 </font></p>
diff --git a/tp/t/results/morecoverage/texi_formatting.pl 
b/tp/t/results/morecoverage/texi_formatting.pl
index 7360ebb..2978c21 100644
--- a/tp/t/results/morecoverage/texi_formatting.pl
+++ b/tp/t/results/morecoverage/texi_formatting.pl
@@ -4907,11 +4907,13 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter" accesskey="n" rel="next">chapter</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a 
href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
-<span id="Top-section"></span><h1 class="top">Top section</h1>
+<div class="node" id="Top-section">
+<h1 class="top">Top section</h1>
 
 
 
@@ -5061,12 +5063,14 @@ Next: <a href="#chapter" accesskey="n" 
rel="next">chapter</a> &nbsp; [<a href="#
 </ul>
 </div>
 
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Next: <a href="#chapter2" accesskey="n" rel="next">chapter 2</a>, Previous: <a 
href="#Top" accesskey="p" rel="prev">Top section</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top section</a> &nbsp; [<a href="#SEC_Contents" 
title="Table of contents" rel="contents">Contents</a>][<a href="#Top" 
title="Index" rel="index">Index</a>]</p>
 </div>
-<span id="chapter-1"></span><h2 class="chapter">1 chapter</h2>
+<div class="node" id="chapter-1">
+<h2 class="chapter">1 chapter</h2>
 
 <p><a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
@@ -5074,23 +5078,27 @@ Next: <a href="#chapter2" accesskey="n" 
rel="next">chapter 2</a>, Previous: <a h
 <ul class="section-toc">
 <li><a href="#s_002d_002dect_002cion" accesskey="1">A section</a></li>
 </ul>
-<hr>
-<span id="s_002d_002dect_002cion"></span><div class="header">
+</div><hr>
+<div class="section" id="s_002d_002dect_002cion">
+<div class="header">
 <p>
 Up: <a href="#chapter" accesskey="u" rel="up">chapter</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a 
href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
-<span id="A-section"></span><h3 class="section">1.1 A section</h3>
+<div class="node" id="A-section">
+<h3 class="section">1.1 A section</h3>
 
 
 <ul class="section-toc">
 <li><a href="#subsection" accesskey="1">subsection</a></li>
 </ul>
-<hr>
-<span id="subsection"></span><div class="header">
+</div><hr>
+<div class="subsection" id="subsection">
+<div class="header">
 <p>
 Up: <a href="#s_002d_002dect_002cion" accesskey="u" rel="up">A section</a> 
&nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>][<a href="#Top" title="Index" 
rel="index">Index</a>]</p>
 </div>
-<span id="subsection-1"></span><h4 class="subsection">1.1.1 subsection</h4>
+<div class="node" id="subsection-1">
+<h4 class="subsection">1.1.1 subsection</h4>
 
 
 <span id="anchor"></span>
@@ -5098,26 +5106,37 @@ Up: <a href="#s_002d_002dect_002cion" accesskey="u" 
rel="up">A section</a> &nbsp
 <li><a href="#subsubsection-_0060_0060simple_002ddouble_002d_002d" 
accesskey="1">subsubsection &ldquo;simple-double&ndash;</a></li>
 <li><a 
href="#subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027" 
accesskey="2">three&mdash;four&mdash;-&rdquo;</a></li>
 </ul>
-<hr>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d"></span><div 
class="header">
+</div><hr>
+<div class="subsubsection" 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d">
+<div class="header">
 <p>
 Next: <a 
href="#subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027" 
accesskey="n" rel="next">three&mdash;four&mdash;-&rdquo;</a>, Up: <a 
href="#subsection" accesskey="u" rel="up">subsection</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a 
href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1"></span><h4 
class="subsubsection">1.1.1.1 subsubsection &ldquo;simple-double&ndash;</h4>
+<div class="node" id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1">
+<h4 class="subsubsection">1.1.1.1 subsubsection 
&ldquo;simple-double&ndash;</h4>
 
-<hr>
-<span 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><div
 class="header">
+</div><hr>
+</div>
+<div class="subsubsection" 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<div class="header">
 <p>
 Previous: <a href="#subsubsection-_0060_0060simple_002ddouble_002d_002d" 
accesskey="p" rel="prev">subsubsection &ldquo;simple-double&ndash;</a>, Up: <a 
href="#subsection" accesskey="u" rel="up">subsection</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a 
href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
-<span id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><h4 
class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
+<div class="node" id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<h4 class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
 
-<hr>
-<span id="chapter2"></span><div class="header">
+</div><hr>
+</div>
+</div>
+</div>
+</div>
+<div class="centerchap" id="chapter2">
+<div class="header">
 <p>
 Previous: <a href="#chapter" accesskey="p" rel="prev">chapter</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Top section</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a 
href="#Top" title="Index" rel="index">Index</a>]</p>
 </div>
-<span id="chapter-2"></span><h2 class="centerchap" align="center">chapter 
2</h2>
+<div class="node" id="chapter-2">
+<h2 class="centerchap" align="center">chapter 2</h2>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#chapter2_cp_symbol-1"><b>.</b></a>
  &nbsp; 
@@ -5194,7 +5213,7 @@ Previous: <a href="#chapter" accesskey="p" 
rel="prev">chapter</a>, Up: <a href="
  &nbsp; 
 </td></tr></table>
 
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -5202,6 +5221,8 @@ Previous: <a href="#chapter" accesskey="p" 
rel="prev">chapter</a>, Up: <a href="
 <p>in footnote</p>
 </div>
 <hr>
+</div>
+</div>
 
 
 
diff --git 
a/tp/t/results/moreindices/double_index_entry/res_html/double_index_entry.html 
b/tp/t/results/moreindices/double_index_entry/res_html/double_index_entry.html
index 50e563c..e7579fb 100644
--- 
a/tp/t/results/moreindices/double_index_entry/res_html/double_index_entry.html
+++ 
b/tp/t/results/moreindices/double_index_entry/res_html/double_index_entry.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span>
+<div class="node" id="Top">
+
 <span id="index-aaa"></span>
 
 <p>Text
@@ -46,7 +47,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="other-node"></span>
+</div><div class="node" id="other-node">
+
 <span id="index-aaa-2"></span>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_letter-A"><b>A</b></a>
@@ -65,7 +67,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/moreindices/index_no_node/res_html/Chapter-2.html 
b/tp/t/results/moreindices/index_no_node/res_html/Chapter-2.html
index 54a1f4d..c8002bf 100644
--- a/tp/t/results/moreindices/index_no_node/res_html/Chapter-2.html
+++ b/tp/t/results/moreindices/index_no_node/res_html/Chapter-2.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Chapter-2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="Chapter-2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[ Up ]</td>
@@ -53,7 +54,7 @@ ul.no-bullet {list-style: none}
 
 <p>In chapter 2
 </p>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
diff --git a/tp/t/results/moreindices/index_no_node/res_html/Chapter.html 
b/tp/t/results/moreindices/index_no_node/res_html/Chapter.html
index c1e5c1e..e991fa3 100644
--- a/tp/t/results/moreindices/index_no_node/res_html/Chapter.html
+++ b/tp/t/results/moreindices/index_no_node/res_html/Chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="Chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html#top-section" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html#second" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[ Up ]</td>
@@ -99,7 +100,7 @@ ul.no-bullet {list-style: none}
 <p>Text of chapter
 <span id="index-Chapter2"></span>
 </p>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html#top-section" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Chapter-2.html" title="Next 
chapter"> &gt;&gt; </a>]</td>
diff --git a/tp/t/results/moreindices/index_no_node/res_html/index.html 
b/tp/t/results/moreindices/index_no_node/res_html/index.html
index 1b70c37..d57c0ea 100644
--- a/tp/t/results/moreindices/index_no_node/res_html/index.html
+++ b/tp/t/results/moreindices/index_no_node/res_html/index.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="top-section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="top" id="top-section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="unnumbered.html" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#second" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -100,8 +101,9 @@ ul.no-bullet {list-style: none}
 <span id="index-top-section1"></span>
 
 
-<hr size="6">
-<span id="second"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr size="6">
+<div class="section" id="second">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#top-section" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#top-section" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#top-section" title="Up section"> 
Up </a>]</td>
@@ -210,7 +212,7 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#second_cp_letter-U"><b>U</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#top-section" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Next chapter"> 
&gt;&gt; </a>]</td>
diff --git 
a/tp/t/results/moreindices/index_no_node/res_html/index_no_node_abt.html 
b/tp/t/results/moreindices/index_no_node/res_html/index_no_node_abt.html
index 54c349c..3d5fe37 100644
--- a/tp/t/results/moreindices/index_no_node/res_html/index_no_node_abt.html
+++ b/tp/t/results/moreindices/index_no_node/res_html/index_no_node_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html#top-section" 
title="Cover (top) of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html#top-section" 
title="Cover (top) of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git a/tp/t/results/moreindices/index_no_node/res_html/unnumbered.html 
b/tp/t/results/moreindices/index_no_node/res_html/unnumbered.html
index 9fe3dc1..ca3400e 100644
--- a/tp/t/results/moreindices/index_no_node/res_html/unnumbered.html
+++ b/tp/t/results/moreindices/index_no_node/res_html/unnumbered.html
@@ -83,7 +83,8 @@ ul.no-bullet {list-style: none}
 </td></tr></table>
 
 
-<span id="unnumbered"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="unnumbered" id="unnumbered">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[ Up ]</td>
@@ -149,7 +150,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="index.html#top-section" title="Next 
chapter"> &gt;&gt; </a>]</td>
diff --git a/tp/t/results/moreindices/index_split/res_html/first.html 
b/tp/t/results/moreindices/index_split/res_html/first.html
index 3497808..aa8d888 100644
--- a/tp/t/results/moreindices/index_split/res_html/first.html
+++ b/tp/t/results/moreindices/index_split/res_html/first.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="first"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="chapter" id="first">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -153,7 +154,8 @@ ul.no-bullet {list-style: none}
 
 <span id="index-entry-after-printindex"></span>
 
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 <span id="index-a-function"></span>
 <span id="index-a-concept-in-first"></span>
 <span id="index-somewhere"></span>
@@ -173,8 +175,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="section-1"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section-1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#first" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#first" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#first" title="Up section"> Up 
</a>]</td>
@@ -189,7 +192,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Section-1"></span><h2 class="section">1.1 Section 1</h2>
+<div class="node" id="Section-1">
+<h2 class="section">1.1 Section 1</h2>
 
 <span id="index-something"></span>
 
@@ -270,8 +274,9 @@ ul.no-bullet {list-style: none}
 
 <span id="index-another"></span>
 
-<hr>
-<span id="subsection-1"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection-1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#first" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section-1" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section-1" title="Up section"> Up 
</a>]</td>
@@ -286,12 +291,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Subsection-1"></span><h3 class="subsection">1.1.1 Subsection 1</h3>
+<div class="node" id="Subsection-1">
+<h3 class="subsection">1.1.1 Subsection 1</h3>
 
 <p>In subsection 1
 </p>
-<hr>
-<span id="subsection-2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="subsection" id="subsection-2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#first" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection-1" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section-1" title="Up section"> Up 
</a>]</td>
@@ -306,7 +314,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Subsection-2"></span><h3 class="subsection">1.1.2 Subsection 2</h3>
+<div class="node" id="Subsection-2">
+<h3 class="subsection">1.1.2 Subsection 2</h3>
 
 <p>index in subsction 2
 </p>
@@ -381,8 +390,11 @@ ul.no-bullet {list-style: none}
 
 <span id="index-printindex-subsection-2"></span>
 
-<hr>
-<span id="section-2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+</div>
+<div class="section" id="section-2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#first" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection-2" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#first" title="Up section"> Up 
</a>]</td>
@@ -397,12 +409,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Section-2"></span><h2 class="section">1.2 Section 2</h2>
+<div class="node" id="Section-2">
+<h2 class="section">1.2 Section 2</h2>
 
 <p>Section 2
 </p>
-<hr>
-<span id="section-3"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="section" id="section-3">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#first" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section-2" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#first" title="Up section"> Up 
</a>]</td>
@@ -417,7 +432,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Section-3"></span><h2 class="section">1.3 Section 3</h2>
+<div class="node" id="Section-3">
+<h2 class="section">1.3 Section 3</h2>
 
 <span id="index-section-3"></span>
 
@@ -488,11 +504,13 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="node-in-section-3"></span>
+</div><div class="node" id="node-in-section-3">
+
 <span id="index-node-in-section-3"></span>
 <p>Text for the node in section 3
 </p>
-<span id="node-2-in-section-3"></span>
+</div><div class="node" id="node-2-in-section-3">
+
 <span id="index-node-2-in-section-3"></span>
 <p>Text for the node 2 in section 3
 </p>
@@ -634,10 +652,11 @@ ul.no-bullet {list-style: none}
 
 <span id="index-after-second-printindex-node-in-section-3"></span>
 
-<span id="node-3-in-section-3"></span>
+</div><div class="node" id="node-3-in-section-3">
+
 <span id="index-node-3-in-section-3"></span>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#first" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="second-chapter.html" title="Next 
chapter"> &gt;&gt; </a>]</td>
@@ -651,6 +670,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/moreindices/index_split/res_html/index.html 
b/tp/t/results/moreindices/index_split/res_html/index.html
index 1ea5482..8b2715d 100644
--- a/tp/t/results/moreindices/index_split/res_html/index.html
+++ b/tp/t/results/moreindices/index_split/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="first.html#first" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="split-indices"></span><h1 class="top">split indices</h1>
+<div class="node" id="split-indices">
+<h1 class="top">split indices</h1>
 <span id="index-entry-a"></span>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#split-indices_cp_symbol-1"><b>!</b></a>
@@ -219,7 +221,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="first.html#first" title="Next 
section in reading order"> &gt; </a>]</td>
@@ -228,6 +230,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/moreindices/index_split/res_html/index_split_abt.html 
b/tp/t/results/moreindices/index_split/res_html/index_split_abt.html
index 0e5385f..dfc4f69 100644
--- a/tp/t/results/moreindices/index_split/res_html/index_split_abt.html
+++ b/tp/t/results/moreindices/index_split/res_html/index_split_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git a/tp/t/results/moreindices/index_split/res_html/second-chapter.html 
b/tp/t/results/moreindices/index_split/res_html/second-chapter.html
index 167cebb..b2acc59 100644
--- a/tp/t/results/moreindices/index_split/res_html/second-chapter.html
+++ b/tp/t/results/moreindices/index_split/res_html/second-chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="second-chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="second-chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="first.html#first" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first.html#section-3" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,11 +50,12 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Second-chapter"></span><h1 class="chapter">2 Second chapter</h1>
+<div class="node" id="Second-chapter">
+<h1 class="chapter">2 Second chapter</h1>
 
 <p>Second chapter
 </p>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="first.html#first" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -67,6 +69,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/moreindices/index_split_nodes/res_html/first.html 
b/tp/t/results/moreindices/index_split_nodes/res_html/first.html
index f7e4785..7a461ba 100644
--- a/tp/t/results/moreindices/index_split_nodes/res_html/first.html
+++ b/tp/t/results/moreindices/index_split_nodes/res_html/first.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="first"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="chapter" id="first">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -154,7 +155,8 @@ ul.no-bullet {list-style: none}
 
 <span id="index-entry-after-printindex"></span>
 
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 <span id="index-a-function"></span>
 <span id="index-a-concept-in-first"></span>
 <span id="index-somewhere"></span>
@@ -174,7 +176,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
@@ -190,6 +192,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/moreindices/index_split_nodes/res_html/index.html 
b/tp/t/results/moreindices/index_split_nodes/res_html/index.html
index d67d2d8..85912c1 100644
--- a/tp/t/results/moreindices/index_split_nodes/res_html/index.html
+++ b/tp/t/results/moreindices/index_split_nodes/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,7 +45,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="split-indices"></span><h1 class="top">split indices</h1>
+<div class="node" id="split-indices">
+<h1 class="top">split indices</h1>
 <span id="index-entry-a"></span>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Top_cp_symbol-1"><b>!</b></a>
@@ -220,7 +222,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Next section in 
reading order"> &gt; </a>]</td>
@@ -229,6 +231,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moreindices/index_split_nodes/res_html/index_split_abt.html 
b/tp/t/results/moreindices/index_split_nodes/res_html/index_split_abt.html
index 7dfa101..33b1bd2 100644
--- a/tp/t/results/moreindices/index_split_nodes/res_html/index_split_abt.html
+++ b/tp/t/results/moreindices/index_split_nodes/res_html/index_split_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -144,7 +144,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git 
a/tp/t/results/moreindices/index_split_nodes/res_html/node-2-in-section-3.html 
b/tp/t/results/moreindices/index_split_nodes/res_html/node-2-in-section-3.html
index 1231c95..0f25ca1 100644
--- 
a/tp/t/results/moreindices/index_split_nodes/res_html/node-2-in-section-3.html
+++ 
b/tp/t/results/moreindices/index_split_nodes/res_html/node-2-in-section-3.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="node-2-in-section-3"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="node-2-in-section-3">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="node-in-section-3.html" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Up section"> Up 
</a>]</td>
@@ -193,7 +194,7 @@ ul.no-bullet {list-style: none}
 
 <span id="index-after-second-printindex-node-in-section-3"></span>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="node-in-section-3.html" 
title="Previous section in reading order"> &lt; </a>]</td>
diff --git 
a/tp/t/results/moreindices/index_split_nodes/res_html/node-3-in-section-3.html 
b/tp/t/results/moreindices/index_split_nodes/res_html/node-3-in-section-3.html
index f7bda3b..5a1cc19 100644
--- 
a/tp/t/results/moreindices/index_split_nodes/res_html/node-3-in-section-3.html
+++ 
b/tp/t/results/moreindices/index_split_nodes/res_html/node-3-in-section-3.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="node-3-in-section-3"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="node-3-in-section-3">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="node-2-in-section-3.html" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Up section"> Up 
</a>]</td>
@@ -54,7 +55,7 @@ ul.no-bullet {list-style: none}
 
 <span id="index-node-3-in-section-3"></span>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moreindices/index_split_nodes/res_html/node-in-section-3.html 
b/tp/t/results/moreindices/index_split_nodes/res_html/node-in-section-3.html
index c635872..3ecf577 100644
--- a/tp/t/results/moreindices/index_split_nodes/res_html/node-in-section-3.html
+++ b/tp/t/results/moreindices/index_split_nodes/res_html/node-in-section-3.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="node-in-section-3"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="node-in-section-3">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="section-3.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Up section"> Up 
</a>]</td>
@@ -55,7 +56,7 @@ ul.no-bullet {list-style: none}
 <span id="index-node-in-section-3"></span>
 <p>Text for the node in section 3
 </p>
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moreindices/index_split_nodes/res_html/second-chapter.html 
b/tp/t/results/moreindices/index_split_nodes/res_html/second-chapter.html
index 215cc0b..f372619 100644
--- a/tp/t/results/moreindices/index_split_nodes/res_html/second-chapter.html
+++ b/tp/t/results/moreindices/index_split_nodes/res_html/second-chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="second-chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="second-chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="first.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="node-3-in-section-3.html" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -50,11 +51,13 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Second-chapter"></span><h1 class="chapter">2 Second chapter</h1>
+<div class="node" id="Second-chapter">
+<h1 class="chapter">2 Second chapter</h1>
 
 <p>Second chapter
 </p>
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/moreindices/index_split_nodes/res_html/section-1.html 
b/tp/t/results/moreindices/index_split_nodes/res_html/section-1.html
index b5c9f29..471e4a6 100644
--- a/tp/t/results/moreindices/index_split_nodes/res_html/section-1.html
+++ b/tp/t/results/moreindices/index_split_nodes/res_html/section-1.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section-1"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="section-1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="first.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Up section"> Up 
</a>]</td>
@@ -50,7 +51,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Section-1"></span><h2 class="section">1.1 Section 1</h2>
+<div class="node" id="Section-1">
+<h2 class="section">1.1 Section 1</h2>
 
 <span id="index-something"></span>
 
@@ -131,7 +133,7 @@ ul.no-bullet {list-style: none}
 
 <span id="index-another"></span>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="first.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Previous section 
in reading order"> &lt; </a>]</td>
@@ -147,6 +149,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/moreindices/index_split_nodes/res_html/section-2.html 
b/tp/t/results/moreindices/index_split_nodes/res_html/section-2.html
index bd117e6..59c82b0 100644
--- a/tp/t/results/moreindices/index_split_nodes/res_html/section-2.html
+++ b/tp/t/results/moreindices/index_split_nodes/res_html/section-2.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section-2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="section-2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="first.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="subsection-2.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Up section"> Up 
</a>]</td>
@@ -50,11 +51,13 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Section-2"></span><h2 class="section">1.2 Section 2</h2>
+<div class="node" id="Section-2">
+<h2 class="section">1.2 Section 2</h2>
 
 <p>Section 2
 </p>
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/moreindices/index_split_nodes/res_html/section-3.html 
b/tp/t/results/moreindices/index_split_nodes/res_html/section-3.html
index b557bc5..565db04 100644
--- a/tp/t/results/moreindices/index_split_nodes/res_html/section-3.html
+++ b/tp/t/results/moreindices/index_split_nodes/res_html/section-3.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section-3"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="section-3">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="first.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="section-2.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Up section"> Up 
</a>]</td>
@@ -50,7 +51,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Section-3"></span><h2 class="section">1.3 Section 3</h2>
+<div class="node" id="Section-3">
+<h2 class="section">1.3 Section 3</h2>
 
 <span id="index-section-3"></span>
 
@@ -121,7 +123,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="first.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="section-2.html" title="Previous 
section in reading order"> &lt; </a>]</td>
@@ -137,6 +139,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moreindices/index_split_nodes/res_html/subsection-1.html 
b/tp/t/results/moreindices/index_split_nodes/res_html/subsection-1.html
index ed9314a..9346de1 100644
--- a/tp/t/results/moreindices/index_split_nodes/res_html/subsection-1.html
+++ b/tp/t/results/moreindices/index_split_nodes/res_html/subsection-1.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="subsection-1"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="subsection" id="subsection-1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="first.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="section-1.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="section-1.html" title="Up section"> 
Up </a>]</td>
@@ -50,11 +51,13 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Subsection-1"></span><h3 class="subsection">1.1.1 Subsection 1</h3>
+<div class="node" id="Subsection-1">
+<h3 class="subsection">1.1.1 Subsection 1</h3>
 
 <p>In subsection 1
 </p>
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moreindices/index_split_nodes/res_html/subsection-2.html 
b/tp/t/results/moreindices/index_split_nodes/res_html/subsection-2.html
index ce67320..7dcb342 100644
--- a/tp/t/results/moreindices/index_split_nodes/res_html/subsection-2.html
+++ b/tp/t/results/moreindices/index_split_nodes/res_html/subsection-2.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="subsection-2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="subsection" id="subsection-2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="first.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="subsection-1.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="section-1.html" title="Up section"> 
Up </a>]</td>
@@ -50,7 +51,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Subsection-2"></span><h3 class="subsection">1.1.2 Subsection 2</h3>
+<div class="node" id="Subsection-2">
+<h3 class="subsection">1.1.2 Subsection 2</h3>
 
 <p>index in subsction 2
 </p>
@@ -125,7 +127,7 @@ ul.no-bullet {list-style: none}
 
 <span id="index-printindex-subsection-2"></span>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="first.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="subsection-1.html" title="Previous 
section in reading order"> &lt; </a>]</td>
@@ -141,6 +143,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_split_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moreindices/nodes_before_top/res_html/first-before-top.html 
b/tp/t/results/moreindices/nodes_before_top/res_html/first-before-top.html
index b990e65..4fbfa5d 100644
--- a/tp/t/results/moreindices/nodes_before_top/res_html/first-before-top.html
+++ b/tp/t/results/moreindices/nodes_before_top/res_html/first-before-top.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="first-before-top"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="first-before-top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="../dir/index.html" title="Up 
section"> Up </a>]</td>
@@ -119,8 +120,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="node-in-menu-before-top"></span><table class="header" 
cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+<div class="node" id="node-in-menu-before-top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="#first-before-top" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#first-before-top" title="Up 
section"> Up </a>]</td>
@@ -203,8 +205,9 @@ ul.no-bullet {list-style: none}
 <span id="index-printindex-node-in-menu-before-top"></span>
 
 
-<hr size="6">
-<span id="first"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr size="6">
+<div class="node" id="first">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -291,8 +294,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="second"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr>
+<div class="node" id="second">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="#first" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#first" title="Up section"> Up 
</a>]</td>
@@ -343,8 +347,9 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
-<span id="another"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="node" id="another">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="#second" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#second" title="Up section"> Up 
</a>]</td>
@@ -365,8 +370,9 @@ ul.no-bullet {list-style: none}
 <span id="index-somewhere"></span>
 <span id="index-another"></span>
 
-<hr>
-<span id="a-node"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr>
+<div class="node" id="a-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="#another" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#second" title="Up section"> Up 
</a>]</td>
@@ -509,7 +515,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
diff --git a/tp/t/results/moreindices/nodes_before_top/res_html/index.html 
b/tp/t/results/moreindices/nodes_before_top/res_html/index.html
index b140b58..2f57bb2 100644
--- a/tp/t/results/moreindices/nodes_before_top/res_html/index.html
+++ b/tp/t/results/moreindices/nodes_before_top/res_html/index.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="node" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a 
href="first-before-top.html#node-in-menu-before-top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first-before-top.html#first" 
title="Next section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -202,7 +203,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a 
href="first-before-top.html#node-in-menu-before-top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first-before-top.html#first" 
title="Next section in reading order"> &gt; </a>]</td>
diff --git 
a/tp/t/results/moreindices/nodes_before_top/res_html/nodes_before_top_abt.html 
b/tp/t/results/moreindices/nodes_before_top/res_html/nodes_before_top_abt.html
index d3bdc51..e7b4368 100644
--- 
a/tp/t/results/moreindices/nodes_before_top/res_html/nodes_before_top_abt.html
+++ 
b/tp/t/results/moreindices/nodes_before_top/res_html/nodes_before_top_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git 
a/tp/t/results/moreindices/nodes_before_top_and_sections_monolithic/res_html/nodes_before_top_and_sections.html
 
b/tp/t/results/moreindices/nodes_before_top_and_sections_monolithic/res_html/nodes_before_top_and_sections.html
index 16bf725..1299872 100644
--- 
a/tp/t/results/moreindices/nodes_before_top_and_sections_monolithic/res_html/nodes_before_top_and_sections.html
+++ 
b/tp/t/results/moreindices/nodes_before_top_and_sections_monolithic/res_html/nodes_before_top_and_sections.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="first-before-top"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="first-before-top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -190,7 +191,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="node-in-menu-before-top"></span>
+</div><div class="node" id="node-in-menu-before-top">
+
 <span id="index-node-in-menu-before-top"></span>
 <p>between node in menu before top and printindex
 </p><table><tr><th valign="top">Jump to: &nbsp; </th><td><a 
class="summary-letter" href="#top-section_cp_symbol-1"><b>!</b></a>
@@ -266,7 +268,8 @@ ul.no-bullet {list-style: none}
 <span id="index-printindex-node-in-menu-before-top"></span>
 
 
-<span id="Top"></span><span id="index-entry-a"></span>
+</div><div class="top" id="Top">
+<span id="index-entry-a"></span>
 <p>in top node.
 </p><table><tr><th valign="top">Jump to: &nbsp; </th><td><a 
class="summary-letter" href="#top-section_cp_symbol-1"><b>!</b></a>
  &nbsp; 
@@ -436,7 +439,8 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="top-section"></span><h1 class="top">top section</h1>
+<div class="node" id="top-section">
+<h1 class="top">top section</h1>
 <span id="index-top-section"></span>
 
 <p>in top section
@@ -450,7 +454,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="first"></span><p>Text and then index entries
+</div><div class="node" id="first">
+<p>Text and then index entries
 <span id="index-_0021-entry-in-node"></span>
 <span id="index-fun-in-node"></span>
 <span id="index-entry-in-node"></span>
@@ -529,7 +534,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="second"></span><table class="menu" border="0" cellspacing="0">
+</div><div class="node" id="second">
+<table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="#a-node" rel="index">a 
node</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 <tr><td align="left" valign="top">&bull; <a 
href="#another">another</a></td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
@@ -564,12 +570,14 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="another"></span>
+</div><div class="node" id="another">
+
 <span id="index-something"></span>
 <span id="index-somewhere"></span>
 <span id="index-another"></span>
 
-<span id="a-node"></span><span id="index-entry-after-printindex"></span>
+</div><div class="node" id="a-node">
+<span id="index-entry-after-printindex"></span>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#top-section_cp_symbol-1"><b>!</b></a>
  &nbsp; 
@@ -712,8 +720,9 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -728,7 +737,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="A-chapter"></span><h1 class="chapter">1 A chapter</h1>
+<div class="node" id="A-chapter">
+<h1 class="chapter">1 A chapter</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#A-chapter_cp_symbol-1"><b>!</b></a>
  &nbsp; 
@@ -799,11 +809,14 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="node-in-chapter"></span>
+</div><div class="node" id="node-in-chapter">
+
 <span id="index-node-in-chapter"></span>
 
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -912,7 +925,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moreindices/nodes_before_top_no_nodes/res_html/index.html 
b/tp/t/results/moreindices/nodes_before_top_no_nodes/res_html/index.html
index 85f73a0..a20b7c2 100644
--- a/tp/t/results/moreindices/nodes_before_top_no_nodes/res_html/index.html
+++ b/tp/t/results/moreindices/nodes_before_top_no_nodes/res_html/index.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="first-before-top"></span><span id="index-first-before-top"></span>
+<div class="node" id="first-before-top">
+<span id="index-first-before-top"></span>
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_symbol-1"><b>!</b></a>
  &nbsp; 
 <br>
@@ -103,7 +104,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="node-in-menu-before-top"></span>
+</div><div class="node" id="node-in-menu-before-top">
+
 <span id="index-node-in-menu-before-top"></span>
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_symbol-1"><b>!</b></a>
  &nbsp; 
@@ -170,7 +172,8 @@ ul.no-bullet {list-style: none}
 <span id="index-printindex-node-in-menu-before-top"></span>
 
 
-<span id="Top"></span><span id="index-entry-a"></span>
+</div><div class="node" id="Top">
+<span id="index-entry-a"></span>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_symbol-1"><b>!</b></a>
  &nbsp; 
@@ -329,7 +332,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="first"></span><p>Text and then index entries
+</div><div class="node" id="first">
+<p>Text and then index entries
 <span id="index-_0021-entry-in-node"></span>
 <span id="index-fun-in-node"></span>
 <span id="index-entry-in-node"></span>
@@ -400,7 +404,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="second"></span><table class="menu" border="0" cellspacing="0">
+</div><div class="node" id="second">
+<table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="#a-node" rel="index">a 
node</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 <tr><td align="left" valign="top">&bull; <a 
href="#another">another</a></td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
@@ -435,12 +440,14 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="another"></span>
+</div><div class="node" id="another">
+
 <span id="index-something"></span>
 <span id="index-somewhere"></span>
 <span id="index-another"></span>
 
-<span id="a-node"></span><span id="index-entry-after-printindex"></span>
+</div><div class="node" id="a-node">
+<span id="index-entry-after-printindex"></span>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_symbol-1"><b>!</b></a>
  &nbsp; 
@@ -567,7 +574,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/a-node.html 
b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/a-node.html
index 489a6d2..b614cc3 100644
--- a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/a-node.html
+++ b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/a-node.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="a-node"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="node" id="a-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="another.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="second.html" title="Up section"> Up 
</a>]</td>
@@ -178,7 +179,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="another.html" title="Previous 
section in reading order"> &lt; </a>]</td>
diff --git 
a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/another.html 
b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/another.html
index 79b3fef..5a08b20 100644
--- a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/another.html
+++ b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/another.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="another"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="another">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="second.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="second.html" title="Up section"> Up 
</a>]</td>
@@ -56,7 +57,7 @@ ul.no-bullet {list-style: none}
 <span id="index-somewhere"></span>
 <span id="index-another"></span>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/first-before-top.html
 
b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/first-before-top.html
index 7ef6938..71291d3 100644
--- 
a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/first-before-top.html
+++ 
b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/first-before-top.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="first-before-top"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="first-before-top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="../dir/index.html" title="Up 
section"> Up </a>]</td>
@@ -120,7 +121,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[ &lt; ]</td>
diff --git 
a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/first.html 
b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/first.html
index 8c421fd..d63ed8a 100644
--- a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/first.html
+++ b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/first.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="first"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="node" id="first">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -122,7 +123,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
diff --git 
a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/index.html 
b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/index.html
index 753aa74..2a3f11d 100644
--- a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/index.html
+++ b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/index.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="node" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="node-in-menu-before-top.html" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -203,7 +204,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="node-in-menu-before-top.html" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Next section in 
reading order"> &gt; </a>]</td>
diff --git 
a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/node-in-menu-before-top.html
 
b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/node-in-menu-before-top.html
index 49f26d9..98958c8 100644
--- 
a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/node-in-menu-before-top.html
+++ 
b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/node-in-menu-before-top.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="node-in-menu-before-top"></span><table class="header" 
cellpadding="1" cellspacing="1" border="0">
+<div class="node" id="node-in-menu-before-top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="first-before-top.html" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first-before-top.html" title="Up 
section"> Up </a>]</td>
@@ -118,7 +119,7 @@ ul.no-bullet {list-style: none}
 <span id="index-printindex-node-in-menu-before-top"></span>
 
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="first-before-top.html" 
title="Previous section in reading order"> &lt; </a>]</td>
diff --git 
a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/nodes_before_top_abt.html
 
b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/nodes_before_top_abt.html
index 5a973a1..edb0da8 100644
--- 
a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/nodes_before_top_abt.html
+++ 
b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/nodes_before_top_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -144,7 +144,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git 
a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/second.html 
b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/second.html
index 9ff909f..c37cbd0 100644
--- a/tp/t/results/moreindices/nodes_before_top_nodes/res_html/second.html
+++ b/tp/t/results/moreindices/nodes_before_top_nodes/res_html/second.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="second"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="node" id="second">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Up section"> Up 
</a>]</td>
@@ -86,7 +87,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/moreindices/split_chapter_index/res_html/first.html 
b/tp/t/results/moreindices/split_chapter_index/res_html/first.html
index 10152b8..4c53c7b 100644
--- a/tp/t/results/moreindices/split_chapter_index/res_html/first.html
+++ b/tp/t/results/moreindices/split_chapter_index/res_html/first.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="first"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="chapter" id="first">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#first" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="split_chapter_index_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <p>Text and then index entries
 <span id="index-entry-in-node"></span>
@@ -116,8 +118,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="section-1"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section-1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#first" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#first" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#first" title="Up section"> Up 
</a>]</td>
@@ -132,7 +135,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#first" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="split_chapter_index_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Section-1"></span><h2 class="section">1.1 Section 1</h2>
+<div class="node" id="Section-1">
+<h2 class="section">1.1 Section 1</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#subsection-1">1.1.1 Subsection 
1</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -143,8 +147,9 @@ ul.no-bullet {list-style: none}
 
 <span id="index-another"></span>
 
-<hr>
-<span id="subsection-1"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection-1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#first" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section-1" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section-1" title="Up section"> Up 
</a>]</td>
@@ -159,13 +164,14 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#first" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="split_chapter_index_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Subsection-1"></span><h3 class="subsection">1.1.1 Subsection 1</h3>
+<div class="node" id="Subsection-1">
+<h3 class="subsection">1.1.1 Subsection 1</h3>
 
 <p>In subsection 1
 </p>
 <span id="index-printindex-subsection-2"></span>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#first" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -179,6 +185,9 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#first" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="split_chapter_index_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/moreindices/split_chapter_index/res_html/index.html 
b/tp/t/results/moreindices/split_chapter_index/res_html/index.html
index 7d12904..bc9f7a1 100644
--- a/tp/t/results/moreindices/split_chapter_index/res_html/index.html
+++ b/tp/t/results/moreindices/split_chapter_index/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="first.html#first" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="first.html#first" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="split_chapter_index_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="split-indices"></span><h1 class="top">split indices</h1>
+<div class="node" id="split-indices">
+<h1 class="top">split indices</h1>
 <span id="index-entry-a"></span>
 
 <p>Text in top.
@@ -54,7 +56,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="first.html#first" title="Next 
section in reading order"> &gt; </a>]</td>
@@ -63,6 +65,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="first.html#first" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="split_chapter_index_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moreindices/split_chapter_index/res_html/split_chapter_index_abt.html
 
b/tp/t/results/moreindices/split_chapter_index/res_html/split_chapter_index_abt.html
index c39fdd5..f50823f 100644
--- 
a/tp/t/results/moreindices/split_chapter_index/res_html/split_chapter_index_abt.html
+++ 
b/tp/t/results/moreindices/split_chapter_index/res_html/split_chapter_index_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git 
a/tp/t/results/moresectioning/equivalent_nodes/res_html/equivalent_nodes.html 
b/tp/t/results/moresectioning/equivalent_nodes/res_html/equivalent_nodes.html
index e2be1b7..e4213fe 100644
--- 
a/tp/t/results/moresectioning/equivalent_nodes/res_html/equivalent_nodes.html
+++ 
b/tp/t/results/moresectioning/equivalent_nodes/res_html/equivalent_nodes.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="before-top"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="before-top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="dir.html#Top" title="Up section"> 
Up </a>]</td>
@@ -52,8 +53,9 @@ ul.no-bullet {list-style: none}
 </tr></table>
 <h3 class="node-heading">before top</h3>
 
-<hr size="6">
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr size="6">
+<div class="node" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#before-top" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#node" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -70,8 +72,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="node"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr size="6">
+<div class="node" id="node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -99,8 +102,8 @@ ul.no-bullet {list-style: none}
 </p>
 <p>Ref to @samp{node} <a href="#node">node</a>.
 </p>
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -209,7 +212,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/equivalent_nodes_no_node/res_html/equivalent_nodes.html
 
b/tp/t/results/moresectioning/equivalent_nodes_no_node/res_html/equivalent_nodes.html
index 2909d04..7fa0b6b 100644
--- 
a/tp/t/results/moresectioning/equivalent_nodes_no_node/res_html/equivalent_nodes.html
+++ 
b/tp/t/results/moresectioning/equivalent_nodes_no_node/res_html/equivalent_nodes.html
@@ -35,8 +35,10 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="before-top"></span>
-<span id="Top"></span>
+<div class="node" id="before-top">
+
+</div><div class="node" id="Top">
+
 <p>Equivalent nodes in node line and in menu.
 </p>
 <table class="menu" border="0" cellspacing="0">
@@ -44,7 +46,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="node"></span>
+</div><div class="node" id="node">
+
 <div class="float">
 <p>A figure
 </p><div class="float-caption"><p><strong>Figure
@@ -56,7 +59,7 @@ ul.no-bullet {list-style: none}
 </p>
 <p>Ref to @samp{node} <a href="#node">node</a>.
 </p>
-<hr>
+</div><hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/more_sections_than_nodes/res_html/more_sections_than_nodes.html
 
b/tp/t/results/moresectioning/more_sections_than_nodes/res_html/more_sections_than_nodes.html
index 0aeba8d..1141944 100644
--- 
a/tp/t/results/moresectioning/more_sections_than_nodes/res_html/more_sections_than_nodes.html
+++ 
b/tp/t/results/moresectioning/more_sections_than_nodes/res_html/more_sections_than_nodes.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#c1" title="Next section in reading 
order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#n-c2">2 
c2</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -54,8 +56,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="c1"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr size="6">
+<div class="chapter" id="c1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -72,8 +75,9 @@ ul.no-bullet {list-style: none}
 </tr></table>
 <h1 class="chapter">1 c1</h1>
 
-<hr>
-<span id="n-c2"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr>
+<div class="chapter" id="n-c2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#c1" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#c1" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -88,10 +92,12 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="c2"></span><h1 class="chapter">2 c2</h1>
+<div class="node" id="c2">
+<h1 class="chapter">2 c2</h1>
 
-<hr>
-<span id="s1"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr>
+<div class="section" id="s1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#n-c2" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#n-c2" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#n-c2" title="Up section"> Up 
</a>]</td>
@@ -108,8 +114,10 @@ ul.no-bullet {list-style: none}
 </tr></table>
 <h2 class="section">2.1 s1</h2>
 
-<hr>
-<span id="n-c3"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr>
+</div>
+<div class="chapter" id="n-c3">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#n-c2" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#s1" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -124,15 +132,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="c3"></span><h1 class="chapter">3 c3</h1>
+<div class="node" id="c3">
+<h1 class="chapter">3 c3</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#n-c3-s-2">3.2 c3 
s2</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
-<span id="C3-s1"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr>
+<div class="section" id="C3-s1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#n-c3" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#n-c3" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#n-c3" title="Up section"> Up 
</a>]</td>
@@ -149,8 +159,9 @@ ul.no-bullet {list-style: none}
 </tr></table>
 <h2 class="section">3.1 C3 s1</h2>
 
-<hr>
-<span id="n-c3-s-2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="n-c3-s-2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#n-c3" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#C3-s1" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#n-c3" title="Up section"> Up 
</a>]</td>
@@ -165,10 +176,12 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="c3-s2"></span><h2 class="section">3.2 c3 s2</h2>
+<div class="node" id="c3-s2">
+<h2 class="section">3.2 c3 s2</h2>
 
-<hr>
-<span id="c3-s3"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr>
+<div class="section" id="c3-s3">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#n-c3" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#n-c3-s-2" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#n-c3" title="Up section"> Up 
</a>]</td>
@@ -185,8 +198,9 @@ ul.no-bullet {list-style: none}
 </tr></table>
 <h2 class="section">3.3 c3 s3</h2>
 
-<hr>
-<span id="c4"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr>
+<div class="chapter" id="c4">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#n-c3" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#c3-s3" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -203,8 +217,9 @@ ul.no-bullet {list-style: none}
 </tr></table>
 <h1 class="chapter">4 c4</h1>
 
-<hr>
-<span id="c3-s1"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr>
+<div class="section" id="c3-s1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#c4" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#c4" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#c4" title="Up section"> Up 
</a>]</td>
@@ -221,8 +236,9 @@ ul.no-bullet {list-style: none}
 </tr></table>
 <h2 class="section">4.1 c3 s1</h2>
 
-<hr>
-<span id="c3-s1-s1"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="c3-s1-s1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#c4" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#c3-s1" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#c3-s1" title="Up section"> Up 
</a>]</td>
@@ -239,8 +255,9 @@ ul.no-bullet {list-style: none}
 </tr></table>
 <h3 class="subsection">4.1.1 c3 s1 s1</h3>
 
-<hr>
-<span id="n-c3-s1-s2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="n-c3-s1-s2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#c4" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#c3-s1-s1" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#c3-s1" title="Up section"> Up 
</a>]</td>
@@ -255,10 +272,12 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="c3-s1-s2"></span><h3 class="subsection">4.1.2 c3 s1 s2</h3>
+<div class="node" id="c3-s1-s2">
+<h3 class="subsection">4.1.2 c3 s1 s2</h3>
 
-<hr>
-<span id="appendix"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="appendix" id="appendix">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#c4" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#n-c3-s1-s2" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -275,8 +294,12 @@ ul.no-bullet {list-style: none}
 </tr></table>
 <h1 class="appendix">Appendix A appendix</h1>
 
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -385,7 +408,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/node_footnote_end/res_html/node_footnote.html 
b/tp/t/results/moresectioning/node_footnote_end/res_html/node_footnote.html
index 870acf1..2a0398a 100644
--- a/tp/t/results/moresectioning/node_footnote_end/res_html/node_footnote.html
+++ b/tp/t/results/moresectioning/node_footnote_end/res_html/node_footnote.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span>
+<div class="node" id="Top">
+
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a 
href="#g_t_00e1">&aacute;</a></td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
 </td></tr>
@@ -47,26 +48,31 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="g_t_00e1"></span>
+</div><div class="node" id="g_t_00e1">
+
 <p>node &aacute;,
 Footnote 1<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>.
 </p>
-<span id="g_t_00e2"></span>
+</div><div class="node" id="g_t_00e2">
+
 <p>node &acirc;,
 Footnote 2<a id="DOCF2" href="#FOOT2"><sup>2</sup></a>.
 </p>
-<span id="chapter"></span><span id="chapter-1"></span><h1 class="chapter">1 
chapter</h1>
+</div><div class="chapter" id="chapter">
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a 
href="#g_t_00e0">&agrave;</a></td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
 </td></tr>
 </table>
 
-<span id="g_t_00e0"></span>
+</div><div class="node" id="g_t_00e0">
+
 <p>node &agrave;,
 Footnote 3<a id="DOCF3" href="#FOOT3"><sup>3</sup></a>.
 </p>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h3 class="footnotes-heading">Footnotes</h3>
 
@@ -77,7 +83,8 @@ Footnote 3<a id="DOCF3" href="#FOOT3"><sup>3</sup></a>.
 <h5><a id="FOOT3" href="#DOCF3">(3)</a></h5>
 <p>foot 3 &agrave;</p>
 </div>
-<hr>
+<hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/node_footnote_separated/res_html/node_footnote.html
 
b/tp/t/results/moresectioning/node_footnote_separated/res_html/node_footnote.html
index 870acf1..2a0398a 100644
--- 
a/tp/t/results/moresectioning/node_footnote_separated/res_html/node_footnote.html
+++ 
b/tp/t/results/moresectioning/node_footnote_separated/res_html/node_footnote.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span>
+<div class="node" id="Top">
+
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a 
href="#g_t_00e1">&aacute;</a></td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
 </td></tr>
@@ -47,26 +48,31 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="g_t_00e1"></span>
+</div><div class="node" id="g_t_00e1">
+
 <p>node &aacute;,
 Footnote 1<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>.
 </p>
-<span id="g_t_00e2"></span>
+</div><div class="node" id="g_t_00e2">
+
 <p>node &acirc;,
 Footnote 2<a id="DOCF2" href="#FOOT2"><sup>2</sup></a>.
 </p>
-<span id="chapter"></span><span id="chapter-1"></span><h1 class="chapter">1 
chapter</h1>
+</div><div class="chapter" id="chapter">
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a 
href="#g_t_00e0">&agrave;</a></td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
 </td></tr>
 </table>
 
-<span id="g_t_00e0"></span>
+</div><div class="node" id="g_t_00e0">
+
 <p>node &agrave;,
 Footnote 3<a id="DOCF3" href="#FOOT3"><sup>3</sup></a>.
 </p>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h3 class="footnotes-heading">Footnotes</h3>
 
@@ -77,7 +83,8 @@ Footnote 3<a id="DOCF3" href="#FOOT3"><sup>3</sup></a>.
 <h5><a id="FOOT3" href="#DOCF3">(3)</a></h5>
 <p>foot 3 &agrave;</p>
 </div>
-<hr>
+<hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/moresectioning/node_footnote_use_node/res_html/a.html 
b/tp/t/results/moresectioning/node_footnote_use_node/res_html/a.html
index cd18057..4df5a83 100644
--- a/tp/t/results/moresectioning/node_footnote_use_node/res_html/a.html
+++ b/tp/t/results/moresectioning/node_footnote_use_node/res_html/a.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_00e1"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="g_t_00e1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -55,8 +56,9 @@ ul.no-bullet {list-style: none}
 <p>node &aacute;,
 Footnote 1<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>.
 </p>
-<hr>
-<span id="g_t_00e2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="node" id="g_t_00e2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="#g_t_00e1" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -76,7 +78,7 @@ Footnote 1<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>.
 <p>node &acirc;,
 Footnote 2<a id="DOCF2" href="#FOOT2"><sup>2</sup></a>.
 </p>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h3 class="footnotes-heading">Footnotes</h3>
 
@@ -86,7 +88,8 @@ Footnote 2<a id="DOCF2" href="#FOOT2"><sup>2</sup></a>.
 <p>foot 2 &acirc;</p>
 </div>
 <hr>
-<span id="g_t_00e0"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="g_t_00e0">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Up section"> 
Up </a>]</td>
@@ -106,7 +109,7 @@ Footnote 2<a id="DOCF2" href="#FOOT2"><sup>2</sup></a>.
 <p>node &agrave;,
 Footnote 3<a id="DOCF3" href="#FOOT3"><sup>3</sup></a>.
 </p>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h3 class="footnotes-heading">Footnotes</h3>
 
diff --git 
a/tp/t/results/moresectioning/node_footnote_use_node/res_html/chapter.html 
b/tp/t/results/moresectioning/node_footnote_use_node/res_html/chapter.html
index e71304f..f412100 100644
--- a/tp/t/results/moresectioning/node_footnote_use_node/res_html/chapter.html
+++ b/tp/t/results/moresectioning/node_footnote_use_node/res_html/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="a.html#g_t_00e2" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -50,14 +51,16 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="node_footnote_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="chapter-1"></span><h1 class="chapter">1 chapter</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a 
href="a.html#g_t_00e0">&agrave;</a></td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/node_footnote_use_node/res_html/index.html 
b/tp/t/results/moresectioning/node_footnote_use_node/res_html/index.html
index 55baf8a..8532094 100644
--- a/tp/t/results/moresectioning/node_footnote_use_node/res_html/index.html
+++ b/tp/t/results/moresectioning/node_footnote_use_node/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="node" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="a.html#g_t_00e1" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -57,7 +58,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="a.html#g_t_00e1" title="Next 
section in reading order"> &gt; </a>]</td>
diff --git 
a/tp/t/results/moresectioning/node_footnote_use_node/res_html/node_footnote_abt.html
 
b/tp/t/results/moresectioning/node_footnote_use_node/res_html/node_footnote_abt.html
index 4937216..f905d7f 100644
--- 
a/tp/t/results/moresectioning/node_footnote_use_node/res_html/node_footnote_abt.html
+++ 
b/tp/t/results/moresectioning/node_footnote_use_node/res_html/node_footnote_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -144,7 +144,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git 
a/tp/t/results/moresectioning/nodes_after_top_before_chapter/res_html/nodes_after_top_before_chapter.html
 
b/tp/t/results/moresectioning/nodes_after_top_before_chapter/res_html/nodes_after_top_before_chapter.html
index 2c99645..5bdc2cd 100644
--- 
a/tp/t/results/moresectioning/nodes_after_top_before_chapter/res_html/nodes_after_top_before_chapter.html
+++ 
b/tp/t/results/moresectioning/nodes_after_top_before_chapter/res_html/nodes_after_top_before_chapter.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><p>Top node
+<div class="node" id="Top">
+<p>Top node
 </p><table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="#second-node">second 
node</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
@@ -44,13 +45,17 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="second-node"></span>
+</div><div class="node" id="second-node">
+
 <p>second node
 </p>
-<span id="third-node"></span><span id="chapter"></span><h1 class="chapter">1 
chapter</h1>
+</div><div class="chapter" id="third-node">
+<div class="node" id="chapter">
+<h1 class="chapter">1 chapter</h1>
 
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter/res_html/index.html
 
b/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter/res_html/index.html
index 6e17c81..6e9a1f4 100644
--- 
a/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter/res_html/index.html
+++ 
b/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter/res_html/index.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="node" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#second-node" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -53,8 +54,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="second-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="node" id="second-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -73,7 +75,7 @@ ul.no-bullet {list-style: none}
 
 <p>second node
 </p>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
diff --git 
a/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter/res_html/nodes_after_top_before_chapter_abt.html
 
b/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter/res_html/nodes_after_top_before_chapter_abt.html
index d245d91..a49d36a 100644
--- 
a/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter/res_html/nodes_after_top_before_chapter_abt.html
+++ 
b/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter/res_html/nodes_after_top_before_chapter_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html#Top" title="Cover 
(top) of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html#Top" title="Cover 
(top) of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git 
a/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter/res_html/third-node.html
 
b/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter/res_html/third-node.html
index dd50632..d26fcd5 100644
--- 
a/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter/res_html/third-node.html
+++ 
b/tp/t/results/moresectioning/nodes_after_top_before_chapter_use_nodes_chapter/res_html/third-node.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="third-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="third-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="index.html#second-node" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html#Top" title="Up section"> 
Up </a>]</td>
@@ -49,10 +50,11 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a 
href="nodes_after_top_before_chapter_abt.html#SEC_About" title="About (help)"> 
? </a>]</td>
 </tr></table>
-<span id="chapter"></span><h1 class="chapter">1 chapter</h1>
+<div class="node" id="chapter">
+<h1 class="chapter">1 chapter</h1>
 
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -66,6 +68,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a 
href="nodes_after_top_before_chapter_abt.html#SEC_About" title="About (help)"> 
? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/nodes_after_top_before_section/res_html/index.html
 
b/tp/t/results/moresectioning/nodes_after_top_before_section/res_html/index.html
index 49cc39f..fce843f 100644
--- 
a/tp/t/results/moresectioning/nodes_after_top_before_section/res_html/index.html
+++ 
b/tp/t/results/moresectioning/nodes_after_top_before_section/res_html/index.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><p>Top node
+<div class="node" id="Top">
+<p>Top node
 </p><table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="#second-node">second 
node</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
@@ -44,13 +45,17 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="second-node"></span>
+</div><div class="node" id="second-node">
+
 <p>second node
 </p>
-<span id="third-node"></span><span id="subsection"></span><h3 
class="subsection">1 subsection</h3>
+</div><div class="subsection" id="third-node">
+<div class="node" id="subsection">
+<h3 class="subsection">1 subsection</h3>
 
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes/res_html/nodes_after_top_before_section.html
 
b/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes/res_html/nodes_after_top_before_section.html
index 71f4ac1..bec88d5 100644
--- 
a/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes/res_html/nodes_after_top_before_section.html
+++ 
b/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes/res_html/nodes_after_top_before_section.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="node" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#second-node" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -53,8 +54,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="second-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="node" id="second-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -73,8 +75,9 @@ ul.no-bullet {list-style: none}
 
 <p>second node
 </p>
-<hr>
-<span id="third-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="third-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="#second-node" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -89,11 +92,13 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="subsection"></span><h3 class="subsection">1 subsection</h3>
+<div class="node" id="subsection">
+<h3 class="subsection">1 subsection</h3>
 
 
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -202,7 +207,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes_chapter/res_html/index.html
 
b/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes_chapter/res_html/index.html
index 1bd046f..b26c588 100644
--- 
a/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes_chapter/res_html/index.html
+++ 
b/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes_chapter/res_html/index.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="node" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#second-node" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -53,8 +54,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="second-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="node" id="second-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -73,8 +75,9 @@ ul.no-bullet {list-style: none}
 
 <p>second node
 </p>
-<hr>
-<span id="third-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="third-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="#second-node" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -89,10 +92,11 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a 
href="nodes_after_top_before_section_abt.html#SEC_About" title="About (help)"> 
? </a>]</td>
 </tr></table>
-<span id="subsection"></span><h3 class="subsection">1 subsection</h3>
+<div class="node" id="subsection">
+<h3 class="subsection">1 subsection</h3>
 
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -106,6 +110,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a 
href="nodes_after_top_before_section_abt.html#SEC_About" title="About (help)"> 
? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes_chapter/res_html/nodes_after_top_before_section_abt.html
 
b/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes_chapter/res_html/nodes_after_top_before_section_abt.html
index d245d91..a49d36a 100644
--- 
a/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes_chapter/res_html/nodes_after_top_before_section_abt.html
+++ 
b/tp/t/results/moresectioning/nodes_after_top_before_section_use_nodes_chapter/res_html/nodes_after_top_before_section_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html#Top" title="Cover 
(top) of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html#Top" title="Cover 
(top) of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git 
a/tp/t/results/moresectioning/placed_things_before_element/res_html/placed_things_before_element.html
 
b/tp/t/results/moresectioning/placed_things_before_element/res_html/placed_things_before_element.html
index a09f0a3..474aee9 100644
--- 
a/tp/t/results/moresectioning/placed_things_before_element/res_html/placed_things_before_element.html
+++ 
b/tp/t/results/moresectioning/placed_things_before_element/res_html/placed_things_before_element.html
@@ -61,7 +61,8 @@ ul.no-bullet {list-style: none}
 
 <span id="index-index-entry"></span>
 
-<span id="section"></span><h2 class="section">1 section</h2>
+<div class="section" id="section">
+<h2 class="section">1 section</h2>
 
 <p>Ref to anchor
 <a href="#An-anchor">An anchor</a>
@@ -69,7 +70,7 @@ ul.no-bullet {list-style: none}
 <p>Ref to footnote anchor
 <a href="#Anchor-in-footnote">Anchor in footnote</a>
 </p>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h3 class="footnotes-heading">Footnotes</h3>
 
@@ -81,7 +82,7 @@ ul.no-bullet {list-style: none}
 <a href="#An-anchor">An anchor</a>
 </p>
 </div>
-<hr>
+<hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/sectioning_frames/res_html/First-node.html 
b/tp/t/results/moresectioning/sectioning_frames/res_html/First-node.html
index e56cf40..030b21e 100644
--- a/tp/t/results/moresectioning/sectioning_frames/res_html/First-node.html
+++ b/tp/t/results/moresectioning/sectioning_frames/res_html/First-node.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="First-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="First-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="first-node-chapter"></span><h1 class="chapter">1 first node 
chapter</h1>
+<div class="node" id="first-node-chapter">
+<h1 class="chapter">1 first node chapter</h1>
 
 <p>first node chapter text
 </p><table class="menu" border="0" cellspacing="0">
@@ -63,8 +65,9 @@ ul.no-bullet {list-style: none}
 
 </pre></th></tr></table>
 
-<hr>
-<span id="unnumbered"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="unnumberedsec" id="unnumbered">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#First-node" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#First-node" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#First-node" title="Up section"> Up 
</a>]</td>
@@ -79,7 +82,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="unnumbered-section"></span><h2 class="unnumberedsec">unnumbered 
section</h2>
+<div class="node" id="unnumbered-section">
+<h2 class="unnumberedsec">unnumbered section</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#unnumbered-sub">unnumbered 
subsection</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">un
@@ -92,8 +96,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="unnumbered-sub"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="unnumberedsubsec" id="unnumbered-sub">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#First-node" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#unnumbered" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#unnumbered" title="Up section"> Up 
</a>]</td>
@@ -108,10 +113,13 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="unnumbered-subsection"></span><h3 
class="unnumberedsubsec">unnumbered subsection</h3>
+<div class="node" id="unnumbered-subsection">
+<h3 class="unnumberedsubsec">unnumbered subsection</h3>
 
-<hr>
-<span id="numbered-sub"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#First-node" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#unnumbered-sub" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#unnumbered" title="Up section"> Up 
</a>]</td>
@@ -126,10 +134,13 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="numbered-subsection"></span><h3 class="subsection">numbered 
subsection</h3>
+<div class="node" id="numbered-subsection">
+<h3 class="subsection">numbered subsection</h3>
 
-<hr>
-<span id="unnumbered-sub2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="unnumberedsubsec" id="unnumbered-sub2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#First-node" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#numbered-sub" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#unnumbered" title="Up section"> Up 
</a>]</td>
@@ -144,10 +155,13 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="unnumbered-subsection2"></span><h3 
class="unnumberedsubsec">unnumbered subsection2</h3>
+<div class="node" id="unnumbered-subsection2">
+<h3 class="unnumberedsubsec">unnumbered subsection2</h3>
 
-<hr>
-<span id="numbered-sub2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#First-node" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#unnumbered-sub2" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#unnumbered" title="Up section"> Up 
</a>]</td>
@@ -162,10 +176,14 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="numbered-subsection2"></span><h3 class="subsection">numbered 
subsection2</h3>
+<div class="node" id="numbered-subsection2">
+<h3 class="subsection">numbered subsection2</h3>
 
-<hr>
-<span id="unnumbered2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+</div>
+<div class="unnumberedsec" id="unnumbered2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#First-node" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#numbered-sub2" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#First-node" title="Up section"> Up 
</a>]</td>
@@ -180,15 +198,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="unnumbered-section2"></span><h2 class="unnumberedsec">unnumbered 
section2</h2>
+<div class="node" id="unnumbered-section2">
+<h2 class="unnumberedsec">unnumbered section2</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#numbered-sub3">numbered 
subsection3</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
-<span id="numbered-sub3"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="numbered-sub3">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#First-node" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#unnumbered2" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#unnumbered2" title="Up section"> 
Up </a>]</td>
@@ -203,11 +223,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="numbered-subsection3"></span><h3 class="subsection">numbered 
subsection3</h3>
+<div class="node" id="numbered-subsection3">
+<h3 class="subsection">numbered subsection3</h3>
 
 
-<hr>
-<span id="numbered"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+</div>
+<div class="section" id="numbered">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#First-node" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#numbered-sub3" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#First-node" title="Up section"> Up 
</a>]</td>
@@ -222,12 +246,14 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="numbered-section"></span><h2 class="section">1.1 numbered 
section</h2>
+<div class="node" id="numbered-section">
+<h2 class="section">1.1 numbered section</h2>
+
+</div><div class="node" id="between-node">
 
-<span id="between-node"></span>
 <p>between node, node without sectioning node
 </p>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#First-node" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Second-node.html" title="Next 
chapter"> &gt;&gt; </a>]</td>
@@ -241,6 +267,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/sectioning_frames/res_html/Second-node.html 
b/tp/t/results/moresectioning/sectioning_frames/res_html/Second-node.html
index db3c6bc..44297db 100644
--- a/tp/t/results/moresectioning/sectioning_frames/res_html/Second-node.html
+++ b/tp/t/results/moresectioning/sectioning_frames/res_html/Second-node.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Second-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="Second-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="First-node.html#First-node" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="First-node.html#numbered" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -52,11 +53,12 @@ ul.no-bullet {list-style: none}
 
 <p>Second node text
 </p>
-<span id="second-node-chapter"></span><h1 class="chapter">2 second node 
chapter</h1>
+<div class="node" id="second-node-chapter">
+<h1 class="chapter">2 second node chapter</h1>
 
 <p>second node chapter text.
 </p>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="First-node.html#First-node" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Third-node-unnumbered.html" 
title="Next chapter"> &gt;&gt; </a>]</td>
@@ -70,6 +72,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/sectioning_frames/res_html/Third-node-unnumbered.html
 
b/tp/t/results/moresectioning/sectioning_frames/res_html/Third-node-unnumbered.html
index 5b57ebd..3665479 100644
--- 
a/tp/t/results/moresectioning/sectioning_frames/res_html/Third-node-unnumbered.html
+++ 
b/tp/t/results/moresectioning/sectioning_frames/res_html/Third-node-unnumbered.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Third-node-unnumbered"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="unnumbered" id="Third-node-unnumbered">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Second-node.html" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Second-node.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,13 +50,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="unnumbered-chapter"></span><h1 class="unnumbered">unnumbered 
chapter</h1>
+<div class="node" id="unnumbered-chapter">
+<h1 class="unnumbered">unnumbered chapter</h1>
 
 <p>unnumbered chapter text.
 </p>
 
-<span id="Last-node-no-description"></span>
-<hr>
+</div><div class="node" id="Last-node-no-description">
+
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Second-node.html" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -69,6 +72,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/moresectioning/sectioning_frames/res_html/index.html 
b/tp/t/results/moresectioning/sectioning_frames/res_html/index.html
index 8dd8633..edba441 100644
--- a/tp/t/results/moresectioning/sectioning_frames/res_html/index.html
+++ b/tp/t/results/moresectioning/sectioning_frames/res_html/index.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="First-node.html#First-node" 
title="Next section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -42,7 +43,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="SEC_Top"></span><table class="menu" border="0" cellspacing="0">
+<div class="node" id="SEC_Top">
+<table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="First-node.html#First-node">1 first 
node chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">node 1
   explaination no heading ?
 * and here ?
@@ -75,7 +77,7 @@ description here
 
 </pre></th></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="First-node.html#First-node" 
title="Next section in reading order"> &gt; </a>]</td>
@@ -84,6 +86,7 @@ description here
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="sectioning_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/sectioning_frames/res_html/sectioning_abt.html 
b/tp/t/results/moresectioning/sectioning_frames/res_html/sectioning_abt.html
index b76bcec..d974575 100644
--- a/tp/t/results/moresectioning/sectioning_frames/res_html/sectioning_abt.html
+++ b/tp/t/results/moresectioning/sectioning_frames/res_html/sectioning_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="sectioning_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="sectioning_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git 
a/tp/t/results/moresectioning/sectioning_frames/res_html/sectioning_ovr.html 
b/tp/t/results/moresectioning/sectioning_frames/res_html/sectioning_ovr.html
index 5d5477a..3c98ac3 100644
--- a/tp/t/results/moresectioning/sectioning_frames/res_html/sectioning_ovr.html
+++ b/tp/t/results/moresectioning/sectioning_frames/res_html/sectioning_ovr.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Overview"></span>
+<div class="Overview_element" id="SEC_Overview">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="sectioning_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -50,7 +50,7 @@ ul.no-bullet {list-style: none}
 <li><a id="stoc-unnumbered-chapter" 
href="Third-node-unnumbered.html">unnumbered chapter</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="sectioning_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git 
a/tp/t/results/moresectioning/sectioning_frames/res_html/sectioning_toc.html 
b/tp/t/results/moresectioning/sectioning_frames/res_html/sectioning_toc.html
index 0a77107..7e5d2df 100644
--- a/tp/t/results/moresectioning/sectioning_frames/res_html/sectioning_toc.html
+++ b/tp/t/results/moresectioning/sectioning_frames/res_html/sectioning_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -65,7 +65,7 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-unnumbered-chapter" 
href="Third-node-unnumbered.html">unnumbered chapter</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/t/results/moresectioning/top_node_up_explicit/res_html/top_node_up_explicit.html
 
b/tp/t/results/moresectioning/top_node_up_explicit/res_html/top_node_up_explicit.html
index 4035443..e6ea545 100644
--- 
a/tp/t/results/moresectioning/top_node_up_explicit/res_html/top_node_up_explicit.html
+++ 
b/tp/t/results/moresectioning/top_node_up_explicit/res_html/top_node_up_explicit.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#Chap" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,7 +45,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="The-top"></span><h1 class="top">The top</h1>
+<div class="node" id="The-top">
+<h1 class="top">The top</h1>
 
 <p>Just a top node.
 </p>
@@ -53,8 +55,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="Chap"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr size="6">
+<div class="chapter" id="Chap">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -69,12 +72,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="A-chapter"></span><h1 class="chapter">1 A chapter</h1>
+<div class="node" id="A-chapter">
+<h1 class="chapter">1 A chapter</h1>
 
 <p>Without the chapter, no up node from top is generated.
 </p>
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -183,7 +189,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/top_node_up_implicit/res_html/top_node_up_implicit.html
 
b/tp/t/results/moresectioning/top_node_up_implicit/res_html/top_node_up_implicit.html
index 4035443..e6ea545 100644
--- 
a/tp/t/results/moresectioning/top_node_up_implicit/res_html/top_node_up_implicit.html
+++ 
b/tp/t/results/moresectioning/top_node_up_implicit/res_html/top_node_up_implicit.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#Chap" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,7 +45,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="The-top"></span><h1 class="top">The top</h1>
+<div class="node" id="The-top">
+<h1 class="top">The top</h1>
 
 <p>Just a top node.
 </p>
@@ -53,8 +55,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="Chap"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr size="6">
+<div class="chapter" id="Chap">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -69,12 +72,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="A-chapter"></span><h1 class="chapter">1 A chapter</h1>
+<div class="node" id="A-chapter">
+<h1 class="chapter">1 A chapter</h1>
 
 <p>Without the chapter, no up node from top is generated.
 </p>
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -183,7 +189,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/two_footnotes_in_nodes/res_html/two_footnotes_in_nodes.html
 
b/tp/t/results/moresectioning/two_footnotes_in_nodes/res_html/two_footnotes_in_nodes.html
index 0e20f69..d592367 100644
--- 
a/tp/t/results/moresectioning/two_footnotes_in_nodes/res_html/two_footnotes_in_nodes.html
+++ 
b/tp/t/results/moresectioning/two_footnotes_in_nodes/res_html/two_footnotes_in_nodes.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="g_t2-footnotes-in-2-nodes"></span><h1 class="top">2 footnotes in 2 
nodes</h1>
+<div class="node" id="g_t2-footnotes-in-2-nodes">
+<h1 class="top">2 footnotes in 2 nodes</h1>
 
 <p>A<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
@@ -54,8 +56,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -70,14 +73,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-1"></span><h1 class="chapter">1 chapter</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <p>C<a id="DOCF3" href="#FOOT3"><sup>3</sup></a>
 </p>
 <p>D<a id="DOCF4" href="#FOOT4"><sup>4</sup></a>
 </p>
-<hr size="6">
-<span id="SEC_Foot"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -102,8 +108,8 @@ ul.no-bullet {list-style: none}
 <p>Footnote chapter/2
 </p>
 <p>para2</p>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -212,7 +218,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/t/results/moresectioning/two_footnotes_in_nodes_separated/res_html/two_footnotes_in_nodes.html
 
b/tp/t/results/moresectioning/two_footnotes_in_nodes_separated/res_html/two_footnotes_in_nodes.html
index 0e20f69..d592367 100644
--- 
a/tp/t/results/moresectioning/two_footnotes_in_nodes_separated/res_html/two_footnotes_in_nodes.html
+++ 
b/tp/t/results/moresectioning/two_footnotes_in_nodes_separated/res_html/two_footnotes_in_nodes.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="g_t2-footnotes-in-2-nodes"></span><h1 class="top">2 footnotes in 2 
nodes</h1>
+<div class="node" id="g_t2-footnotes-in-2-nodes">
+<h1 class="top">2 footnotes in 2 nodes</h1>
 
 <p>A<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
@@ -54,8 +56,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -70,14 +73,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-1"></span><h1 class="chapter">1 chapter</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <p>C<a id="DOCF3" href="#FOOT3"><sup>3</sup></a>
 </p>
 <p>D<a id="DOCF4" href="#FOOT4"><sup>4</sup></a>
 </p>
-<hr size="6">
-<span id="SEC_Foot"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -102,8 +108,8 @@ ul.no-bullet {list-style: none}
 <p>Footnote chapter/2
 </p>
 <p>para2</p>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -212,7 +218,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/t/results/regions/anchor_in_copying.pl 
b/tp/t/results/regions/anchor_in_copying.pl
index b33611b..3eda7ed 100644
--- a/tp/t/results/regions/anchor_in_copying.pl
+++ b/tp/t/results/regions/anchor_in_copying.pl
@@ -459,7 +459,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 
 <p>Copying.
@@ -471,7 +472,7 @@ ul.no-bullet {list-style: none}
 
 <p>See <a href="#Copying-information">Copying information</a>.
 </p>
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/regions/anchor_in_copying_in_footnote.pl 
b/tp/t/results/regions/anchor_in_copying_in_footnote.pl
index 1595991..702bbf1 100644
--- a/tp/t/results/regions/anchor_in_copying_in_footnote.pl
+++ b/tp/t/results/regions/anchor_in_copying_in_footnote.pl
@@ -505,7 +505,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 
 <p>Copying<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>.
@@ -517,7 +518,7 @@ ul.no-bullet {list-style: none}
 
 <p>See <a href="#Copying-footnote">Copying footnote</a>.
 </p>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -528,7 +529,7 @@ ul.no-bullet {list-style: none}
 <p>In footnote.
 <span id="Copying-footnote"></span></p>
 </div>
-<hr>
+<hr></div>
 
 
 
diff --git a/tp/t/results/regions/anchor_in_titlepage.pl 
b/tp/t/results/regions/anchor_in_titlepage.pl
index c1274d0..79fc822 100644
--- a/tp/t/results/regions/anchor_in_titlepage.pl
+++ b/tp/t/results/regions/anchor_in_titlepage.pl
@@ -388,11 +388,13 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="top"></span><h1 class="top">top</h1>
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="top" id="top">
+<h1 class="top">top</h1>
+</div><div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <p>See <a href="#in-titlepage">in titlepage</a>.
-</p><hr>
+</p></div><hr></div>
 
 
 
diff --git a/tp/t/results/regions/anchor_in_titlepage_titlepage.pl 
b/tp/t/results/regions/anchor_in_titlepage_titlepage.pl
index 0148f57..80a002b 100644
--- a/tp/t/results/regions/anchor_in_titlepage_titlepage.pl
+++ b/tp/t/results/regions/anchor_in_titlepage_titlepage.pl
@@ -390,11 +390,13 @@ ul.no-bullet {list-style: none}
 
 <span id="in-titlepage"></span><hr>
 
-<span id="top"></span><h1 class="top">top</h1>
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="top" id="top">
+<h1 class="top">top</h1>
+</div><div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <p>See <a href="#in-titlepage">in titlepage</a>.
-</p><hr>
+</p></div><hr></div>
 
 
 
diff --git a/tp/t/results/regions/format_in_titlepage.pl 
b/tp/t/results/regions/format_in_titlepage.pl
index 973153f..5eb3f7d 100644
--- a/tp/t/results/regions/format_in_titlepage.pl
+++ b/tp/t/results/regions/format_in_titlepage.pl
@@ -324,9 +324,10 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/regions/format_in_titlepage_titlepage.pl 
b/tp/t/results/regions/format_in_titlepage_titlepage.pl
index 0b8ea3d..688c09c 100644
--- a/tp/t/results/regions/format_in_titlepage_titlepage.pl
+++ b/tp/t/results/regions/format_in_titlepage_titlepage.pl
@@ -330,9 +330,10 @@ ul.no-bullet {list-style: none}
 
 <hr>
 
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/regions/ref_in_copying.pl 
b/tp/t/results/regions/ref_in_copying.pl
index 644fc1a..d49e72d 100644
--- a/tp/t/results/regions/ref_in_copying.pl
+++ b/tp/t/results/regions/ref_in_copying.pl
@@ -698,11 +698,13 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#GFDL" accesskey="n" rel="next">GFDL</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p><a href="#GFDL">GFDL</a>
 </p>
@@ -710,14 +712,18 @@ Next: <a href="#GFDL" accesskey="n" rel="next">GFDL</a> 
&nbsp; </p>
 <ul class="section-toc">
 <li><a href="#GFDL" accesskey="1">GFDL</a></li>
 </ul>
-<hr>
-<span id="GFDL"></span><div class="header">
+</div><hr>
+<div class="chapter" id="GFDL">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
-<span id="GFDL-1"></span><h2 class="chapter">1 GFDL</h2>
+<div class="node" id="GFDL-1">
+<h2 class="chapter">1 GFDL</h2>
 
-<hr>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/regions/today_in_copying.pl 
b/tp/t/results/regions/today_in_copying.pl
index 12bc110..8f52d6a 100644
--- a/tp/t/results/regions/today_in_copying.pl
+++ b/tp/t/results/regions/today_in_copying.pl
@@ -355,10 +355,13 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p>a sunny day.
-</p><hr>
+</p></div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/anchor_in_footnote.pl 
b/tp/t/results/sectioning/anchor_in_footnote.pl
index a30c6ae..f05543b 100644
--- a/tp/t/results/sectioning/anchor_in_footnote.pl
+++ b/tp/t/results/sectioning/anchor_in_footnote.pl
@@ -703,11 +703,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter" accesskey="n" rel="next">Chap</a> &nbsp; </p>
 </div>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 
 <p>In top node<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
@@ -715,15 +717,17 @@ Next: <a href="#chapter" accesskey="n" 
rel="next">Chap</a> &nbsp; </p>
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">Chap</a></li>
 </ul>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="Chap"></span><h2 class="chapter">1 Chap</h2>
+<div class="node" id="Chap">
+<h2 class="chapter">1 Chap</h2>
 
 <p><a href="#Anchor-in-footnote">Anchor in footnote</a>.
-</p><div class="footnote">
+</p></div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -733,6 +737,8 @@ Previous: <a href="#Top" accesskey="p" rel="prev">Top</a>, 
Up: <a href="#Top" ac
 </p>
 </div>
 <hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/anchor_in_footnote_separate.pl 
b/tp/t/results/sectioning/anchor_in_footnote_separate.pl
index d24d635..dbc757c 100644
--- a/tp/t/results/sectioning/anchor_in_footnote_separate.pl
+++ b/tp/t/results/sectioning/anchor_in_footnote_separate.pl
@@ -741,11 +741,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter" accesskey="n" rel="next">Chap</a> &nbsp; </p>
 </div>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 
 <p>In top node<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
@@ -753,15 +755,19 @@ Next: <a href="#chapter" accesskey="n" 
rel="next">Chap</a> &nbsp; </p>
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">Chap</a></li>
 </ul>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="Chap"></span><h2 class="chapter">1 Chap</h2>
+<div class="node" id="Chap">
+<h2 class="chapter">1 Chap</h2>
 
 <p><a href="#Anchor-in-footnote">Anchor in footnote</a>.
-</p><hr>
+</p></div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/anchor_zero.pl 
b/tp/t/results/sectioning/anchor_zero.pl
index 5cb35b2..08dbb3e 100644
--- a/tp/t/results/sectioning/anchor_zero.pl
+++ b/tp/t/results/sectioning/anchor_zero.pl
@@ -270,12 +270,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <span id="g_t0"></span><p>.
 </p>
 <p>See <a href="#g_t0">0</a>.
-</p><hr>
+</p></div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/chapter_before_and_after_part.pl 
b/tp/t/results/sectioning/chapter_before_and_after_part.pl
index 35ceafb..9d0aab7 100644
--- a/tp/t/results/sectioning/chapter_before_and_after_part.pl
+++ b/tp/t/results/sectioning/chapter_before_and_after_part.pl
@@ -371,15 +371,18 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><h2 class="chapter">1 chapter</h2>
+<div class="chapter" id="chapter">
+<h2 class="chapter">1 chapter</h2>
 
-<span id="part"></span><h1 class="part">part</h1>
+</div><div class="part" id="part">
+<h1 class="part">part</h1>
 <hr>
 
 <ul class="section-toc">
 <li><a href="#chapter-2" accesskey="1">chapter 2</a></li>
 </ul>
-<span id="chapter-2"></span><h2 class="chapter">2 chapter 2</h2>
+</div><div class="chapter" id="chapter-2">
+<h2 class="chapter">2 chapter 2</h2>
 
 <span id="SEC_Contents"></span>
 <h2 class="contents-heading">Table of Contents</h2>
@@ -395,7 +398,7 @@ ul.no-bullet {list-style: none}
 </ul>
 </div>
 
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/chapter_before_part.pl 
b/tp/t/results/sectioning/chapter_before_part.pl
index ca6f423..131e250 100644
--- a/tp/t/results/sectioning/chapter_before_part.pl
+++ b/tp/t/results/sectioning/chapter_before_part.pl
@@ -263,11 +263,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><h2 class="chapter">1 chapter</h2>
+<div class="chapter" id="chapter">
+<h2 class="chapter">1 chapter</h2>
 
-<span id="part"></span><h1 class="part">part</h1>
-<hr>
+</div><div class="part" id="part">
+<h1 class="part">part</h1>
 <hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/chapter_between_nodes.pl 
b/tp/t/results/sectioning/chapter_between_nodes.pl
index dd6af63..47c7014 100644
--- a/tp/t/results/sectioning/chapter_between_nodes.pl
+++ b/tp/t/results/sectioning/chapter_between_nodes.pl
@@ -737,27 +737,32 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#section-node" accesskey="n" rel="next">section</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="top-section"></span><h1 class="top">top section</h1>
+<div class="node" id="top-section">
+<h1 class="top">top section</h1>
 <p>Top node
 </p>
 
-<span id="Chapter"></span><h2 class="chapter">1 Chapter</h2>
+</div><div class="chapter" id="Chapter">
+<h2 class="chapter">1 Chapter</h2>
 
 <p>In chapter
 </p>
 <ul class="section-toc">
 <li><a href="#section-node" accesskey="1">section</a></li>
 </ul>
-<hr>
-<span id="section-node"></span><div class="header">
+</div><hr>
+<div class="section" id="section-node">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">top section</a>, Up: <a 
href="#Top" accesskey="u" rel="up">top section</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="section"></span><h3 class="section">1.1 section</h3>
+<div class="node" id="section">
+<h3 class="section">1.1 section</h3>
 
 <p>section.
 </p>
@@ -774,7 +779,9 @@ Previous: <a href="#Top" accesskey="p" rel="prev">top 
section</a>, Up: <a href="
 </ul>
 </div>
 
-<hr>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/chapter_node_before_and_after_part.pl 
b/tp/t/results/sectioning/chapter_node_before_and_after_part.pl
index d79712d..4a27bbc 100644
--- a/tp/t/results/sectioning/chapter_node_before_and_after_part.pl
+++ b/tp/t/results/sectioning/chapter_node_before_and_after_part.pl
@@ -664,15 +664,18 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="chapter" id="Top">
+<div class="header">
 <p>
 Next: <a href="#after" accesskey="n" rel="next">chapter 2</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="chapter"></span><h2 class="chapter">1 chapter</h2>
+<div class="node" id="chapter">
+<h2 class="chapter">1 chapter</h2>
 
 
-<hr>
-<span id="part"></span><div class="header">
+</div><hr>
+<div class="part" id="part">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">chapter</a>, Up: <a 
href="#Top" accesskey="u" rel="up">chapter</a> &nbsp; [<a href="#SEC_Contents" 
title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
@@ -682,7 +685,10 @@ Previous: <a href="#Top" accesskey="p" 
rel="prev">chapter</a>, Up: <a href="#Top
 <ul class="section-toc">
 <li><a href="#after" accesskey="1">chapter 2</a></li>
 </ul>
-<span id="after"></span><span id="chapter-2"></span><h2 class="chapter">2 
chapter 2</h2>
+</div></div>
+<div class="chapter" id="after">
+<div class="node" id="chapter-2">
+<h2 class="chapter">2 chapter 2</h2>
 
 <span id="SEC_Contents"></span>
 <h2 class="contents-heading">Table of Contents</h2>
@@ -698,7 +704,8 @@ Previous: <a href="#Top" accesskey="p" 
rel="prev">chapter</a>, Up: <a href="#Top
 </ul>
 </div>
 
-<hr>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/character_and_spaces_in_node.pl 
b/tp/t/results/sectioning/character_and_spaces_in_node.pl
index 99dc584..86d6b28 100644
--- a/tp/t/results/sectioning/character_and_spaces_in_node.pl
+++ b/tp/t/results/sectioning/character_and_spaces_in_node.pl
@@ -595,36 +595,41 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
 <h1 class="node-heading">Top</h1>
-<hr>
-<span id="other-nodes"></span><div class="header">
+</div><hr>
+<div class="node" id="other-nodes">
+<div class="header">
 <p>
 Next: <a 
href="#g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e"
 accesskey="n" rel="next">!_&quot;#$%&amp;\'()*+-.</a>, Previous: <a 
href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">other nodes</h4>
-<hr>
-<span 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e"></span><div
 class="header">
+</div><hr>
+<div class="node" 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e">
+<div class="header">
 <p>
 Next: <a 
href="#g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e"
 accesskey="n" rel="next">/;&lt;=&gt;?[\\]^_`|~</a>, Previous: <a 
href="#other-nodes" accesskey="p" rel="prev">other nodes</a>, Up: <a 
href="#other-nodes" accesskey="u" rel="up">other nodes</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">!_&quot;#$%&amp;\'()*+-.</h4>
-<hr>
-<span 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e"></span><div
 class="header">
+</div><hr>
+<div class="node" 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e">
+<div class="header">
 <p>
 Next: <a href="#local-node" accesskey="n" rel="next">local   node</a>, 
Previous: <a 
href="#g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e"
 accesskey="p" rel="prev">!_&quot;#$%&amp;\'()*+-.</a>, Up: <a 
href="#other-nodes" accesskey="u" rel="up">other nodes</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">/;&lt;=&gt;?[\\]^_`|~</h4>
-<hr>
-<span id="local-node"></span><div class="header">
+</div><hr>
+<div class="node" id="local-node">
+<div class="header">
 <p>
 Previous: <a 
href="#g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e"
 accesskey="p" rel="prev">/;&lt;=&gt;?[\\]^_`|~</a>, Up: <a href="#other-nodes" 
accesskey="u" rel="up">other nodes</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">local   node</h4>
-<hr>
+</div><hr>
 
 
 
diff --git a/tp/t/results/sectioning/character_and_spaces_in_refs.pl 
b/tp/t/results/sectioning/character_and_spaces_in_refs.pl
index 1f4dab7..8901b96 100644
--- a/tp/t/results/sectioning/character_and_spaces_in_refs.pl
+++ b/tp/t/results/sectioning/character_and_spaces_in_refs.pl
@@ -2008,23 +2008,27 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#other-nodes" accesskey="n" rel="next">Chapter with nodes</a> 
&nbsp; </p>
 </div>
-<span id="Test-refs"></span><h1 class="top">Test refs</h1>
+<div class="node" id="Test-refs">
+<h1 class="top">Test refs</h1>
 
 
-<span id="Testing-distant-nodes"></span><h4 class="subheading">Testing distant 
nodes</h4>
-
+<div class="subheading" id="Testing-distant-nodes">
+<h4 class="subheading">Testing distant nodes</h4>
+</div>
 <p><a data-manual="manual" href="manual.html#a-node">(manual)a  node</a>
 <a data-manual="manual" href="manual.html#g_t_003a">(manual):</a>
 <a data-manual="manual" href="manual.html#Top">(manual)top</a>
 <a data-manual="texinfo" href="texinfo.html#Cross-References">(texinfo)Cross 
References</a>
 <a data-manual="../manual/doc" href="doc.html#node">(../manual/doc)node</a>
 </p>
-<span id="Testing-local-nodes"></span><h4 class="subheading">Testing local 
nodes</h4>
-
+<div class="subheading" id="Testing-local-nodes">
+<h4 class="subheading">Testing local nodes</h4>
+</div>
 <p><a 
href="#g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e">!_&quot;#$%&amp;\'()*+-.</a>
 <a 
href="#g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e">/;&lt;=&gt;?[\\]^_`|~</a>
 <a href="#Top">Test refs</a>
@@ -2033,36 +2037,43 @@ Next: <a href="#other-nodes" accesskey="n" 
rel="next">Chapter with nodes</a> &nb
 <ul class="section-toc">
 <li><a href="#other-nodes" accesskey="1">Chapter with nodes</a></li>
 </ul>
-<hr>
-<span id="other-nodes"></span><div class="header">
+</div><hr>
+<div class="chapter" id="other-nodes">
+<div class="header">
 <p>
 Next: <a 
href="#g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e"
 accesskey="n" rel="next">!_&quot;#$%&amp;\'()*+-.</a>, Previous: <a 
href="#Top" accesskey="p" rel="prev">Test refs</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Test refs</a> &nbsp; </p>
 </div>
-<span id="Chapter-with-nodes"></span><h2 class="chapter">1 Chapter with 
nodes</h2>
+<div class="node" id="Chapter-with-nodes">
+<h2 class="chapter">1 Chapter with nodes</h2>
 
 
-<hr>
-<span 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e"></span><div
 class="header">
+</div><hr>
+<div class="node" 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e">
+<div class="header">
 <p>
 Next: <a 
href="#g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e"
 accesskey="n" rel="next">/;&lt;=&gt;?[\\]^_`|~</a>, Previous: <a 
href="#other-nodes" accesskey="p" rel="prev">Chapter with nodes</a>, Up: <a 
href="#other-nodes" accesskey="u" rel="up">Chapter with nodes</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">!_&quot;#$%&amp;\'()*+-.</h4>
 
-<hr>
-<span 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e"></span><div
 class="header">
+</div><hr>
+<div class="node" 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e">
+<div class="header">
 <p>
 Next: <a href="#local-node" accesskey="n" rel="next">local   node</a>, 
Previous: <a 
href="#g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e"
 accesskey="p" rel="prev">!_&quot;#$%&amp;\'()*+-.</a>, Up: <a 
href="#other-nodes" accesskey="u" rel="up">Chapter with nodes</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">/;&lt;=&gt;?[\\]^_`|~</h4>
 
-<hr>
-<span id="local-node"></span><div class="header">
+</div><hr>
+<div class="node" id="local-node">
+<div class="header">
 <p>
 Previous: <a 
href="#g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e"
 accesskey="p" rel="prev">/;&lt;=&gt;?[\\]^_`|~</a>, Up: <a href="#other-nodes" 
accesskey="u" rel="up">Chapter with nodes</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">local   node</h4>
 
-<hr>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git 
a/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
 
b/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
index 5565b9e..b512aa8 100644
--- 
a/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
+++ 
b/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html
@@ -37,14 +37,15 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e"></span><div
 class="header">
+<div class="node" 
id="g_t_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e">
+<div class="header">
 <p>
 Next: <a 
href="_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html"
 accesskey="n" rel="next">/;&lt;=&gt;?[\]^_`|~</a>, Previous: <a 
href="other-nodes.html" accesskey="p" rel="prev">Chapter with nodes</a>, Up: <a 
href="other-nodes.html" accesskey="u" rel="up">Chapter with nodes</a> &nbsp; 
</p>
 </div>
 <hr>
 <h4 class="node-heading">!_&quot;#$%&amp;'()*+-.</h4>
 
-
+</div>
 
 
 </body>
diff --git 
a/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
 
b/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
index 1ccd5d2..314f795 100644
--- 
a/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
+++ 
b/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html
@@ -37,14 +37,15 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e"></span><div
 class="header">
+<div class="node" 
id="g_t_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e">
+<div class="header">
 <p>
 Next: <a href="local-node.html" accesskey="n" rel="next">local   node</a>, 
Previous: <a 
href="_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html"
 accesskey="p" rel="prev">!_&quot;#$%&amp;'()*+-.</a>, Up: <a 
href="other-nodes.html" accesskey="u" rel="up">Chapter with nodes</a> &nbsp; 
</p>
 </div>
 <hr>
 <h4 class="node-heading">/;&lt;=&gt;?[\]^_`|~</h4>
 
-
+</div>
 
 
 </body>
diff --git 
a/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/index.html 
b/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/index.html
index de74458..d23cfcb 100644
--- 
a/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/index.html
+++ 
b/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/index.html
@@ -35,24 +35,28 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="other-nodes.html" accesskey="n" rel="next">Chapter with 
nodes</a> &nbsp; </p>
 </div>
 <hr>
-<span id="Test-refs"></span><h1 class="top">Test refs</h1>
-
+<div class="node" id="Test-refs">
+<h1 class="top">Test refs</h1>
 
-<span id="Testing-distant-nodes"></span><h4 class="subheading">Testing distant 
nodes</h4>
 
+<div class="subheading" id="Testing-distant-nodes">
+<h4 class="subheading">Testing distant nodes</h4>
+</div>
 <p><a data-manual="manual" href="../manual/a-node.html#a-node">(manual)a  
node</a>
 <a data-manual="manual" href="../manual/_003a.html#g_t_003a">(manual):</a>
 <a data-manual="manual" href="../manual/index.html#Top">(manual)top</a>
 <a data-manual="texinfo" 
href="../texinfo/Cross-References.html#Cross-References">(texinfo)Cross 
References</a>
 <a data-manual="../manual/doc" 
href="../doc/node.html#node">(../manual/doc)node</a>
 </p>
-<span id="Testing-local-nodes"></span><h4 class="subheading">Testing local 
nodes</h4>
-
+<div class="subheading" id="Testing-local-nodes">
+<h4 class="subheading">Testing local nodes</h4>
+</div>
 <p><a 
href="_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html">!_&quot;#$%&amp;'()*+-.</a>
 <a 
href="_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html">/;&lt;=&gt;?[\]^_`|~</a>
 <a href="#Top">Test refs</a>
@@ -61,11 +65,12 @@ Next: <a href="other-nodes.html" accesskey="n" 
rel="next">Chapter with nodes</a>
 <ul class="section-toc">
 <li><a href="other-nodes.html" accesskey="1">Chapter with nodes</a></li>
 </ul>
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="other-nodes.html" accesskey="n" rel="next">Chapter with 
nodes</a> &nbsp; </p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/local-node.html
 
b/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/local-node.html
index 5758da4..711b28e 100644
--- 
a/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/local-node.html
+++ 
b/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/local-node.html
@@ -36,14 +36,15 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="local-node"></span><div class="header">
+<div class="node" id="local-node">
+<div class="header">
 <p>
 Previous: <a 
href="_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e.html"
 accesskey="p" rel="prev">/;&lt;=&gt;?[\]^_`|~</a>, Up: <a 
href="other-nodes.html" accesskey="u" rel="up">Chapter with nodes</a> &nbsp; 
</p>
 </div>
 <hr>
 <h4 class="node-heading">local   node</h4>
 
-
+</div>
 
 
 </body>
diff --git 
a/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/other-nodes.html
 
b/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/other-nodes.html
index ca4d775..6ff804f 100644
--- 
a/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/other-nodes.html
+++ 
b/tp/t/results/sectioning/character_and_spaces_in_refs_out/res_html/other-nodes.html
@@ -37,14 +37,17 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="other-nodes"></span><div class="header">
+<div class="chapter" id="other-nodes">
+<div class="header">
 <p>
 Next: <a 
href="_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e.html"
 accesskey="n" rel="next">!_&quot;#$%&amp;'()*+-.</a>, Previous: <a 
href="index.html" accesskey="p" rel="prev">Test refs</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Test refs</a> &nbsp; </p>
 </div>
 <hr>
-<span id="Chapter-with-nodes"></span><h2 class="chapter">1 Chapter with 
nodes</h2>
+<div class="node" id="Chapter-with-nodes">
+<h2 class="chapter">1 Chapter with nodes</h2>
 
 
+</div></div>
 
 
 
diff --git a/tp/t/results/sectioning/contents.pl 
b/tp/t/results/sectioning/contents.pl
index d72c352..8a1a688 100644
--- a/tp/t/results/sectioning/contents.pl
+++ b/tp/t/results/sectioning/contents.pl
@@ -802,7 +802,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="top">
+<h1 class="top">top</h1>
 
 <span id="SEC_Contents"></span>
 <h2 class="contents-heading">Table of Contents</h2>
@@ -836,24 +837,29 @@ ul.no-bullet {list-style: none}
 </ul>
 </div>
 
-<span id="chapter"></span><h2 class="chapter">1 chapter</h2>
+</div><div class="chapter" id="chapter">
+<h2 class="chapter">1 chapter</h2>
 
 <ul class="section-toc">
 <li><a href="#section" accesskey="1">section</a></li>
 </ul>
-<span id="section"></span><h3 class="section">1.1 section</h3>
+</div><div class="section" id="section">
+<h3 class="section">1.1 section</h3>
 
 <ul class="section-toc">
 <li><a href="#subsection" accesskey="1">subsection</a></li>
 </ul>
-<span id="subsection"></span><h4 class="subsection">1.1.1 subsection</h4>
+</div><div class="subsection" id="subsection">
+<h4 class="subsection">1.1.1 subsection</h4>
 
 <ul class="section-toc">
 <li><a href="#subsubsection" accesskey="1">subsubsection</a></li>
 </ul>
-<span id="subsubsection"></span><h4 class="subsubsection">1.1.1.1 
subsubsection</h4>
+</div><div class="subsubsection" id="subsubsection">
+<h4 class="subsubsection">1.1.1.1 subsubsection</h4>
 
-<span id="part"></span><h1 class="part">part</h1>
+</div><div class="part" id="part">
+<h1 class="part">part</h1>
 <hr>
 
 <ul class="section-toc">
@@ -861,20 +867,25 @@ ul.no-bullet {list-style: none}
 <li><a href="#second-chapter-in-part" accesskey="2">second chapter in 
part</a></li>
 <li><a href="#unnumbered" accesskey="3">unnumbered</a></li>
 </ul>
-<span id="chapter-in-part"></span><h2 class="chapter">2 chapter in part</h2>
+</div><div class="chapter" id="chapter-in-part">
+<h2 class="chapter">2 chapter in part</h2>
 
-<span id="second-chapter-in-part"></span><h2 class="chapter">3 second chapter 
in part</h2>
+</div><div class="chapter" id="second-chapter-in-part">
+<h2 class="chapter">3 second chapter in part</h2>
 
-<span id="unnumbered"></span><h2 class="unnumbered">unnumbered</h2>
+</div><div class="unnumbered" id="unnumbered">
+<h2 class="unnumbered">unnumbered</h2>
 
-<span id="appendix"></span><h2 class="appendix">Appendix A appendix</h2>
+</div><div class="appendix" id="appendix">
+<h2 class="appendix">Appendix A appendix</h2>
 
 <ul class="section-toc">
 <li><a href="#appendixsec" accesskey="1">appendixsec</a></li>
 </ul>
-<span id="appendixsec"></span><h3 class="appendixsec">A.1 appendixsec</h3>
+</div><div class="appendixsec" id="appendixsec">
+<h3 class="appendixsec">A.1 appendixsec</h3>
 
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/contents_and_shortcontents.pl 
b/tp/t/results/sectioning/contents_and_shortcontents.pl
index 7bd79ea..d480e41 100644
--- a/tp/t/results/sectioning/contents_and_shortcontents.pl
+++ b/tp/t/results/sectioning/contents_and_shortcontents.pl
@@ -838,7 +838,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="top">
+<h1 class="top">top</h1>
 
 <span id="SEC_Contents"></span>
 <h2 class="contents-heading">Table of Contents</h2>
@@ -890,24 +891,29 @@ ul.no-bullet {list-style: none}
 </ul>
 </div>
 
-<span id="chapter"></span><h2 class="chapter">1 chapter</h2>
+</div><div class="chapter" id="chapter">
+<h2 class="chapter">1 chapter</h2>
 
 <ul class="section-toc">
 <li><a href="#section" accesskey="1">section</a></li>
 </ul>
-<span id="section"></span><h3 class="section">1.1 section</h3>
+</div><div class="section" id="section">
+<h3 class="section">1.1 section</h3>
 
 <ul class="section-toc">
 <li><a href="#subsection" accesskey="1">subsection</a></li>
 </ul>
-<span id="subsection"></span><h4 class="subsection">1.1.1 subsection</h4>
+</div><div class="subsection" id="subsection">
+<h4 class="subsection">1.1.1 subsection</h4>
 
 <ul class="section-toc">
 <li><a href="#subsubsection" accesskey="1">subsubsection</a></li>
 </ul>
-<span id="subsubsection"></span><h4 class="subsubsection">1.1.1.1 
subsubsection</h4>
+</div><div class="subsubsection" id="subsubsection">
+<h4 class="subsubsection">1.1.1.1 subsubsection</h4>
 
-<span id="part"></span><h1 class="part">part</h1>
+</div><div class="part" id="part">
+<h1 class="part">part</h1>
 <hr>
 
 <ul class="section-toc">
@@ -915,21 +921,26 @@ ul.no-bullet {list-style: none}
 <li><a href="#second-chapter-in-part" accesskey="2">second chapter in 
part</a></li>
 <li><a href="#unnumbered" accesskey="3">unnumbered</a></li>
 </ul>
-<span id="chapter-in-part"></span><h2 class="chapter">2 chapter in part</h2>
+</div><div class="chapter" id="chapter-in-part">
+<h2 class="chapter">2 chapter in part</h2>
 
-<span id="second-chapter-in-part"></span><h2 class="chapter">3 second chapter 
in part</h2>
+</div><div class="chapter" id="second-chapter-in-part">
+<h2 class="chapter">3 second chapter in part</h2>
 
-<span id="unnumbered"></span><h2 class="unnumbered">unnumbered</h2>
+</div><div class="unnumbered" id="unnumbered">
+<h2 class="unnumbered">unnumbered</h2>
 
-<span id="appendix"></span><h2 class="appendix">Appendix A appendix</h2>
+</div><div class="appendix" id="appendix">
+<h2 class="appendix">Appendix A appendix</h2>
 
 <ul class="section-toc">
 <li><a href="#appendixsec" accesskey="1">appendixsec</a></li>
 </ul>
-<span id="appendixsec"></span><h3 class="appendixsec">A.1 appendixsec</h3>
+</div><div class="appendixsec" id="appendixsec">
+<h3 class="appendixsec">A.1 appendixsec</h3>
 
 
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/contents_in_html_text.pl 
b/tp/t/results/sectioning/contents_in_html_text.pl
index ac8c62c..2fb7918 100644
--- a/tp/t/results/sectioning/contents_in_html_text.pl
+++ b/tp/t/results/sectioning/contents_in_html_text.pl
@@ -315,16 +315,20 @@ $result_floats{'contents_in_html_text'} = {};
 
 
 
-$result_converted{'html_text'}->{'contents_in_html_text'} = '<span 
id="top"></span><h1 class="top">top</h1>
+$result_converted{'html_text'}->{'contents_in_html_text'} = '<div class="top" 
id="top">
+<h1 class="top">top</h1>
 
-<span id="Chap1"></span><h2 class="chapter">1 Chap1</h2>
+</div><div class="chapter" id="Chap1">
+<h2 class="chapter">1 Chap1</h2>
 
 <ul class="section-toc">
 <li><a href="#Sec-1" accesskey="1">Sec 1</a></li>
 </ul>
-<span id="Sec-1"></span><h3 class="section">1.1 Sec 1</h3>
+</div><div class="section" id="Sec-1">
+<h3 class="section">1.1 Sec 1</h3>
 
-<span id="Chap2"></span><h2 class="chapter">2 Chap2</h2>
+</div><div class="chapter" id="Chap2">
+<h2 class="chapter">2 Chap2</h2>
 
 <h2 class="shortcontents-heading">Short Table of Contents</h2>
 
@@ -348,7 +352,7 @@ $result_converted{'html_text'}->{'contents_in_html_text'} = 
'<span id="top"></sp
 </ul>
 </div>
 
-<hr>
+</div><hr></div>
 ';
 
 1;
diff --git a/tp/t/results/sectioning/contents_with_only_top_node.pl 
b/tp/t/results/sectioning/contents_with_only_top_node.pl
index 8e997aa..cb33c10 100644
--- a/tp/t/results/sectioning/contents_with_only_top_node.pl
+++ b/tp/t/results/sectioning/contents_with_only_top_node.pl
@@ -174,9 +174,10 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/double_node_anchor_float.pl 
b/tp/t/results/sectioning/double_node_anchor_float.pl
index c4aea3b..20bd03c 100644
--- a/tp/t/results/sectioning/double_node_anchor_float.pl
+++ b/tp/t/results/sectioning/double_node_anchor_float.pl
@@ -901,13 +901,15 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="node1"></span><div class="header">
+<div class="node" id="node1">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
 <h4 class="node-heading">node1</h4>
 
-<hr>
+</div><hr>
+<div class="node">
 <div class="header">
 <p>
  &nbsp; </p>
@@ -915,7 +917,8 @@ ul.no-bullet {list-style: none}
 
 
 <span id="anchor1"></span>
-<hr>
+</div><hr>
+<div class="node">
 <div class="header">
 <p>
  &nbsp; </p>
@@ -930,12 +933,13 @@ ul.no-bullet {list-style: none}
 <div class="float"><span id="float1"></span>
 <div class="float-caption"><p><strong>Text 1
 </strong></p></div></div>
-<hr>
+</div><hr>
+<div class="node">
 <div class="header">
 <p>
  &nbsp; </p>
 </div>
-<hr>
+</div><hr>
 
 
 
diff --git a/tp/t/results/sectioning/double_part.pl 
b/tp/t/results/sectioning/double_part.pl
index 0a39892..b0a23fe 100644
--- a/tp/t/results/sectioning/double_part.pl
+++ b/tp/t/results/sectioning/double_part.pl
@@ -896,19 +896,23 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#node-chapter" accesskey="n" rel="next">chapter after 2 
parts</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
-<span id="part-first"></span><h1 class="part">part first</h1>
+</div><div class="part" id="part-first">
+<h1 class="part">part first</h1>
 <hr>
 
 <p>Text part first.
-</p><hr>
-<span id="part-second"></span><div class="header">
+</p></div><hr>
+<div class="part" id="part-second">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
@@ -919,9 +923,13 @@ Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, 
Up: <a href="#Top" ac
 <ul class="section-toc">
 <li><a href="#node-chapter" accesskey="1">chapter after 2 parts</a></li>
 </ul>
-<span id="node-chapter"></span><span id="chapter-after-2-parts"></span><h2 
class="chapter">1 chapter after 2 parts</h2>
+</div><div class="chapter" id="node-chapter">
+<div class="node" id="chapter-after-2-parts">
+<h2 class="chapter">1 chapter after 2 parts</h2>
 
-<hr>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/double_top.pl 
b/tp/t/results/sectioning/double_top.pl
index 6c30cc5..32ad084 100644
--- a/tp/t/results/sectioning/double_top.pl
+++ b/tp/t/results/sectioning/double_top.pl
@@ -366,20 +366,22 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="#Top" accesskey="n" rel="next">ToP</a> &nbsp; </p>
 </div>
 <h1 class="node-heading">ToP</h1>
 
-<hr>
+</div><hr>
+<div class="node">
 <div class="header">
 <p>
  &nbsp; </p>
 </div>
 
 <p>.
-</p><hr>
+</p></div><hr>
 
 
 
diff --git a/tp/t/results/sectioning/empty_top_node_up.pl 
b/tp/t/results/sectioning/empty_top_node_up.pl
index 60e0909..3d50a86 100644
--- a/tp/t/results/sectioning/empty_top_node_up.pl
+++ b/tp/t/results/sectioning/empty_top_node_up.pl
@@ -460,20 +460,24 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#first" accesskey="n" rel="next">first</a> &nbsp; </p>
 </div>
-<span id="empty-top-node-up"></span><h1 class="top">empty top node up</h1>
+<div class="node" id="empty-top-node-up">
+<h1 class="top">empty top node up</h1>
 
 
-<hr>
-<span id="first"></span><div class="header">
+</div><hr>
+<div class="node" id="first">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">empty top node up</a>, Up: 
<a href="#Top" accesskey="u" rel="up">empty top node up</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">first</h4>
-<hr>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/equivalent_labels.pl 
b/tp/t/results/sectioning/equivalent_labels.pl
index 222fcf7..660341d 100644
--- a/tp/t/results/sectioning/equivalent_labels.pl
+++ b/tp/t/results/sectioning/equivalent_labels.pl
@@ -701,7 +701,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 
 <span id="anch"></span><p>.
 </p>
@@ -709,7 +710,7 @@ ul.no-bullet {list-style: none}
 <p>In float
 </p><div class="float-caption"><p><strong>truc 1
 </strong></p></div></div>
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/equivalent_nodes.pl 
b/tp/t/results/sectioning/equivalent_nodes.pl
index 6addf2e..63ecacb 100644
--- a/tp/t/results/sectioning/equivalent_nodes.pl
+++ b/tp/t/results/sectioning/equivalent_nodes.pl
@@ -562,22 +562,24 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="#node" accesskey="n" 
rel="next">&lsquo;<samp>node</samp>&rsquo;</a> &nbsp; </p>
 </div>
 <h1 class="node-heading">Top</h1>
 
 
-<hr>
-<span id="node"></span><div class="header">
+</div><hr>
+<div class="node" id="node">
+<div class="header">
 <p>
 Up: <a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">&lsquo;<samp>node</samp>&rsquo;</h4>
 
 <p>See <a href="#node">&lsquo;<samp>node</samp>&rsquo;</a>.
-</p><hr>
+</p></div><hr>
 
 
 
diff --git a/tp/t/results/sectioning/explicit_node_directions.pl 
b/tp/t/results/sectioning/explicit_node_directions.pl
index 690e35a..30e34db 100644
--- a/tp/t/results/sectioning/explicit_node_directions.pl
+++ b/tp/t/results/sectioning/explicit_node_directions.pl
@@ -847,15 +847,17 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="#second-node" accesskey="n" rel="next">second node</a> &nbsp; 
</p>
 </div>
 <h1 class="node-heading">Top</h1>
 <p>Top node
 </p>
-<hr>
-<span id="second-node"></span><div class="header">
+</div><hr>
+<div class="node" id="second-node">
+<div class="header">
 <p>
 Next: <a href="#third-node" accesskey="n" rel="next">third node</a>, Previous: 
<a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
@@ -863,13 +865,14 @@ Next: <a href="#third-node" accesskey="n" 
rel="next">third node</a>, Previous: <
 
 <p>second node
 </p>
-<hr>
-<span id="third-node"></span><div class="header">
+</div><hr>
+<div class="node" id="third-node">
+<div class="header">
 <p>
 Previous: <a href="#second-node" accesskey="p" rel="prev">second node</a>, Up: 
<a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">third node</h4>
-<hr>
+</div><hr>
 
 
 
diff --git a/tp/t/results/sectioning/external_node_in_menu.pl 
b/tp/t/results/sectioning/external_node_in_menu.pl
index 8a16a70..323bc92 100644
--- a/tp/t/results/sectioning/external_node_in_menu.pl
+++ b/tp/t/results/sectioning/external_node_in_menu.pl
@@ -843,31 +843,40 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#nchapter1" accesskey="n" rel="next">chap1</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
 <ul class="section-toc">
 <li><a href="#nchapter1" accesskey="1">chap1</a></li>
 <li><a href="#nchapter2" accesskey="2">chap2</a></li>
 </ul>
-<hr>
-<span id="nchapter1"></span><div class="header">
+</div><hr>
+<div class="chapter" id="nchapter1">
+<div class="header">
 <p>
 Next: <a href="#nchapter2" accesskey="n" rel="next">chap2</a>, Previous: <a 
href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" accesskey="u" 
rel="up">top</a> &nbsp; </p>
 </div>
-<span id="chap1"></span><h2 class="chapter">1 chap1</h2>
+<div class="node" id="chap1">
+<h2 class="chapter">1 chap1</h2>
 
-<hr>
-<span id="nchapter2"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="nchapter2">
+<div class="header">
 <p>
 Previous: <a href="#nchapter1" accesskey="p" rel="prev">chap1</a>, Up: <a 
href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
-<span id="chap2"></span><h2 class="chapter">2 chap2</h2>
-<hr>
+<div class="node" id="chap2">
+<h2 class="chapter">2 chap2</h2>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/internal_top_node_up.pl 
b/tp/t/results/sectioning/internal_top_node_up.pl
index 1378723..078fd1e 100644
--- a/tp/t/results/sectioning/internal_top_node_up.pl
+++ b/tp/t/results/sectioning/internal_top_node_up.pl
@@ -568,20 +568,24 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#first" accesskey="n" rel="next">first</a> &nbsp; </p>
 </div>
-<span id="internal-top-node-up"></span><h1 class="top">internal top node 
up</h1>
+<div class="node" id="internal-top-node-up">
+<h1 class="top">internal top node up</h1>
 
 
-<hr>
-<span id="first"></span><div class="header">
+</div><hr>
+<div class="node" id="first">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">internal top node up</a>, 
Up: <a href="#Top" accesskey="u" rel="up">internal top node up</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">first</h4>
-<hr>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/next_in_menu_is_below.pl 
b/tp/t/results/sectioning/next_in_menu_is_below.pl
index 944bed1..2998cc1 100644
--- a/tp/t/results/sectioning/next_in_menu_is_below.pl
+++ b/tp/t/results/sectioning/next_in_menu_is_below.pl
@@ -1245,45 +1245,57 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter" accesskey="n" rel="next">chapter</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">chapter</a></li>
 </ul>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
-<span id="chapter-1"></span><h2 class="chapter">1 chapter</h2>
+<div class="node" id="chapter-1">
+<h2 class="chapter">1 chapter</h2>
 
 
 <ul class="section-toc">
 <li><a href="#section" accesskey="1">section</a></li>
 </ul>
-<hr>
-<span id="section"></span><div class="header">
+</div><hr>
+<div class="section" id="section">
+<div class="header">
 <p>
 Next: <a href="#subsection" accesskey="n" rel="next">subsection</a>, Up: <a 
href="#chapter" accesskey="u" rel="up">chapter</a> &nbsp; </p>
 </div>
-<span id="section-1"></span><h3 class="section">1.1 section</h3>
+<div class="node" id="section-1">
+<h3 class="section">1.1 section</h3>
 
 
 <ul class="section-toc">
 <li><a href="#subsection" accesskey="1">subsection</a></li>
 </ul>
-<hr>
-<span id="subsection"></span><div class="header">
+</div><hr>
+<div class="subsection" id="subsection">
+<div class="header">
 <p>
 Previous: <a href="#section" accesskey="p" rel="prev">section</a>, Up: <a 
href="#section" accesskey="u" rel="up">section</a> &nbsp; </p>
 </div>
-<span id="subsection-1"></span><h4 class="subsection">1.1.1 subsection</h4>
-<hr>
+<div class="node" id="subsection-1">
+<h4 class="subsection">1.1.1 subsection</h4>
+</div><hr>
+</div>
+</div>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/no_argument_and_contents.pl 
b/tp/t/results/sectioning/no_argument_and_contents.pl
index ceda8a6..941f391 100644
--- a/tp/t/results/sectioning/no_argument_and_contents.pl
+++ b/tp/t/results/sectioning/no_argument_and_contents.pl
@@ -245,7 +245,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="for-example"></span><h1 class="top">for example</h1>
+<div class="top" id="for-example">
+<h1 class="top">for example</h1>
 
 <span id="SEC_Contents"></span>
 <h2 class="contents-heading">Table of Contents</h2>
@@ -257,9 +258,10 @@ ul.no-bullet {list-style: none}
 </ul>
 </div>
 
+</div><div class="chapter">
 <h2 class="chapter">1 </h2>
 
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/no_menu.pl 
b/tp/t/results/sectioning/no_menu.pl
index f68dcd3..7ba69e1 100644
--- a/tp/t/results/sectioning/no_menu.pl
+++ b/tp/t/results/sectioning/no_menu.pl
@@ -577,37 +577,49 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
-<span id="SEC_Top"></span>
+<div class="node" id="SEC_Top">
+
 <ul class="section-toc">
 <li><a href="#c1" accesskey="1">c1</a></li>
 <li><a href="#c2" accesskey="2">c2</a></li>
 <li><a href="#c3" accesskey="3">c3</a></li>
 </ul>
-<hr>
-<span id="c1"></span><div class="header">
+</div><hr>
+<div class="chapter" id="c1">
+<div class="header">
 <p>
 Next: <a href="#c2" accesskey="n" rel="next">c2</a> &nbsp; </p>
 </div>
-<span id="c1-1"></span><h2 class="chapter">1 c1</h2>
+<div class="node" id="c1-1">
+<h2 class="chapter">1 c1</h2>
 
-<hr>
-<span id="c2"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="c2">
+<div class="header">
 <p>
 Next: <a href="#c3" accesskey="n" rel="next">c3</a>, Previous: <a href="#c1" 
accesskey="p" rel="prev">c1</a> &nbsp; </p>
 </div>
-<span id="c2-1"></span><h2 class="chapter">2 c2</h2>
+<div class="node" id="c2-1">
+<h2 class="chapter">2 c2</h2>
 
-<hr>
-<span id="c3"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="c3">
+<div class="header">
 <p>
 Previous: <a href="#c2" accesskey="p" rel="prev">c2</a> &nbsp; </p>
 </div>
-<span id="c3-1"></span><h2 class="chapter">3 c3</h2>
-<hr>
+<div class="node" id="c3-1">
+<h2 class="chapter">3 c3</h2>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/node_part_chapter_after_chapter.pl 
b/tp/t/results/sectioning/node_part_chapter_after_chapter.pl
index ac065be..22f9aec 100644
--- a/tp/t/results/sectioning/node_part_chapter_after_chapter.pl
+++ b/tp/t/results/sectioning/node_part_chapter_after_chapter.pl
@@ -1108,11 +1108,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter-node" accesskey="n" rel="next">chapter node</a> &nbsp; 
[<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
 <span id="SEC_Contents"></span>
@@ -1132,28 +1134,36 @@ Next: <a href="#chapter-node" accesskey="n" 
rel="next">chapter node</a> &nbsp; [
 </ul>
 </div>
 
-<hr>
-<span id="chapter-node"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter-node">
+<div class="header">
 <p>
 Next: <a href="#part-chapter-node" accesskey="n" rel="next">chapter with part 
node</a>, Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a 
href="#Top" accesskey="u" rel="up">top</a> &nbsp; [<a href="#SEC_Contents" 
title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
 
-<span id="chapter-node-1"></span><h2 class="chapter">1 chapter node</h2>
+<div class="node" id="chapter-node-1">
+<h2 class="chapter">1 chapter node</h2>
 
-<hr>
-<span id="part-chapter-node"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="part-chapter-node">
+<div class="header">
 <p>
 Previous: <a href="#chapter-node" accesskey="p" rel="prev">chapter node</a>, 
Up: <a href="#Top" accesskey="u" rel="up">top</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="part"></span><h1 class="part">part</h1>
+<div class="part" id="part">
+<h1 class="part">part</h1>
 <hr>
 
 <ul class="section-toc">
 <li><a href="#part-chapter-node" accesskey="1">chapter with part node</a></li>
 </ul>
-<span id="chapter-with-part-node"></span><h2 class="chapter">2 chapter with 
part node</h2>
+</div><div class="node" id="chapter-with-part-node">
+<h2 class="chapter">2 chapter with part node</h2>
 
-<hr>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/node_part_chapter_after_top.pl 
b/tp/t/results/sectioning/node_part_chapter_after_top.pl
index 73dab7f..471bdf2 100644
--- a/tp/t/results/sectioning/node_part_chapter_after_top.pl
+++ b/tp/t/results/sectioning/node_part_chapter_after_top.pl
@@ -742,26 +742,33 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter-node" accesskey="n" rel="next">chapter</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
-<hr>
-<span id="chapter-node"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter-node">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
-<span id="part"></span><h1 class="part">part</h1>
+<div class="part" id="part">
+<h1 class="part">part</h1>
 <hr>
 
 <ul class="section-toc">
 <li><a href="#chapter-node" accesskey="1">chapter</a></li>
 </ul>
-<span id="chapter"></span><h2 class="chapter">1 chapter</h2>
-<hr>
+</div><div class="node" id="chapter">
+<h2 class="chapter">1 chapter</h2>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/node_up_direction_for_top_with_manual.pl 
b/tp/t/results/sectioning/node_up_direction_for_top_with_manual.pl
index 83d2328..50c518d 100644
--- a/tp/t/results/sectioning/node_up_direction_for_top_with_manual.pl
+++ b/tp/t/results/sectioning/node_up_direction_for_top_with_manual.pl
@@ -211,8 +211,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><h1 class="node-heading">Top</h1>
-<hr>
+<div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/node_up_external_node.pl 
b/tp/t/results/sectioning/node_up_external_node.pl
index 3b4d910..669d151 100644
--- a/tp/t/results/sectioning/node_up_external_node.pl
+++ b/tp/t/results/sectioning/node_up_external_node.pl
@@ -616,20 +616,22 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="#first" accesskey="n" rel="next">first</a> &nbsp; </p>
 </div>
 <h1 class="node-heading">Top</h1>
 
 
-<hr>
-<span id="first"></span><div class="header">
+</div><hr>
+<div class="node" id="first">
+<div class="header">
 <p>
 Next: <a href="manual1.html#Top" accesskey="n" rel="next">(manual1)</a>, 
Previous: <a href="manual2.html#Top" accesskey="p" rel="prev">(manual2)</a>, 
Up: <a href="manual3.html#Top" accesskey="u" rel="up">(manual3)</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">first</h4>
-<hr>
+</div><hr>
 
 
 
diff --git a/tp/t/results/sectioning/nodes_after_top_before_chapter_nodes.pl 
b/tp/t/results/sectioning/nodes_after_top_before_chapter_nodes.pl
index 9ad50be..2bd1bc1 100644
--- a/tp/t/results/sectioning/nodes_after_top_before_chapter_nodes.pl
+++ b/tp/t/results/sectioning/nodes_after_top_before_chapter_nodes.pl
@@ -926,15 +926,17 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="#second-node" accesskey="n" rel="next">second node</a> &nbsp; 
</p>
 </div>
 <h1 class="node-heading">Top</h1>
 <p>Top node
 </p>
-<hr>
-<span id="second-node"></span><div class="header">
+</div><hr>
+<div class="node" id="second-node">
+<div class="header">
 <p>
 Next: <a href="#third-node" accesskey="n" rel="next">chapter</a>, Previous: <a 
href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
@@ -942,13 +944,16 @@ Next: <a href="#third-node" accesskey="n" 
rel="next">chapter</a>, Previous: <a h
 
 <p>second node
 </p>
-<hr>
-<span id="third-node"></span><div class="header">
+</div><hr>
+<div class="chapter" id="third-node">
+<div class="header">
 <p>
 Previous: <a href="#second-node" accesskey="p" rel="prev">second node</a>, Up: 
<a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="chapter"></span><h2 class="chapter">1 chapter</h2>
-<hr>
+<div class="node" id="chapter">
+<h2 class="chapter">1 chapter</h2>
+</div><hr>
+</div>
 
 
 
diff --git 
a/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split.pl 
b/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split.pl
index 4ed9f9a..c817009 100644
--- a/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split.pl
+++ b/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split.pl
@@ -729,15 +729,17 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="#second-node" accesskey="n" rel="next">second node</a> &nbsp; 
</p>
 </div>
 <h1 class="node-heading">Top</h1>
 <p>Top node
 </p>
-<hr>
-<span id="second-node"></span><div class="header">
+</div><hr>
+<div class="node" id="second-node">
+<div class="header">
 <p>
 Next: <a href="#third-node" accesskey="n" rel="next">chapter</a>, Previous: <a 
href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
@@ -745,13 +747,16 @@ Next: <a href="#third-node" accesskey="n" 
rel="next">chapter</a>, Previous: <a h
 
 <p>second node
 </p>
-<hr>
-<span id="third-node"></span><div class="header">
+</div><hr>
+<div class="chapter" id="third-node">
+<div class="header">
 <p>
 Previous: <a href="#second-node" accesskey="p" rel="prev">second node</a>, Up: 
<a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="chapter"></span><h2 class="chapter">1 chapter</h2>
-<hr>
+<div class="node" id="chapter">
+<h2 class="chapter">1 chapter</h2>
+</div><hr>
+</div>
 
 
 
diff --git 
a/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split_no_use_node_directions.pl
 
b/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split_no_use_node_directions.pl
index 655a7e1..a0515d6 100644
--- 
a/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split_no_use_node_directions.pl
+++ 
b/tp/t/results/sectioning/nodes_after_top_before_chapter_not_split_no_use_node_directions.pl
@@ -729,15 +729,17 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
 <h1 class="node-heading">Top</h1>
 <p>Top node
 </p>
-<hr>
-<span id="second-node"></span><div class="header">
+</div><hr>
+<div class="node" id="second-node">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
@@ -745,13 +747,16 @@ ul.no-bullet {list-style: none}
 
 <p>second node
 </p>
-<hr>
-<span id="third-node"></span><div class="header">
+</div><hr>
+<div class="chapter" id="third-node">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
-<span id="chapter"></span><h2 class="chapter">1 chapter</h2>
-<hr>
+<div class="node" id="chapter">
+<h2 class="chapter">1 chapter</h2>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/nodes_after_top_before_chapter_sections.pl 
b/tp/t/results/sectioning/nodes_after_top_before_chapter_sections.pl
index 3658da1..2a48405 100644
--- a/tp/t/results/sectioning/nodes_after_top_before_chapter_sections.pl
+++ b/tp/t/results/sectioning/nodes_after_top_before_chapter_sections.pl
@@ -834,15 +834,17 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="#second-node" accesskey="n" rel="next">second node</a> &nbsp; 
</p>
 </div>
 <h1 class="node-heading">Top</h1>
 <p>Top node
 </p>
-<hr>
-<span id="second-node"></span><div class="header">
+</div><hr>
+<div class="node" id="second-node">
+<div class="header">
 <p>
 Next: <a href="#third-node" accesskey="n" rel="next">chapter</a>, Previous: <a 
href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
 </div>
@@ -850,13 +852,16 @@ Next: <a href="#third-node" accesskey="n" 
rel="next">chapter</a>, Previous: <a h
 
 <p>second node
 </p>
-<hr>
-<span id="third-node"></span><div class="header">
+</div><hr>
+<div class="chapter" id="third-node">
+<div class="header">
 <p>
 Previous: <a href="#second-node" accesskey="p" rel="prev">second node</a>, Up: 
<a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="chapter"></span><h2 class="chapter">1 chapter</h2>
-<hr>
+<div class="node" id="chapter">
+<h2 class="chapter">1 chapter</h2>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/nodes_after_top_before_section_nodes.pl 
b/tp/t/results/sectioning/nodes_after_top_before_section_nodes.pl
index 2b3d478..0a83e7b 100644
--- a/tp/t/results/sectioning/nodes_after_top_before_section_nodes.pl
+++ b/tp/t/results/sectioning/nodes_after_top_before_section_nodes.pl
@@ -928,15 +928,17 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="#second-node" accesskey="n" rel="next">second node</a> &nbsp; 
</p>
 </div>
 <h1 class="node-heading">Top</h1>
 <p>Top node
 </p>
-<hr>
-<span id="second-node"></span><div class="header">
+</div><hr>
+<div class="node" id="second-node">
+<div class="header">
 <p>
 Next: <a href="#third-node" accesskey="n" rel="next">subsection</a>, Previous: 
<a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
@@ -944,13 +946,16 @@ Next: <a href="#third-node" accesskey="n" 
rel="next">subsection</a>, Previous: <
 
 <p>second node
 </p>
-<hr>
-<span id="third-node"></span><div class="header">
+</div><hr>
+<div class="subsection" id="third-node">
+<div class="header">
 <p>
 Previous: <a href="#second-node" accesskey="p" rel="prev">second node</a>, Up: 
<a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="subsection"></span><h4 class="subsection">1 subsection</h4>
-<hr>
+<div class="node" id="subsection">
+<h4 class="subsection">1 subsection</h4>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/nodes_after_top_before_section_sections.pl 
b/tp/t/results/sectioning/nodes_after_top_before_section_sections.pl
index 9c6e370..e9f695b 100644
--- a/tp/t/results/sectioning/nodes_after_top_before_section_sections.pl
+++ b/tp/t/results/sectioning/nodes_after_top_before_section_sections.pl
@@ -836,15 +836,17 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="#second-node" accesskey="n" rel="next">second node</a> &nbsp; 
</p>
 </div>
 <h1 class="node-heading">Top</h1>
 <p>Top node
 </p>
-<hr>
-<span id="second-node"></span><div class="header">
+</div><hr>
+<div class="node" id="second-node">
+<div class="header">
 <p>
 Next: <a href="#third-node" accesskey="n" rel="next">subsection</a>, Previous: 
<a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
@@ -852,13 +854,16 @@ Next: <a href="#third-node" accesskey="n" 
rel="next">subsection</a>, Previous: <
 
 <p>second node
 </p>
-<hr>
-<span id="third-node"></span><div class="header">
+</div><hr>
+<div class="subsection" id="third-node">
+<div class="header">
 <p>
 Previous: <a href="#second-node" accesskey="p" rel="prev">second node</a>, Up: 
<a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
-<span id="subsection"></span><h4 class="subsection">1 subsection</h4>
-<hr>
+<div class="node" id="subsection">
+<h4 class="subsection">1 subsection</h4>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/nodes_no_node_top_explicit_directions.pl 
b/tp/t/results/sectioning/nodes_no_node_top_explicit_directions.pl
index 9b2c5d0..421a92d 100644
--- a/tp/t/results/sectioning/nodes_no_node_top_explicit_directions.pl
+++ b/tp/t/results/sectioning/nodes_no_node_top_explicit_directions.pl
@@ -636,7 +636,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="first"></span><div class="header">
+<div class="node" id="first">
+<div class="header">
 <p>
 Up: <a href="dir.html#Top" accesskey="u" rel="up">(dir)</a> &nbsp; </p>
 </div>
@@ -644,14 +645,15 @@ Up: <a href="dir.html#Top" accesskey="u" 
rel="up">(dir)</a> &nbsp; </p>
 <p>first node
 </p>
 
-<hr>
-<span id="second-node"></span><div class="header">
+</div><hr>
+<div class="node" id="second-node">
+<div class="header">
 <p>
 Previous: <a href="#first" accesskey="p" rel="prev">first</a>, Up: <a 
href="#first" accesskey="u" rel="up">first</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">second node</h4>
 <p>second node
-</p><hr>
+</p></div><hr>
 
 
 
diff --git a/tp/t/results/sectioning/non_automatic_internal_top_node_up.pl 
b/tp/t/results/sectioning/non_automatic_internal_top_node_up.pl
index e365985..baf8147 100644
--- a/tp/t/results/sectioning/non_automatic_internal_top_node_up.pl
+++ b/tp/t/results/sectioning/non_automatic_internal_top_node_up.pl
@@ -919,20 +919,24 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#first" accesskey="n" rel="next">first</a> &nbsp; </p>
 </div>
-<span id="internal-top-node-up"></span><h1 class="top">internal top node 
up</h1>
+<div class="node" id="internal-top-node-up">
+<h1 class="top">internal top node up</h1>
 
 
-<hr>
-<span id="first"></span><div class="header">
+</div><hr>
+<div class="node" id="first">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">internal top node up</a> 
&nbsp; </p>
 </div>
 <h4 class="node-heading">first</h4>
-<hr>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/non_automatic_top_node_up_and_url.pl 
b/tp/t/results/sectioning/non_automatic_top_node_up_and_url.pl
index e853bc0..41c60b2 100644
--- a/tp/t/results/sectioning/non_automatic_top_node_up_and_url.pl
+++ b/tp/t/results/sectioning/non_automatic_top_node_up_and_url.pl
@@ -920,20 +920,24 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#first" accesskey="n" rel="next">first</a>, Up: <a 
href="http://www.gnu.org/manual/"; accesskey="u" rel="up">@acronym{GNU, 
@acronym{GNU}\'s Not Unix} manuals</a> &nbsp; </p>
 </div>
-<span id="internal-top-node-up"></span><h1 class="top">internal top node 
up</h1>
+<div class="node" id="internal-top-node-up">
+<h1 class="top">internal top node up</h1>
 
 
-<hr>
-<span id="first"></span><div class="header">
+</div><hr>
+<div class="node" id="first">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">internal top node up</a> 
&nbsp; </p>
 </div>
 <h4 class="node-heading">first</h4>
-<hr>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/non_automatic_top_node_up_url.pl 
b/tp/t/results/sectioning/non_automatic_top_node_up_url.pl
index b8c4c9f..1b0263a 100644
--- a/tp/t/results/sectioning/non_automatic_top_node_up_url.pl
+++ b/tp/t/results/sectioning/non_automatic_top_node_up_url.pl
@@ -767,20 +767,24 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#first" accesskey="n" rel="next">first</a>, Previous: <a 
href="dir.html#Top" accesskey="p" rel="prev">(dir)</a>, Up: <a 
href="dir.html#Top" accesskey="u" rel="up">(dir)</a> &nbsp; </p>
 </div>
-<span id="internal-top-node-up"></span><h1 class="top">internal top node 
up</h1>
+<div class="node" id="internal-top-node-up">
+<h1 class="top">internal top node up</h1>
 
 
-<hr>
-<span id="first"></span><div class="header">
+</div><hr>
+<div class="node" id="first">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">internal top node up</a>, 
Up: <a href="dir.html#Top" accesskey="u" rel="up">(dir)</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">first</h4>
-<hr>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/one_node_explicit_directions_anchor.pl 
b/tp/t/results/sectioning/one_node_explicit_directions_anchor.pl
index e7db119..25ce063 100644
--- a/tp/t/results/sectioning/one_node_explicit_directions_anchor.pl
+++ b/tp/t/results/sectioning/one_node_explicit_directions_anchor.pl
@@ -358,13 +358,14 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="one-node"></span><h4 class="node-heading">one node</h4>
+<div class="node" id="one-node">
+<h4 class="node-heading">one node</h4>
 <p>Top node
 </p>
 <p>anchor ref <span id="ref"></span>.
 </p>
 <p>ref to ref <a href="#ref">ref</a>.
-</p><hr>
+</p></div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/one_subsection.pl 
b/tp/t/results/sectioning/one_subsection.pl
index b677aa8..04df519 100644
--- a/tp/t/results/sectioning/one_subsection.pl
+++ b/tp/t/results/sectioning/one_subsection.pl
@@ -123,8 +123,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="The-subsection"></span><h4 class="subsection">1 The subsection</h4>
-<hr>
+<div class="subsection" id="The-subsection">
+<h4 class="subsection">1 The subsection</h4>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/one_subsection_and_node.pl 
b/tp/t/results/sectioning/one_subsection_and_node.pl
index 47d3a88..fc99a15 100644
--- a/tp/t/results/sectioning/one_subsection_and_node.pl
+++ b/tp/t/results/sectioning/one_subsection_and_node.pl
@@ -228,8 +228,11 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="one-node"></span><span id="The-subsection"></span><h4 
class="subsection">1 The subsection</h4>
-<hr>
+<div class="subsection" id="one-node">
+<div class="node" id="The-subsection">
+<h4 class="subsection">1 The subsection</h4>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/part_before_chapter.pl 
b/tp/t/results/sectioning/part_before_chapter.pl
index b03071f..a9c70ac 100644
--- a/tp/t/results/sectioning/part_before_chapter.pl
+++ b/tp/t/results/sectioning/part_before_chapter.pl
@@ -229,14 +229,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="part"></span><h1 class="part">part</h1>
+<div class="part" id="part">
+<h1 class="part">part</h1>
 <hr>
 
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">chapter</a></li>
 </ul>
-<span id="chapter"></span><h2 class="chapter">1 chapter</h2>
-<hr>
+</div><div class="chapter" id="chapter">
+<h2 class="chapter">1 chapter</h2>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/part_before_section.pl 
b/tp/t/results/sectioning/part_before_section.pl
index fa6a589..01e20ae 100644
--- a/tp/t/results/sectioning/part_before_section.pl
+++ b/tp/t/results/sectioning/part_before_section.pl
@@ -198,14 +198,16 @@ $result_directions_text{'part_before_section'} = 
'element: @section section
 ';
 
 
-$result_converted{'html_text'}->{'part_before_section'} = '<span 
id="part"></span><h1 class="part">part</h1>
+$result_converted{'html_text'}->{'part_before_section'} = '<div class="part" 
id="part">
+<h1 class="part">part</h1>
 <hr>
 
 <ul class="section-toc">
 <li><a href="#section" accesskey="1">section</a></li>
 </ul>
-<span id="section"></span><h2 class="chapter">1 section</h2>
-<hr>
+</div><div class="section" id="section">
+<h2 class="chapter">1 section</h2>
+</div><hr></div>
 ';
 
 
diff --git a/tp/t/results/sectioning/part_before_top.pl 
b/tp/t/results/sectioning/part_before_top.pl
index 90ec7f2..3a18fc9 100644
--- a/tp/t/results/sectioning/part_before_top.pl
+++ b/tp/t/results/sectioning/part_before_top.pl
@@ -236,11 +236,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="part"></span><h1 class="part">part</h1>
+<div class="part" id="part">
+<h1 class="part">part</h1>
 <hr>
 
-<span id="top"></span><h1 class="top">top</h1>
-<hr>
+</div><div class="top" id="top">
+<h1 class="top">top</h1>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/part_chapter_after_top.pl 
b/tp/t/results/sectioning/part_chapter_after_top.pl
index 7124896..3835b13 100644
--- a/tp/t/results/sectioning/part_chapter_after_top.pl
+++ b/tp/t/results/sectioning/part_chapter_after_top.pl
@@ -732,15 +732,18 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter" accesskey="n" rel="next">chapter</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
-<hr>
-<span id="part"></span><div class="header">
+</div><hr>
+<div class="part" id="part">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
@@ -750,8 +753,12 @@ Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, 
Up: <a href="#Top" ac
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">chapter</a></li>
 </ul>
-<span id="chapter"></span><span id="chapter-1"></span><h2 class="chapter">1 
chapter</h2>
-<hr>
+</div><div class="chapter" id="chapter">
+<div class="node" id="chapter-1">
+<h2 class="chapter">1 chapter</h2>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/part_node_after_top.pl 
b/tp/t/results/sectioning/part_node_after_top.pl
index 1d30967..b04a89c 100644
--- a/tp/t/results/sectioning/part_node_after_top.pl
+++ b/tp/t/results/sectioning/part_node_after_top.pl
@@ -642,22 +642,27 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#part-node-after-top" accesskey="n" rel="next">part node after 
top</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
-<hr>
-<span id="part-node-after-top"></span><div class="header">
+</div><hr>
+<div class="node" id="part-node-after-top">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">part node after top</h4>
-<span id="part"></span><h1 class="part">part</h1>
-<hr>
+</div><div class="part" id="part">
+<h1 class="part">part</h1>
 <hr>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/part_node_before_top.pl 
b/tp/t/results/sectioning/part_node_before_top.pl
index e44cef8..20330f1 100644
--- a/tp/t/results/sectioning/part_node_before_top.pl
+++ b/tp/t/results/sectioning/part_node_before_top.pl
@@ -661,22 +661,27 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="part-node-before-top"></span><div class="header">
+<div class="node" id="part-node-before-top">
+<div class="header">
 <p>
 Next: <a href="#Top" accesskey="n" rel="next">top</a>, Previous: <a 
href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" accesskey="u" 
rel="up">top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">part node before top</h4>
-<hr>
-<span id="part"></span><div class="header">
+</div><hr>
+<div class="part" id="part">
+<div class="header">
 <p>
 Next: <a href="#part-node-before-top" accesskey="n" rel="next">part node 
before top</a> &nbsp; </p>
 </div>
 <h1 class="part">part</h1>
 <hr>
 
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+</div><div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
-<hr>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/part_node_chapter_after_top.pl 
b/tp/t/results/sectioning/part_node_chapter_after_top.pl
index 9c77db3..9357549 100644
--- a/tp/t/results/sectioning/part_node_chapter_after_top.pl
+++ b/tp/t/results/sectioning/part_node_chapter_after_top.pl
@@ -1035,15 +1035,18 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#a-node-after-part" accesskey="n" rel="next">a node after 
part</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
-<hr>
-<span id="part"></span><div class="header">
+</div><hr>
+<div class="part" id="part">
+<div class="header">
 <p>
 Next: <a href="#chapter" accesskey="n" rel="next">chapter</a>, Previous: <a 
href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" accesskey="u" 
rel="up">top</a> &nbsp; </p>
 </div>
@@ -1053,16 +1056,21 @@ Next: <a href="#chapter" accesskey="n" 
rel="next">chapter</a>, Previous: <a href
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">chapter</a></li>
 </ul>
-<span id="a-node-after-part"></span><h4 class="node-heading">a node after 
part</h4>
+</div><div class="node" id="a-node-after-part">
+<h4 class="node-heading">a node after part</h4>
 <p>After a node after part
 </p>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Next: <a href="#a-node-after-part" accesskey="n" rel="next">a node after 
part</a>, Up: <a href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
-<span id="chapter-1"></span><h2 class="chapter">1 chapter</h2>
-<hr>
+<div class="node" id="chapter-1">
+<h2 class="chapter">1 chapter</h2>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/part_node_chapter_appendix.pl 
b/tp/t/results/sectioning/part_node_chapter_appendix.pl
index 0913bd0..66e2d6a 100644
--- a/tp/t/results/sectioning/part_node_chapter_appendix.pl
+++ b/tp/t/results/sectioning/part_node_chapter_appendix.pl
@@ -847,15 +847,18 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter-node" accesskey="n" rel="next">chapter</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
-<hr>
-<span id="Part-1"></span><div class="header">
+</div><hr>
+<div class="part" id="Part-1">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
@@ -865,10 +868,15 @@ Previous: <a href="#Top" accesskey="p" 
rel="prev">top</a>, Up: <a href="#Top" ac
 <ul class="section-toc">
 <li><a href="#chapter-node" accesskey="1">chapter</a></li>
 </ul>
-<span id="chapter-node"></span><span id="chapter"></span><h2 class="chapter">1 
chapter</h2>
+</div><div class="chapter" id="chapter-node">
+<div class="node" id="chapter">
+<h2 class="chapter">1 chapter</h2>
 
-<span id="Appendix"></span><h2 class="appendix">Appendix A Appendix</h2>
-<hr>
+</div><div class="appendix" id="Appendix">
+<h2 class="appendix">Appendix A Appendix</h2>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/part_node_chapter_node_appendix.pl 
b/tp/t/results/sectioning/part_node_chapter_node_appendix.pl
index adf8160..6255f3d 100644
--- a/tp/t/results/sectioning/part_node_chapter_node_appendix.pl
+++ b/tp/t/results/sectioning/part_node_chapter_node_appendix.pl
@@ -1041,15 +1041,18 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter-node" accesskey="n" rel="next">chapter</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
-<hr>
-<span id="Part-1"></span><div class="header">
+</div><hr>
+<div class="part" id="Part-1">
+<div class="header">
 <p>
 Next: <a href="#appendix-node" accesskey="n" rel="next">Appendix</a>, 
Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
@@ -1059,15 +1062,22 @@ Next: <a href="#appendix-node" accesskey="n" 
rel="next">Appendix</a>, Previous:
 <ul class="section-toc">
 <li><a href="#chapter-node" accesskey="1">chapter</a></li>
 </ul>
-<span id="chapter-node"></span><span id="chapter"></span><h2 class="chapter">1 
chapter</h2>
+</div><div class="chapter" id="chapter-node">
+<div class="node" id="chapter">
+<h2 class="chapter">1 chapter</h2>
 
-<hr>
-<span id="appendix-node"></span><div class="header">
+</div><hr>
+</div>
+<div class="appendix" id="appendix-node">
+<div class="header">
 <p>
 Previous: <a href="#chapter-node" accesskey="p" rel="prev">chapter</a>, Up: <a 
href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
-<span id="Appendix"></span><h2 class="appendix">Appendix A Appendix</h2>
-<hr>
+<div class="node" id="Appendix">
+<h2 class="appendix">Appendix A Appendix</h2>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/part_node_node_part_appendix.pl 
b/tp/t/results/sectioning/part_node_node_part_appendix.pl
index 56a3007..f796254 100644
--- a/tp/t/results/sectioning/part_node_node_part_appendix.pl
+++ b/tp/t/results/sectioning/part_node_node_part_appendix.pl
@@ -1125,15 +1125,18 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter-node" accesskey="n" rel="next">chapter</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
-<hr>
-<span id="Part-1"></span><div class="header">
+</div><hr>
+<div class="part" id="Part-1">
+<div class="header">
 <p>
 Next: <a href="#appendix-part" accesskey="n" rel="next">Appendix</a>, 
Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
@@ -1143,21 +1146,29 @@ Next: <a href="#appendix-part" accesskey="n" 
rel="next">Appendix</a>, Previous:
 <ul class="section-toc">
 <li><a href="#chapter-node" accesskey="1">chapter</a></li>
 </ul>
-<span id="chapter-node"></span><span id="chapter"></span><h2 class="chapter">1 
chapter</h2>
+</div><div class="chapter" id="chapter-node">
+<div class="node" id="chapter">
+<h2 class="chapter">1 chapter</h2>
 
-<hr>
-<span id="appendix-part"></span><div class="header">
+</div><hr>
+</div>
+<div class="appendix" id="appendix-part">
+<div class="header">
 <p>
 Previous: <a href="#chapter-node" accesskey="p" rel="prev">chapter</a>, Up: <a 
href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
-<span id="Part-Appendix"></span><h1 class="part">Part Appendix</h1>
+<div class="part" id="Part-Appendix">
+<h1 class="part">Part Appendix</h1>
 <hr>
 
 <ul class="section-toc">
 <li><a href="#appendix-part" accesskey="1">Appendix</a></li>
 </ul>
-<span id="Appendix"></span><h2 class="appendix">Appendix A Appendix</h2>
-<hr>
+</div><div class="node" id="Appendix">
+<h2 class="appendix">Appendix A Appendix</h2>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/part_node_part_appendix.pl 
b/tp/t/results/sectioning/part_node_part_appendix.pl
index e6564c3..0022b99 100644
--- a/tp/t/results/sectioning/part_node_part_appendix.pl
+++ b/tp/t/results/sectioning/part_node_part_appendix.pl
@@ -914,15 +914,18 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter-node" accesskey="n" rel="next">chapter</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
-<hr>
-<span id="Part-1"></span><div class="header">
+</div><hr>
+<div class="part" id="Part-1">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
@@ -932,16 +935,22 @@ Previous: <a href="#Top" accesskey="p" 
rel="prev">top</a>, Up: <a href="#Top" ac
 <ul class="section-toc">
 <li><a href="#chapter-node" accesskey="1">chapter</a></li>
 </ul>
-<span id="chapter-node"></span><span id="chapter"></span><h2 class="chapter">1 
chapter</h2>
+</div><div class="chapter" id="chapter-node">
+<div class="node" id="chapter">
+<h2 class="chapter">1 chapter</h2>
 
-<span id="Part-Appendix"></span><h1 class="part">Part Appendix</h1>
+</div><div class="part" id="Part-Appendix">
+<h1 class="part">Part Appendix</h1>
 <hr>
 
 <ul class="section-toc">
 <li><a href="#Appendix" accesskey="1">Appendix</a></li>
 </ul>
-<span id="Appendix"></span><h2 class="appendix">Appendix A Appendix</h2>
-<hr>
+</div><div class="appendix" id="Appendix">
+<h2 class="appendix">Appendix A Appendix</h2>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/part_node_part_node_appendix.pl 
b/tp/t/results/sectioning/part_node_part_node_appendix.pl
index 8586467..8669bcc 100644
--- a/tp/t/results/sectioning/part_node_part_node_appendix.pl
+++ b/tp/t/results/sectioning/part_node_part_node_appendix.pl
@@ -1115,15 +1115,18 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter-node" accesskey="n" rel="next">chapter</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
-<hr>
-<span id="Part-1"></span><div class="header">
+</div><hr>
+<div class="part" id="Part-1">
+<div class="header">
 <p>
 Next: <a href="#appendix-node" accesskey="n" rel="next">Appendix</a>, 
Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
@@ -1133,10 +1136,13 @@ Next: <a href="#appendix-node" accesskey="n" 
rel="next">Appendix</a>, Previous:
 <ul class="section-toc">
 <li><a href="#chapter-node" accesskey="1">chapter</a></li>
 </ul>
-<span id="chapter-node"></span><span id="chapter"></span><h2 class="chapter">1 
chapter</h2>
+</div><div class="chapter" id="chapter-node">
+<div class="node" id="chapter">
+<h2 class="chapter">1 chapter</h2>
 
-<hr>
-<span id="Part-Appendix"></span><div class="header">
+</div><hr>
+<div class="part" id="Part-Appendix">
+<div class="header">
 <p>
 Previous: <a href="#chapter-node" accesskey="p" rel="prev">chapter</a>, Up: <a 
href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
@@ -1146,8 +1152,13 @@ Previous: <a href="#chapter-node" accesskey="p" 
rel="prev">chapter</a>, Up: <a h
 <ul class="section-toc">
 <li><a href="#appendix-node" accesskey="1">Appendix</a></li>
 </ul>
-<span id="appendix-node"></span><span id="Appendix"></span><h2 
class="appendix">Appendix A Appendix</h2>
-<hr>
+</div></div>
+<div class="appendix" id="appendix-node">
+<div class="node" id="Appendix">
+<h2 class="appendix">Appendix A Appendix</h2>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/placed_things_before_element.pl 
b/tp/t/results/sectioning/placed_things_before_element.pl
index 03b04b4..8106de4 100644
--- a/tp/t/results/sectioning/placed_things_before_element.pl
+++ b/tp/t/results/sectioning/placed_things_before_element.pl
@@ -1130,14 +1130,15 @@ ul.no-bullet {list-style: none}
 
 <span id="index-index-entry"></span>
 
-<span id="section"></span><h3 class="section">1 section</h3>
+<div class="section" id="section">
+<h3 class="section">1 section</h3>
 
 <p>Ref to anchor
 <a href="#An-anchor">An anchor</a>
 </p>
 <p>Ref to footnote anchor
 <a href="#Anchor-in-footnote">Anchor in footnote</a>
-</p><div class="footnote">
+</p></div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -1149,7 +1150,7 @@ ul.no-bullet {list-style: none}
 <a href="#An-anchor">An anchor</a>
 </p>
 </div>
-<hr>
+<hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/placed_things_before_node.pl 
b/tp/t/results/sectioning/placed_things_before_node.pl
index 05e883e..335cda5 100644
--- a/tp/t/results/sectioning/placed_things_before_node.pl
+++ b/tp/t/results/sectioning/placed_things_before_node.pl
@@ -1196,14 +1196,16 @@ ul.no-bullet {list-style: none}
 
 <span id="index-index-entry"></span>
 
-<span id="Top"></span><span id="top-section"></span><h1 class="top">top 
section</h1>
+<div class="top" id="Top">
+<div class="node" id="top-section">
+<h1 class="top">top section</h1>
 
 <p>Ref to anchor
 <a href="#An-anchor">An anchor</a>
 </p>
 <p>Ref to footnote anchor
 <a href="#Anchor-in-footnote">Anchor in footnote</a>
-</p><div class="footnote">
+</p></div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -1215,7 +1217,8 @@ ul.no-bullet {list-style: none}
 <a href="#An-anchor">An anchor</a>
 </p>
 </div>
-<hr>
+<hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/protected_node_parentheses.pl 
b/tp/t/results/sectioning/protected_node_parentheses.pl
index ee61ba4..38fa825 100644
--- a/tp/t/results/sectioning/protected_node_parentheses.pl
+++ b/tp/t/results/sectioning/protected_node_parentheses.pl
@@ -693,15 +693,18 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#g_t_0028manual_0029-name" accesskey="n" rel="next">(manual) 
name</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
-<hr>
-<span id="g_t_0028manual_0029-name"></span><div class="header">
+</div><hr>
+<div class="node" id="g_t_0028manual_0029-name">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
@@ -709,7 +712,8 @@ Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, 
Up: <a href="#Top" ac
 
 <span id="g_t_0028manual2_0029-name2"></span>
 <p><a href="#g_t_0028manual2_0029-name2">(manual2) name2</a>.
-</p><hr>
+</p></div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/ref_to_top.pl 
b/tp/t/results/sectioning/ref_to_top.pl
index c2b2a39..2c25524 100644
--- a/tp/t/results/sectioning/ref_to_top.pl
+++ b/tp/t/results/sectioning/ref_to_top.pl
@@ -298,10 +298,13 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="Top">
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <p>See <a href="#Top">top</a>.
-</p><hr>
+</p></div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/section_before_part.pl 
b/tp/t/results/sectioning/section_before_part.pl
index 2386a38..bb03e70 100644
--- a/tp/t/results/sectioning/section_before_part.pl
+++ b/tp/t/results/sectioning/section_before_part.pl
@@ -239,9 +239,11 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section"></span><h3 class="section">1 section</h3>
+<div class="section" id="section">
+<h3 class="section">1 section</h3>
 
-<span id="part"></span><h1 class="part">part</h1>
+</div><div class="part" id="part">
+<h1 class="part">part</h1>
 <hr>
 
 <span id="SEC_Contents"></span>
@@ -255,7 +257,7 @@ ul.no-bullet {list-style: none}
 </ul>
 </div>
 
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/section_before_top.pl 
b/tp/t/results/sectioning/section_before_top.pl
index 5467087..7cee50c 100644
--- a/tp/t/results/sectioning/section_before_top.pl
+++ b/tp/t/results/sectioning/section_before_top.pl
@@ -572,20 +572,26 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section-node"></span><div class="header">
+<div class="section" id="section-node">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
-<span id="section"></span><h3 class="section">1 section</h3>
+<div class="node" id="section">
+<h3 class="section">1 section</h3>
 
-<hr>
-<span id="Top"></span><div class="header">
+</div><hr>
+</div>
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#section-node" accesskey="n" rel="next">section</a> &nbsp; </p>
 </div>
-<span id="top"></span><h3 class="unnumberedsec">top</h3>
+<div class="node" id="top">
+<h3 class="unnumberedsec">top</h3>
 
-<hr>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/section_below_unnumbered.pl 
b/tp/t/results/sectioning/section_below_unnumbered.pl
index 92d5a7d..e951d2a 100644
--- a/tp/t/results/sectioning/section_below_unnumbered.pl
+++ b/tp/t/results/sectioning/section_below_unnumbered.pl
@@ -932,11 +932,13 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#Unn" accesskey="n" rel="next">Unn</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 
 <p>Top node.
 </p>
@@ -955,27 +957,34 @@ Next: <a href="#Unn" accesskey="n" rel="next">Unn</a> 
&nbsp; [<a href="#SEC_Cont
 </ul>
 </div>
 
-<hr>
-<span id="Unn"></span><div class="header">
+</div><hr>
+<div class="unnumbered" id="Unn">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; [<a href="#SEC_Contents" title="Table of 
contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="Unn-1"></span><h2 class="unnumbered">Unn</h2>
+<div class="node" id="Unn-1">
+<h2 class="unnumbered">Unn</h2>
 
 
 <ul class="section-toc">
 <li><a href="#Sec" accesskey="1">Sec</a></li>
 </ul>
-<hr>
-<span id="Sec"></span><div class="header">
+</div><hr>
+<div class="section" id="Sec">
+<div class="header">
 <p>
 Up: <a href="#Unn" accesskey="u" rel="up">Unn</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="Sec-1"></span><h3 class="section">Sec</h3>
+<div class="node" id="Sec-1">
+<h3 class="section">Sec</h3>
 
 <p>Should be unnumbered.
 </p>
-<hr>
+</div><hr>
+</div>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/section_below_unnumbered_no_top.pl 
b/tp/t/results/sectioning/section_below_unnumbered_no_top.pl
index 8259273..bebe009 100644
--- a/tp/t/results/sectioning/section_below_unnumbered_no_top.pl
+++ b/tp/t/results/sectioning/section_below_unnumbered_no_top.pl
@@ -171,12 +171,14 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="U"></span><h2 class="unnumbered">U</h2>
+<div class="unnumbered" id="U">
+<h2 class="unnumbered">U</h2>
 <ul class="section-toc">
 <li><a href="#S" accesskey="1">S</a></li>
 </ul>
-<span id="S"></span><h3 class="section">S</h3>
-<hr>
+</div><div class="section" id="S">
+<h3 class="section">S</h3>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/section_chapter_before_top_nodes.pl 
b/tp/t/results/sectioning/section_chapter_before_top_nodes.pl
index fd140da..879a537 100644
--- a/tp/t/results/sectioning/section_chapter_before_top_nodes.pl
+++ b/tp/t/results/sectioning/section_chapter_before_top_nodes.pl
@@ -890,29 +890,38 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section-node"></span><div class="header">
+<div class="section" id="section-node">
+<div class="header">
 <p>
 Next: <a href="#chapter-node" accesskey="n" rel="next">chapter</a>, Up: <a 
href="#chapter-node" accesskey="u" rel="up">chapter</a> &nbsp; </p>
 </div>
-<span id="section"></span><h3 class="section">1 section</h3>
+<div class="node" id="section">
+<h3 class="section">1 section</h3>
 
-<hr>
-<span id="chapter-node"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="chapter-node">
+<div class="header">
 <p>
 Next: <a href="#Top" accesskey="n" rel="next">top</a>, Previous: <a 
href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" accesskey="u" 
rel="up">top</a> &nbsp; </p>
 </div>
-<span id="chapter"></span><h3 class="section">2 chapter</h3>
+<div class="node" id="chapter">
+<h3 class="section">2 chapter</h3>
 
 
-<hr>
-<span id="Top"></span><div class="header">
+</div><hr>
+</div>
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter-node" accesskey="n" rel="next">chapter</a> &nbsp; </p>
 </div>
-<span id="top"></span><h3 class="unnumberedsec">top</h3>
+<div class="node" id="top">
+<h3 class="unnumberedsec">top</h3>
 
 
-<hr>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/section_in_unnumbered_info.pl 
b/tp/t/results/sectioning/section_in_unnumbered_info.pl
index 2ccafd8..9e38ae8 100644
--- a/tp/t/results/sectioning/section_in_unnumbered_info.pl
+++ b/tp/t/results/sectioning/section_in_unnumbered_info.pl
@@ -8261,11 +8261,13 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter" accesskey="n" rel="next">chapter</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="Test-section-in-unnumbered"></span><h1 class="top">Test section in 
unnumbered</h1>
+<div class="node" id="Test-section-in-unnumbered">
+<h1 class="top">Test section in unnumbered</h1>
 
 
 <p>Menu:
@@ -8335,60 +8337,76 @@ Next: <a href="#chapter" accesskey="n" 
rel="next">chapter</a> &nbsp; [<a href="#
 </ul>
 </div>
 
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Next: <a href="#unnumbered" accesskey="n" rel="next">unnumbered</a>, Previous: 
<a href="#Top" accesskey="p" rel="prev">Test section in unnumbered</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Test section in unnumbered</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="chapter-1"></span><h2 class="chapter">1 chapter</h2>
+<div class="node" id="chapter-1">
+<h2 class="chapter">1 chapter</h2>
 
 
 <ul class="section-toc">
 <li><a href="#section-in-chapter" accesskey="1">section in chapter</a></li>
 </ul>
-<hr>
-<span id="section-in-chapter"></span><div class="header">
+</div><hr>
+<div class="section" id="section-in-chapter">
+<div class="header">
 <p>
 Up: <a href="#chapter" accesskey="u" rel="up">chapter</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="section-in-chapter-1"></span><h3 class="section">1.1 section in 
chapter</h3>
+<div class="node" id="section-in-chapter-1">
+<h3 class="section">1.1 section in chapter</h3>
 
-<hr>
-<span id="unnumbered"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="unnumbered" id="unnumbered">
+<div class="header">
 <p>
 Next: <a href="#chapter-2" accesskey="n" rel="next">chapter 2</a>, Previous: 
<a href="#chapter" accesskey="p" rel="prev">chapter</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Test section in unnumbered</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-1"></span><h2 class="unnumbered">unnumbered</h2>
+<div class="node" id="unnumbered-1">
+<h2 class="unnumbered">unnumbered</h2>
 
 
 <ul class="section-toc">
 <li><a href="#section-in-unnumbered" accesskey="1">section in 
unnumbered</a></li>
 </ul>
-<hr>
-<span id="section-in-unnumbered"></span><div class="header">
+</div><hr>
+<div class="section" id="section-in-unnumbered">
+<div class="header">
 <p>
 Up: <a href="#unnumbered" accesskey="u" rel="up">unnumbered</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="section-in-unnumbered-1"></span><h3 class="section">section in 
unnumbered</h3>
+<div class="node" id="section-in-unnumbered-1">
+<h3 class="section">section in unnumbered</h3>
 
-<hr>
-<span id="chapter-2"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="chapter" id="chapter-2">
+<div class="header">
 <p>
 Next: <a href="#chapter-3" accesskey="n" rel="next">chapter 3</a>, Previous: 
<a href="#unnumbered" accesskey="p" rel="prev">unnumbered</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Test section in unnumbered</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="chapter-2-1"></span><h2 class="chapter">2 chapter 2</h2>
+<div class="node" id="chapter-2-1">
+<h2 class="chapter">2 chapter 2</h2>
 
 
 <ul class="section-toc">
 <li><a href="#unnumberedsec-2" accesskey="1">unnumbered section 2</a></li>
 <li><a href="#unnumberedsec-2_002d1" accesskey="2">unnumberedsec 2-1</a></li>
 </ul>
-<hr>
-<span id="unnumberedsec-2"></span><div class="header">
+</div><hr>
+<div class="unnumberedsec" id="unnumberedsec-2">
+<div class="header">
 <p>
 Next: <a href="#unnumberedsec-2_002d1" accesskey="n" rel="next">unnumberedsec 
2-1</a>, Up: <a href="#chapter-2" accesskey="u" rel="up">chapter 2</a> &nbsp; 
[<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-section-2"></span><h3 class="unnumberedsec">unnumbered 
section 2</h3>
+<div class="node" id="unnumbered-section-2">
+<h3 class="unnumberedsec">unnumbered section 2</h3>
 
 
 <ul class="section-toc">
@@ -8397,59 +8415,81 @@ Next: <a href="#unnumberedsec-2_002d1" accesskey="n" 
rel="next">unnumberedsec 2-
 <li><a href="#unnumbered-sub2-2" accesskey="3">unnumbered subsection2 
2</a></li>
 <li><a href="#numbered-sub2-2" accesskey="4">numbered subsection2 2</a></li>
 </ul>
-<hr>
-<span id="unnumbered-sub-2"></span><div class="header">
+</div><hr>
+<div class="unnumberedsubsec" id="unnumbered-sub-2">
+<div class="header">
 <p>
 Next: <a href="#numbered-sub-2" accesskey="n" rel="next">numbered subsection 
2</a>, Up: <a href="#unnumberedsec-2" accesskey="u" rel="up">unnumbered section 
2</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-subsection-2"></span><h4 
class="unnumberedsubsec">unnumbered subsection 2</h4>
+<div class="node" id="unnumbered-subsection-2">
+<h4 class="unnumberedsubsec">unnumbered subsection 2</h4>
 
-<hr>
-<span id="numbered-sub-2"></span><div class="header">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub-2">
+<div class="header">
 <p>
 Next: <a href="#unnumbered-sub2-2" accesskey="n" rel="next">unnumbered 
subsection2 2</a>, Previous: <a href="#unnumbered-sub-2" accesskey="p" 
rel="prev">unnumbered subsection 2</a>, Up: <a href="#unnumberedsec-2" 
accesskey="u" rel="up">unnumbered section 2</a> &nbsp; [<a href="#SEC_Contents" 
title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection-2"></span><h4 class="subsection">numbered 
subsection 2</h4>
+<div class="node" id="numbered-subsection-2">
+<h4 class="subsection">numbered subsection 2</h4>
 
-<hr>
-<span id="unnumbered-sub2-2"></span><div class="header">
+</div><hr>
+</div>
+<div class="unnumberedsubsec" id="unnumbered-sub2-2">
+<div class="header">
 <p>
 Next: <a href="#numbered-sub2-2" accesskey="n" rel="next">numbered subsection2 
2</a>, Previous: <a href="#numbered-sub-2" accesskey="p" rel="prev">numbered 
subsection 2</a>, Up: <a href="#unnumberedsec-2" accesskey="u" 
rel="up">unnumbered section 2</a> &nbsp; [<a href="#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-subsection2-2"></span><h4 
class="unnumberedsubsec">unnumbered subsection2 2</h4>
+<div class="node" id="unnumbered-subsection2-2">
+<h4 class="unnumberedsubsec">unnumbered subsection2 2</h4>
 
-<hr>
-<span id="numbered-sub2-2"></span><div class="header">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub2-2">
+<div class="header">
 <p>
 Previous: <a href="#unnumbered-sub2-2" accesskey="p" rel="prev">unnumbered 
subsection2 2</a>, Up: <a href="#unnumberedsec-2" accesskey="u" 
rel="up">unnumbered section 2</a> &nbsp; [<a href="#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection2-2"></span><h4 class="subsection">numbered 
subsection2 2</h4>
+<div class="node" id="numbered-subsection2-2">
+<h4 class="subsection">numbered subsection2 2</h4>
 
-<hr>
-<span id="unnumberedsec-2_002d1"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="unnumberedsec" id="unnumberedsec-2_002d1">
+<div class="header">
 <p>
 Previous: <a href="#unnumberedsec-2" accesskey="p" rel="prev">unnumbered 
section 2</a>, Up: <a href="#chapter-2" accesskey="u" rel="up">chapter 2</a> 
&nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumberedsec-2_002d1-1"></span><h3 
class="unnumberedsec">unnumberedsec 2-1</h3>
+<div class="node" id="unnumberedsec-2_002d1-1">
+<h3 class="unnumberedsec">unnumberedsec 2-1</h3>
 
 
 <ul class="section-toc">
 <li><a href="#numbered-sub-2_002d1" accesskey="1">numbered subsection 
2-1</a></li>
 </ul>
-<hr>
-<span id="numbered-sub-2_002d1"></span><div class="header">
+</div><hr>
+<div class="subsection" id="numbered-sub-2_002d1">
+<div class="header">
 <p>
 Up: <a href="#unnumberedsec-2_002d1" accesskey="u" rel="up">unnumberedsec 
2-1</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection-2_002d1"></span><h4 class="subsection">numbered 
subsection 2-1</h4>
+<div class="node" id="numbered-subsection-2_002d1">
+<h4 class="subsection">numbered subsection 2-1</h4>
 
 
-<hr>
-<span id="chapter-3"></span><div class="header">
+</div><hr>
+</div>
+</div>
+</div>
+<div class="chapter" id="chapter-3">
+<div class="header">
 <p>
 Next: <a href="#unnumbered-4" accesskey="n" rel="next">unnumbered  4</a>, 
Previous: <a href="#chapter-2" accesskey="p" rel="prev">chapter 2</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Test section in unnumbered</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="chapter-3-1"></span><h2 class="chapter">3 chapter 3</h2>
+<div class="node" id="chapter-3-1">
+<h2 class="chapter">3 chapter 3</h2>
 
 
 <ul class="section-toc">
@@ -8459,12 +8499,14 @@ Next: <a href="#unnumbered-4" accesskey="n" 
rel="next">unnumbered  4</a>, Previo
 <li><a href="#section-3_002d3" accesskey="4">section 3-3</a></li>
 <li><a href="#unnumberedsec-3_002d4" accesskey="5">unnumberedsec 3-4</a></li>
 </ul>
-<hr>
-<span id="unnumberedsec-3"></span><div class="header">
+</div><hr>
+<div class="unnumberedsec" id="unnumberedsec-3">
+<div class="header">
 <p>
 Next: <a href="#section-3_002d1" accesskey="n" rel="next">section 3-1</a>, Up: 
<a href="#chapter-3" accesskey="u" rel="up">chapter 3</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-section-3"></span><h3 class="unnumberedsec">unnumbered 
section 3</h3>
+<div class="node" id="unnumbered-section-3">
+<h3 class="unnumberedsec">unnumbered section 3</h3>
 
 
 <ul class="section-toc">
@@ -8473,112 +8515,151 @@ Next: <a href="#section-3_002d1" accesskey="n" 
rel="next">section 3-1</a>, Up: <
 <li><a href="#unnumbered-sub2-3" accesskey="3">unnumbered subsection2 
3</a></li>
 <li><a href="#numbered-sub2-3" accesskey="4">numbered subsection2 3</a></li>
 </ul>
-<hr>
-<span id="unnumbered-sub-3"></span><div class="header">
+</div><hr>
+<div class="unnumberedsubsec" id="unnumbered-sub-3">
+<div class="header">
 <p>
 Next: <a href="#numbered-sub-3" accesskey="n" rel="next">numbered subsection 
3</a>, Up: <a href="#unnumberedsec-3" accesskey="u" rel="up">unnumbered section 
3</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-subsection-3"></span><h4 
class="unnumberedsubsec">unnumbered subsection 3</h4>
+<div class="node" id="unnumbered-subsection-3">
+<h4 class="unnumberedsubsec">unnumbered subsection 3</h4>
 
-<hr>
-<span id="numbered-sub-3"></span><div class="header">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub-3">
+<div class="header">
 <p>
 Next: <a href="#unnumbered-sub2-3" accesskey="n" rel="next">unnumbered 
subsection2 3</a>, Previous: <a href="#unnumbered-sub-3" accesskey="p" 
rel="prev">unnumbered subsection 3</a>, Up: <a href="#unnumberedsec-3" 
accesskey="u" rel="up">unnumbered section 3</a> &nbsp; [<a href="#SEC_Contents" 
title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection-3"></span><h4 class="subsection">numbered 
subsection 3</h4>
+<div class="node" id="numbered-subsection-3">
+<h4 class="subsection">numbered subsection 3</h4>
 
-<hr>
-<span id="unnumbered-sub2-3"></span><div class="header">
+</div><hr>
+</div>
+<div class="unnumberedsubsec" id="unnumbered-sub2-3">
+<div class="header">
 <p>
 Next: <a href="#numbered-sub2-3" accesskey="n" rel="next">numbered subsection2 
3</a>, Previous: <a href="#numbered-sub-3" accesskey="p" rel="prev">numbered 
subsection 3</a>, Up: <a href="#unnumberedsec-3" accesskey="u" 
rel="up">unnumbered section 3</a> &nbsp; [<a href="#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-subsection2-3"></span><h4 
class="unnumberedsubsec">unnumbered subsection2 3</h4>
+<div class="node" id="unnumbered-subsection2-3">
+<h4 class="unnumberedsubsec">unnumbered subsection2 3</h4>
 
-<hr>
-<span id="numbered-sub2-3"></span><div class="header">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub2-3">
+<div class="header">
 <p>
 Previous: <a href="#unnumbered-sub2-3" accesskey="p" rel="prev">unnumbered 
subsection2 3</a>, Up: <a href="#unnumberedsec-3" accesskey="u" 
rel="up">unnumbered section 3</a> &nbsp; [<a href="#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection2-3"></span><h4 class="subsection">numbered 
subsection2 3</h4>
+<div class="node" id="numbered-subsection2-3">
+<h4 class="subsection">numbered subsection2 3</h4>
 
-<hr>
-<span id="section-3_002d1"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="section" id="section-3_002d1">
+<div class="header">
 <p>
 Next: <a href="#unnumberedsec-3_002d2" accesskey="n" rel="next">unnumberedsec 
3-2</a>, Previous: <a href="#unnumberedsec-3" accesskey="p" 
rel="prev">unnumbered section 3</a>, Up: <a href="#chapter-3" accesskey="u" 
rel="up">chapter 3</a> &nbsp; [<a href="#SEC_Contents" title="Table of 
contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="section-3_002d1-1"></span><h3 class="section">3.1 section 3-1</h3>
+<div class="node" id="section-3_002d1-1">
+<h3 class="section">3.1 section 3-1</h3>
 
-<hr>
-<span id="unnumberedsec-3_002d2"></span><div class="header">
+</div><hr>
+</div>
+<div class="unnumberedsec" id="unnumberedsec-3_002d2">
+<div class="header">
 <p>
 Next: <a href="#section-3_002d3" accesskey="n" rel="next">section 3-3</a>, 
Previous: <a href="#section-3_002d1" accesskey="p" rel="prev">section 3-1</a>, 
Up: <a href="#chapter-3" accesskey="u" rel="up">chapter 3</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumberedsec-3_002d2-1"></span><h3 
class="unnumberedsec">unnumberedsec 3-2</h3>
+<div class="node" id="unnumberedsec-3_002d2-1">
+<h3 class="unnumberedsec">unnumberedsec 3-2</h3>
 
 
 <ul class="section-toc">
 <li><a href="#numbered-sub-3_002d2" accesskey="1">numbered subsection 
3-2</a></li>
 </ul>
-<hr>
-<span id="numbered-sub-3_002d2"></span><div class="header">
+</div><hr>
+<div class="subsection" id="numbered-sub-3_002d2">
+<div class="header">
 <p>
 Up: <a href="#unnumberedsec-3_002d2" accesskey="u" rel="up">unnumberedsec 
3-2</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection-3_002d2"></span><h4 class="subsection">numbered 
subsection 3-2</h4>
+<div class="node" id="numbered-subsection-3_002d2">
+<h4 class="subsection">numbered subsection 3-2</h4>
 
-<hr>
-<span id="section-3_002d3"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="section" id="section-3_002d3">
+<div class="header">
 <p>
 Next: <a href="#unnumberedsec-3_002d4" accesskey="n" rel="next">unnumberedsec 
3-4</a>, Previous: <a href="#unnumberedsec-3_002d2" accesskey="p" 
rel="prev">unnumberedsec 3-2</a>, Up: <a href="#chapter-3" accesskey="u" 
rel="up">chapter 3</a> &nbsp; [<a href="#SEC_Contents" title="Table of 
contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="section-3_002d3-1"></span><h3 class="section">3.2 section 3-3</h3>
+<div class="node" id="section-3_002d3-1">
+<h3 class="section">3.2 section 3-3</h3>
 
 
 <ul class="section-toc">
 <li><a href="#subsection-3_002d3" accesskey="1">subsection 3-3</a></li>
 </ul>
-<hr>
-<span id="subsection-3_002d3"></span><div class="header">
+</div><hr>
+<div class="subsection" id="subsection-3_002d3">
+<div class="header">
 <p>
 Up: <a href="#section-3_002d3" accesskey="u" rel="up">section 3-3</a> &nbsp; 
[<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="subsection-3_002d3-1"></span><h4 class="subsection">3.2.1 subsection 
3-3</h4>
+<div class="node" id="subsection-3_002d3-1">
+<h4 class="subsection">3.2.1 subsection 3-3</h4>
 
-<hr>
-<span id="unnumberedsec-3_002d4"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="unnumberedsec" id="unnumberedsec-3_002d4">
+<div class="header">
 <p>
 Previous: <a href="#section-3_002d3" accesskey="p" rel="prev">section 3-3</a>, 
Up: <a href="#chapter-3" accesskey="u" rel="up">chapter 3</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumberedsec-3_002d4-1"></span><h3 
class="unnumberedsec">unnumberedsec 3-4</h3>
+<div class="node" id="unnumberedsec-3_002d4-1">
+<h3 class="unnumberedsec">unnumberedsec 3-4</h3>
 
 
 <ul class="section-toc">
 <li><a href="#numbered-sub-3_002d4" accesskey="1">numbered subsection 
3-4</a></li>
 </ul>
-<hr>
-<span id="numbered-sub-3_002d4"></span><div class="header">
+</div><hr>
+<div class="subsection" id="numbered-sub-3_002d4">
+<div class="header">
 <p>
 Up: <a href="#unnumberedsec-3_002d4" accesskey="u" rel="up">unnumberedsec 
3-4</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection-3_002d4"></span><h4 class="subsection">numbered 
subsection 3-4</h4>
+<div class="node" id="numbered-subsection-3_002d4">
+<h4 class="subsection">numbered subsection 3-4</h4>
 
-<hr>
-<span id="unnumbered-4"></span><div class="header">
+</div><hr>
+</div>
+</div>
+</div>
+<div class="unnumbered" id="unnumbered-4">
+<div class="header">
 <p>
 Previous: <a href="#chapter-3" accesskey="p" rel="prev">chapter 3</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Test section in unnumbered</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-4-1"></span><h2 class="unnumbered">unnumbered  4</h2>
+<div class="node" id="unnumbered-4-1">
+<h2 class="unnumbered">unnumbered  4</h2>
 
 
 <ul class="section-toc">
 <li><a href="#unnumberedsec-4" accesskey="1">unnumbered section 4</a></li>
 </ul>
-<hr>
-<span id="unnumberedsec-4"></span><div class="header">
+</div><hr>
+<div class="unnumberedsec" id="unnumberedsec-4">
+<div class="header">
 <p>
 Up: <a href="#unnumbered-4" accesskey="u" rel="up">unnumbered  4</a> &nbsp; 
[<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-section-4"></span><h3 class="unnumberedsec">unnumbered 
section 4</h3>
+<div class="node" id="unnumbered-section-4">
+<h3 class="unnumberedsec">unnumbered section 4</h3>
 
 
 <ul class="section-toc">
@@ -8587,34 +8668,49 @@ Up: <a href="#unnumbered-4" accesskey="u" 
rel="up">unnumbered  4</a> &nbsp; [<a
 <li><a href="#unnumbered-sub2-4" accesskey="3">unnumbered subsection2 
4</a></li>
 <li><a href="#numbered-sub2-4" accesskey="4">numbered subsection2 4</a></li>
 </ul>
-<hr>
-<span id="unnumbered-sub-4"></span><div class="header">
+</div><hr>
+<div class="unnumberedsubsec" id="unnumbered-sub-4">
+<div class="header">
 <p>
 Next: <a href="#numbered-sub-4" accesskey="n" rel="next">numbered subsection 
4</a>, Up: <a href="#unnumberedsec-4" accesskey="u" rel="up">unnumbered section 
4</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-subsection-4"></span><h4 
class="unnumberedsubsec">unnumbered subsection 4</h4>
+<div class="node" id="unnumbered-subsection-4">
+<h4 class="unnumberedsubsec">unnumbered subsection 4</h4>
 
-<hr>
-<span id="numbered-sub-4"></span><div class="header">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub-4">
+<div class="header">
 <p>
 Next: <a href="#unnumbered-sub2-4" accesskey="n" rel="next">unnumbered 
subsection2 4</a>, Previous: <a href="#unnumbered-sub-4" accesskey="p" 
rel="prev">unnumbered subsection 4</a>, Up: <a href="#unnumberedsec-4" 
accesskey="u" rel="up">unnumbered section 4</a> &nbsp; [<a href="#SEC_Contents" 
title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection-4"></span><h4 class="subsection">numbered 
subsection 4</h4>
+<div class="node" id="numbered-subsection-4">
+<h4 class="subsection">numbered subsection 4</h4>
 
-<hr>
-<span id="unnumbered-sub2-4"></span><div class="header">
+</div><hr>
+</div>
+<div class="unnumberedsubsec" id="unnumbered-sub2-4">
+<div class="header">
 <p>
 Next: <a href="#numbered-sub2-4" accesskey="n" rel="next">numbered subsection2 
4</a>, Previous: <a href="#numbered-sub-4" accesskey="p" rel="prev">numbered 
subsection 4</a>, Up: <a href="#unnumberedsec-4" accesskey="u" 
rel="up">unnumbered section 4</a> &nbsp; [<a href="#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-subsection2-4"></span><h4 
class="unnumberedsubsec">unnumbered subsection2 4</h4>
+<div class="node" id="unnumbered-subsection2-4">
+<h4 class="unnumberedsubsec">unnumbered subsection2 4</h4>
 
-<hr>
-<span id="numbered-sub2-4"></span><div class="header">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub2-4">
+<div class="header">
 <p>
 Previous: <a href="#unnumbered-sub2-4" accesskey="p" rel="prev">unnumbered 
subsection2 4</a>, Up: <a href="#unnumberedsec-4" accesskey="u" 
rel="up">unnumbered section 4</a> &nbsp; [<a href="#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection2-4"></span><h4 class="subsection">numbered 
subsection2 4</h4>
-<hr>
+<div class="node" id="numbered-subsection2-4">
+<h4 class="subsection">numbered subsection2 4</h4>
+</div><hr>
+</div>
+</div>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/section_in_unnumbered_plaintext.pl 
b/tp/t/results/sectioning/section_in_unnumbered_plaintext.pl
index 97830ad..40dc00a 100644
--- a/tp/t/results/sectioning/section_in_unnumbered_plaintext.pl
+++ b/tp/t/results/sectioning/section_in_unnumbered_plaintext.pl
@@ -8083,11 +8083,13 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter" accesskey="n" rel="next">chapter</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="Test-section-in-unnumbered"></span><h1 class="top">Test section in 
unnumbered</h1>
+<div class="node" id="Test-section-in-unnumbered">
+<h1 class="top">Test section in unnumbered</h1>
 
 
 <p>Menu:
@@ -8157,60 +8159,76 @@ Next: <a href="#chapter" accesskey="n" 
rel="next">chapter</a> &nbsp; [<a href="#
 </ul>
 </div>
 
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Next: <a href="#unnumbered" accesskey="n" rel="next">unnumbered</a>, Previous: 
<a href="#Top" accesskey="p" rel="prev">Test section in unnumbered</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Test section in unnumbered</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="chapter-1"></span><h2 class="chapter">1 chapter</h2>
+<div class="node" id="chapter-1">
+<h2 class="chapter">1 chapter</h2>
 
 
 <ul class="section-toc">
 <li><a href="#section-in-chapter" accesskey="1">section in chapter</a></li>
 </ul>
-<hr>
-<span id="section-in-chapter"></span><div class="header">
+</div><hr>
+<div class="section" id="section-in-chapter">
+<div class="header">
 <p>
 Up: <a href="#chapter" accesskey="u" rel="up">chapter</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="section-in-chapter-1"></span><h3 class="section">1.1 section in 
chapter</h3>
+<div class="node" id="section-in-chapter-1">
+<h3 class="section">1.1 section in chapter</h3>
 
-<hr>
-<span id="unnumbered"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="unnumbered" id="unnumbered">
+<div class="header">
 <p>
 Next: <a href="#chapter-2" accesskey="n" rel="next">chapter 2</a>, Previous: 
<a href="#chapter" accesskey="p" rel="prev">chapter</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Test section in unnumbered</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-1"></span><h2 class="unnumbered">unnumbered</h2>
+<div class="node" id="unnumbered-1">
+<h2 class="unnumbered">unnumbered</h2>
 
 
 <ul class="section-toc">
 <li><a href="#section-in-unnumbered" accesskey="1">section in 
unnumbered</a></li>
 </ul>
-<hr>
-<span id="section-in-unnumbered"></span><div class="header">
+</div><hr>
+<div class="section" id="section-in-unnumbered">
+<div class="header">
 <p>
 Up: <a href="#unnumbered" accesskey="u" rel="up">unnumbered</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="section-in-unnumbered-1"></span><h3 class="section">section in 
unnumbered</h3>
+<div class="node" id="section-in-unnumbered-1">
+<h3 class="section">section in unnumbered</h3>
 
-<hr>
-<span id="chapter-2"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="chapter" id="chapter-2">
+<div class="header">
 <p>
 Next: <a href="#chapter-3" accesskey="n" rel="next">chapter 3</a>, Previous: 
<a href="#unnumbered" accesskey="p" rel="prev">unnumbered</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Test section in unnumbered</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="chapter-2-1"></span><h2 class="chapter">2 chapter 2</h2>
+<div class="node" id="chapter-2-1">
+<h2 class="chapter">2 chapter 2</h2>
 
 
 <ul class="section-toc">
 <li><a href="#unnumberedsec-2" accesskey="1">unnumbered section 2</a></li>
 <li><a href="#unnumberedsec-2_002d1" accesskey="2">unnumberedsec 2-1</a></li>
 </ul>
-<hr>
-<span id="unnumberedsec-2"></span><div class="header">
+</div><hr>
+<div class="unnumberedsec" id="unnumberedsec-2">
+<div class="header">
 <p>
 Next: <a href="#unnumberedsec-2_002d1" accesskey="n" rel="next">unnumberedsec 
2-1</a>, Up: <a href="#chapter-2" accesskey="u" rel="up">chapter 2</a> &nbsp; 
[<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-section-2"></span><h3 class="unnumberedsec">unnumbered 
section 2</h3>
+<div class="node" id="unnumbered-section-2">
+<h3 class="unnumberedsec">unnumbered section 2</h3>
 
 
 <ul class="section-toc">
@@ -8219,59 +8237,81 @@ Next: <a href="#unnumberedsec-2_002d1" accesskey="n" 
rel="next">unnumberedsec 2-
 <li><a href="#unnumbered-sub2-2" accesskey="3">unnumbered subsection2 
2</a></li>
 <li><a href="#numbered-sub2-2" accesskey="4">numbered subsection2 2</a></li>
 </ul>
-<hr>
-<span id="unnumbered-sub-2"></span><div class="header">
+</div><hr>
+<div class="unnumberedsubsec" id="unnumbered-sub-2">
+<div class="header">
 <p>
 Next: <a href="#numbered-sub-2" accesskey="n" rel="next">numbered subsection 
2</a>, Up: <a href="#unnumberedsec-2" accesskey="u" rel="up">unnumbered section 
2</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-subsection-2"></span><h4 
class="unnumberedsubsec">unnumbered subsection 2</h4>
+<div class="node" id="unnumbered-subsection-2">
+<h4 class="unnumberedsubsec">unnumbered subsection 2</h4>
 
-<hr>
-<span id="numbered-sub-2"></span><div class="header">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub-2">
+<div class="header">
 <p>
 Next: <a href="#unnumbered-sub2-2" accesskey="n" rel="next">unnumbered 
subsection2 2</a>, Previous: <a href="#unnumbered-sub-2" accesskey="p" 
rel="prev">unnumbered subsection 2</a>, Up: <a href="#unnumberedsec-2" 
accesskey="u" rel="up">unnumbered section 2</a> &nbsp; [<a href="#SEC_Contents" 
title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection-2"></span><h4 class="subsection">numbered 
subsection 2</h4>
+<div class="node" id="numbered-subsection-2">
+<h4 class="subsection">numbered subsection 2</h4>
 
-<hr>
-<span id="unnumbered-sub2-2"></span><div class="header">
+</div><hr>
+</div>
+<div class="unnumberedsubsec" id="unnumbered-sub2-2">
+<div class="header">
 <p>
 Next: <a href="#numbered-sub2-2" accesskey="n" rel="next">numbered subsection2 
2</a>, Previous: <a href="#numbered-sub-2" accesskey="p" rel="prev">numbered 
subsection 2</a>, Up: <a href="#unnumberedsec-2" accesskey="u" 
rel="up">unnumbered section 2</a> &nbsp; [<a href="#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-subsection2-2"></span><h4 
class="unnumberedsubsec">unnumbered subsection2 2</h4>
+<div class="node" id="unnumbered-subsection2-2">
+<h4 class="unnumberedsubsec">unnumbered subsection2 2</h4>
 
-<hr>
-<span id="numbered-sub2-2"></span><div class="header">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub2-2">
+<div class="header">
 <p>
 Previous: <a href="#unnumbered-sub2-2" accesskey="p" rel="prev">unnumbered 
subsection2 2</a>, Up: <a href="#unnumberedsec-2" accesskey="u" 
rel="up">unnumbered section 2</a> &nbsp; [<a href="#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection2-2"></span><h4 class="subsection">numbered 
subsection2 2</h4>
+<div class="node" id="numbered-subsection2-2">
+<h4 class="subsection">numbered subsection2 2</h4>
 
-<hr>
-<span id="unnumberedsec-2_002d1"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="unnumberedsec" id="unnumberedsec-2_002d1">
+<div class="header">
 <p>
 Previous: <a href="#unnumberedsec-2" accesskey="p" rel="prev">unnumbered 
section 2</a>, Up: <a href="#chapter-2" accesskey="u" rel="up">chapter 2</a> 
&nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumberedsec-2_002d1-1"></span><h3 
class="unnumberedsec">unnumberedsec 2-1</h3>
+<div class="node" id="unnumberedsec-2_002d1-1">
+<h3 class="unnumberedsec">unnumberedsec 2-1</h3>
 
 
 <ul class="section-toc">
 <li><a href="#numbered-sub-2_002d1" accesskey="1">numbered subsection 
2-1</a></li>
 </ul>
-<hr>
-<span id="numbered-sub-2_002d1"></span><div class="header">
+</div><hr>
+<div class="subsection" id="numbered-sub-2_002d1">
+<div class="header">
 <p>
 Up: <a href="#unnumberedsec-2_002d1" accesskey="u" rel="up">unnumberedsec 
2-1</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection-2_002d1"></span><h4 class="subsection">numbered 
subsection 2-1</h4>
+<div class="node" id="numbered-subsection-2_002d1">
+<h4 class="subsection">numbered subsection 2-1</h4>
 
 
-<hr>
-<span id="chapter-3"></span><div class="header">
+</div><hr>
+</div>
+</div>
+</div>
+<div class="chapter" id="chapter-3">
+<div class="header">
 <p>
 Next: <a href="#unnumbered-4" accesskey="n" rel="next">unnumbered  4</a>, 
Previous: <a href="#chapter-2" accesskey="p" rel="prev">chapter 2</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Test section in unnumbered</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="chapter-3-1"></span><h2 class="chapter">3 chapter 3</h2>
+<div class="node" id="chapter-3-1">
+<h2 class="chapter">3 chapter 3</h2>
 
 
 <ul class="section-toc">
@@ -8281,12 +8321,14 @@ Next: <a href="#unnumbered-4" accesskey="n" 
rel="next">unnumbered  4</a>, Previo
 <li><a href="#section-3_002d3" accesskey="4">section 3-3</a></li>
 <li><a href="#unnumberedsec-3_002d4" accesskey="5">unnumberedsec 3-4</a></li>
 </ul>
-<hr>
-<span id="unnumberedsec-3"></span><div class="header">
+</div><hr>
+<div class="unnumberedsec" id="unnumberedsec-3">
+<div class="header">
 <p>
 Next: <a href="#section-3_002d1" accesskey="n" rel="next">section 3-1</a>, Up: 
<a href="#chapter-3" accesskey="u" rel="up">chapter 3</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-section-3"></span><h3 class="unnumberedsec">unnumbered 
section 3</h3>
+<div class="node" id="unnumbered-section-3">
+<h3 class="unnumberedsec">unnumbered section 3</h3>
 
 
 <ul class="section-toc">
@@ -8295,112 +8337,151 @@ Next: <a href="#section-3_002d1" accesskey="n" 
rel="next">section 3-1</a>, Up: <
 <li><a href="#unnumbered-sub2-3" accesskey="3">unnumbered subsection2 
3</a></li>
 <li><a href="#numbered-sub2-3" accesskey="4">numbered subsection2 3</a></li>
 </ul>
-<hr>
-<span id="unnumbered-sub-3"></span><div class="header">
+</div><hr>
+<div class="unnumberedsubsec" id="unnumbered-sub-3">
+<div class="header">
 <p>
 Next: <a href="#numbered-sub-3" accesskey="n" rel="next">numbered subsection 
3</a>, Up: <a href="#unnumberedsec-3" accesskey="u" rel="up">unnumbered section 
3</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-subsection-3"></span><h4 
class="unnumberedsubsec">unnumbered subsection 3</h4>
+<div class="node" id="unnumbered-subsection-3">
+<h4 class="unnumberedsubsec">unnumbered subsection 3</h4>
 
-<hr>
-<span id="numbered-sub-3"></span><div class="header">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub-3">
+<div class="header">
 <p>
 Next: <a href="#unnumbered-sub2-3" accesskey="n" rel="next">unnumbered 
subsection2 3</a>, Previous: <a href="#unnumbered-sub-3" accesskey="p" 
rel="prev">unnumbered subsection 3</a>, Up: <a href="#unnumberedsec-3" 
accesskey="u" rel="up">unnumbered section 3</a> &nbsp; [<a href="#SEC_Contents" 
title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection-3"></span><h4 class="subsection">numbered 
subsection 3</h4>
+<div class="node" id="numbered-subsection-3">
+<h4 class="subsection">numbered subsection 3</h4>
 
-<hr>
-<span id="unnumbered-sub2-3"></span><div class="header">
+</div><hr>
+</div>
+<div class="unnumberedsubsec" id="unnumbered-sub2-3">
+<div class="header">
 <p>
 Next: <a href="#numbered-sub2-3" accesskey="n" rel="next">numbered subsection2 
3</a>, Previous: <a href="#numbered-sub-3" accesskey="p" rel="prev">numbered 
subsection 3</a>, Up: <a href="#unnumberedsec-3" accesskey="u" 
rel="up">unnumbered section 3</a> &nbsp; [<a href="#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-subsection2-3"></span><h4 
class="unnumberedsubsec">unnumbered subsection2 3</h4>
+<div class="node" id="unnumbered-subsection2-3">
+<h4 class="unnumberedsubsec">unnumbered subsection2 3</h4>
 
-<hr>
-<span id="numbered-sub2-3"></span><div class="header">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub2-3">
+<div class="header">
 <p>
 Previous: <a href="#unnumbered-sub2-3" accesskey="p" rel="prev">unnumbered 
subsection2 3</a>, Up: <a href="#unnumberedsec-3" accesskey="u" 
rel="up">unnumbered section 3</a> &nbsp; [<a href="#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection2-3"></span><h4 class="subsection">numbered 
subsection2 3</h4>
+<div class="node" id="numbered-subsection2-3">
+<h4 class="subsection">numbered subsection2 3</h4>
 
-<hr>
-<span id="section-3_002d1"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="section" id="section-3_002d1">
+<div class="header">
 <p>
 Next: <a href="#unnumberedsec-3_002d2" accesskey="n" rel="next">unnumberedsec 
3-2</a>, Previous: <a href="#unnumberedsec-3" accesskey="p" 
rel="prev">unnumbered section 3</a>, Up: <a href="#chapter-3" accesskey="u" 
rel="up">chapter 3</a> &nbsp; [<a href="#SEC_Contents" title="Table of 
contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="section-3_002d1-1"></span><h3 class="section">3.1 section 3-1</h3>
+<div class="node" id="section-3_002d1-1">
+<h3 class="section">3.1 section 3-1</h3>
 
-<hr>
-<span id="unnumberedsec-3_002d2"></span><div class="header">
+</div><hr>
+</div>
+<div class="unnumberedsec" id="unnumberedsec-3_002d2">
+<div class="header">
 <p>
 Next: <a href="#section-3_002d3" accesskey="n" rel="next">section 3-3</a>, 
Previous: <a href="#section-3_002d1" accesskey="p" rel="prev">section 3-1</a>, 
Up: <a href="#chapter-3" accesskey="u" rel="up">chapter 3</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumberedsec-3_002d2-1"></span><h3 
class="unnumberedsec">unnumberedsec 3-2</h3>
+<div class="node" id="unnumberedsec-3_002d2-1">
+<h3 class="unnumberedsec">unnumberedsec 3-2</h3>
 
 
 <ul class="section-toc">
 <li><a href="#numbered-sub-3_002d2" accesskey="1">numbered subsection 
3-2</a></li>
 </ul>
-<hr>
-<span id="numbered-sub-3_002d2"></span><div class="header">
+</div><hr>
+<div class="subsection" id="numbered-sub-3_002d2">
+<div class="header">
 <p>
 Up: <a href="#unnumberedsec-3_002d2" accesskey="u" rel="up">unnumberedsec 
3-2</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection-3_002d2"></span><h4 class="subsection">numbered 
subsection 3-2</h4>
+<div class="node" id="numbered-subsection-3_002d2">
+<h4 class="subsection">numbered subsection 3-2</h4>
 
-<hr>
-<span id="section-3_002d3"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="section" id="section-3_002d3">
+<div class="header">
 <p>
 Next: <a href="#unnumberedsec-3_002d4" accesskey="n" rel="next">unnumberedsec 
3-4</a>, Previous: <a href="#unnumberedsec-3_002d2" accesskey="p" 
rel="prev">unnumberedsec 3-2</a>, Up: <a href="#chapter-3" accesskey="u" 
rel="up">chapter 3</a> &nbsp; [<a href="#SEC_Contents" title="Table of 
contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="section-3_002d3-1"></span><h3 class="section">3.2 section 3-3</h3>
+<div class="node" id="section-3_002d3-1">
+<h3 class="section">3.2 section 3-3</h3>
 
 
 <ul class="section-toc">
 <li><a href="#subsection-3_002d3" accesskey="1">subsection 3-3</a></li>
 </ul>
-<hr>
-<span id="subsection-3_002d3"></span><div class="header">
+</div><hr>
+<div class="subsection" id="subsection-3_002d3">
+<div class="header">
 <p>
 Up: <a href="#section-3_002d3" accesskey="u" rel="up">section 3-3</a> &nbsp; 
[<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="subsection-3_002d3-1"></span><h4 class="subsection">3.2.1 subsection 
3-3</h4>
+<div class="node" id="subsection-3_002d3-1">
+<h4 class="subsection">3.2.1 subsection 3-3</h4>
 
-<hr>
-<span id="unnumberedsec-3_002d4"></span><div class="header">
+</div><hr>
+</div>
+</div>
+<div class="unnumberedsec" id="unnumberedsec-3_002d4">
+<div class="header">
 <p>
 Previous: <a href="#section-3_002d3" accesskey="p" rel="prev">section 3-3</a>, 
Up: <a href="#chapter-3" accesskey="u" rel="up">chapter 3</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumberedsec-3_002d4-1"></span><h3 
class="unnumberedsec">unnumberedsec 3-4</h3>
+<div class="node" id="unnumberedsec-3_002d4-1">
+<h3 class="unnumberedsec">unnumberedsec 3-4</h3>
 
 
 <ul class="section-toc">
 <li><a href="#numbered-sub-3_002d4" accesskey="1">numbered subsection 
3-4</a></li>
 </ul>
-<hr>
-<span id="numbered-sub-3_002d4"></span><div class="header">
+</div><hr>
+<div class="subsection" id="numbered-sub-3_002d4">
+<div class="header">
 <p>
 Up: <a href="#unnumberedsec-3_002d4" accesskey="u" rel="up">unnumberedsec 
3-4</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection-3_002d4"></span><h4 class="subsection">numbered 
subsection 3-4</h4>
+<div class="node" id="numbered-subsection-3_002d4">
+<h4 class="subsection">numbered subsection 3-4</h4>
 
-<hr>
-<span id="unnumbered-4"></span><div class="header">
+</div><hr>
+</div>
+</div>
+</div>
+<div class="unnumbered" id="unnumbered-4">
+<div class="header">
 <p>
 Previous: <a href="#chapter-3" accesskey="p" rel="prev">chapter 3</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Test section in unnumbered</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-4-1"></span><h2 class="unnumbered">unnumbered  4</h2>
+<div class="node" id="unnumbered-4-1">
+<h2 class="unnumbered">unnumbered  4</h2>
 
 
 <ul class="section-toc">
 <li><a href="#unnumberedsec-4" accesskey="1">unnumbered section 4</a></li>
 </ul>
-<hr>
-<span id="unnumberedsec-4"></span><div class="header">
+</div><hr>
+<div class="unnumberedsec" id="unnumberedsec-4">
+<div class="header">
 <p>
 Up: <a href="#unnumbered-4" accesskey="u" rel="up">unnumbered  4</a> &nbsp; 
[<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-section-4"></span><h3 class="unnumberedsec">unnumbered 
section 4</h3>
+<div class="node" id="unnumbered-section-4">
+<h3 class="unnumberedsec">unnumbered section 4</h3>
 
 
 <ul class="section-toc">
@@ -8409,34 +8490,49 @@ Up: <a href="#unnumbered-4" accesskey="u" 
rel="up">unnumbered  4</a> &nbsp; [<a
 <li><a href="#unnumbered-sub2-4" accesskey="3">unnumbered subsection2 
4</a></li>
 <li><a href="#numbered-sub2-4" accesskey="4">numbered subsection2 4</a></li>
 </ul>
-<hr>
-<span id="unnumbered-sub-4"></span><div class="header">
+</div><hr>
+<div class="unnumberedsubsec" id="unnumbered-sub-4">
+<div class="header">
 <p>
 Next: <a href="#numbered-sub-4" accesskey="n" rel="next">numbered subsection 
4</a>, Up: <a href="#unnumberedsec-4" accesskey="u" rel="up">unnumbered section 
4</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-subsection-4"></span><h4 
class="unnumberedsubsec">unnumbered subsection 4</h4>
+<div class="node" id="unnumbered-subsection-4">
+<h4 class="unnumberedsubsec">unnumbered subsection 4</h4>
 
-<hr>
-<span id="numbered-sub-4"></span><div class="header">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub-4">
+<div class="header">
 <p>
 Next: <a href="#unnumbered-sub2-4" accesskey="n" rel="next">unnumbered 
subsection2 4</a>, Previous: <a href="#unnumbered-sub-4" accesskey="p" 
rel="prev">unnumbered subsection 4</a>, Up: <a href="#unnumberedsec-4" 
accesskey="u" rel="up">unnumbered section 4</a> &nbsp; [<a href="#SEC_Contents" 
title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection-4"></span><h4 class="subsection">numbered 
subsection 4</h4>
+<div class="node" id="numbered-subsection-4">
+<h4 class="subsection">numbered subsection 4</h4>
 
-<hr>
-<span id="unnumbered-sub2-4"></span><div class="header">
+</div><hr>
+</div>
+<div class="unnumberedsubsec" id="unnumbered-sub2-4">
+<div class="header">
 <p>
 Next: <a href="#numbered-sub2-4" accesskey="n" rel="next">numbered subsection2 
4</a>, Previous: <a href="#numbered-sub-4" accesskey="p" rel="prev">numbered 
subsection 4</a>, Up: <a href="#unnumberedsec-4" accesskey="u" 
rel="up">unnumbered section 4</a> &nbsp; [<a href="#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="unnumbered-subsection2-4"></span><h4 
class="unnumberedsubsec">unnumbered subsection2 4</h4>
+<div class="node" id="unnumbered-subsection2-4">
+<h4 class="unnumberedsubsec">unnumbered subsection2 4</h4>
 
-<hr>
-<span id="numbered-sub2-4"></span><div class="header">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub2-4">
+<div class="header">
 <p>
 Previous: <a href="#unnumbered-sub2-4" accesskey="p" rel="prev">unnumbered 
subsection2 4</a>, Up: <a href="#unnumberedsec-4" accesskey="u" 
rel="up">unnumbered section 4</a> &nbsp; [<a href="#SEC_Contents" title="Table 
of contents" rel="contents">Contents</a>]</p>
 </div>
-<span id="numbered-subsection2-4"></span><h4 class="subsection">numbered 
subsection2 4</h4>
-<hr>
+<div class="node" id="numbered-subsection2-4">
+<h4 class="subsection">numbered subsection2 4</h4>
+</div><hr>
+</div>
+</div>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/section_node_before_part.pl 
b/tp/t/results/sectioning/section_node_before_part.pl
index 40eb513..4d305b8 100644
--- a/tp/t/results/sectioning/section_node_before_part.pl
+++ b/tp/t/results/sectioning/section_node_before_part.pl
@@ -303,11 +303,15 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span id="section"></span><h3 class="section">1 
section</h3>
+<div class="section" id="Top">
+<div class="node" id="section">
+<h3 class="section">1 section</h3>
 
-<span id="part"></span><h1 class="part">part</h1>
-<hr>
+</div><div class="part" id="part">
+<h1 class="part">part</h1>
 <hr>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/sections_test.pl 
b/tp/t/results/sectioning/sections_test.pl
index 3cc35bc..48a94a7 100644
--- a/tp/t/results/sectioning/sections_test.pl
+++ b/tp/t/results/sectioning/sections_test.pl
@@ -760,29 +760,35 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="top">
+<h1 class="top">top</h1>
 
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">chapter</a></li>
 </ul>
-<span id="chapter"></span><h2 class="chapter">1 chapter</h2>
+</div><div class="chapter" id="chapter">
+<h2 class="chapter">1 chapter</h2>
 
 <ul class="section-toc">
 <li><a href="#section" accesskey="1">section</a></li>
 </ul>
-<span id="section"></span><h3 class="section">1.1 section</h3>
+</div><div class="section" id="section">
+<h3 class="section">1.1 section</h3>
 
 <ul class="section-toc">
 <li><a href="#subsection" accesskey="1">subsection</a></li>
 </ul>
-<span id="subsection"></span><h4 class="subsection">1.1.1 subsection</h4>
+</div><div class="subsection" id="subsection">
+<h4 class="subsection">1.1.1 subsection</h4>
 
 <ul class="section-toc">
 <li><a href="#subsubsection" accesskey="1">subsubsection</a></li>
 </ul>
-<span id="subsubsection"></span><h4 class="subsubsection">1.1.1.1 
subsubsection</h4>
+</div><div class="subsubsection" id="subsubsection">
+<h4 class="subsubsection">1.1.1.1 subsubsection</h4>
 
-<span id="part"></span><h1 class="part">part</h1>
+</div><div class="part" id="part">
+<h1 class="part">part</h1>
 <hr>
 
 <ul class="section-toc">
@@ -790,19 +796,24 @@ ul.no-bullet {list-style: none}
 <li><a href="#second-chapter-in-part" accesskey="2">second chapter in 
part</a></li>
 <li><a href="#unnumbered" accesskey="3">unnumbered</a></li>
 </ul>
-<span id="chapter-in-part"></span><h2 class="chapter">2 chapter in part</h2>
+</div><div class="chapter" id="chapter-in-part">
+<h2 class="chapter">2 chapter in part</h2>
 
-<span id="second-chapter-in-part"></span><h2 class="chapter">3 second chapter 
in part</h2>
+</div><div class="chapter" id="second-chapter-in-part">
+<h2 class="chapter">3 second chapter in part</h2>
 
-<span id="unnumbered"></span><h2 class="unnumbered">unnumbered</h2>
+</div><div class="unnumbered" id="unnumbered">
+<h2 class="unnumbered">unnumbered</h2>
 
-<span id="appendix"></span><h2 class="appendix">Appendix A appendix</h2>
+</div><div class="appendix" id="appendix">
+<h2 class="appendix">Appendix A appendix</h2>
 
 <ul class="section-toc">
 <li><a href="#appendixsec" accesskey="1">appendixsec</a></li>
 </ul>
-<span id="appendixsec"></span><h3 class="appendixsec">A.1 appendixsec</h3>
-<hr>
+</div><div class="appendixsec" id="appendixsec">
+<h3 class="appendixsec">A.1 appendixsec</h3>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/sections_test_no_use_nodes.pl 
b/tp/t/results/sectioning/sections_test_no_use_nodes.pl
index d77ce34..2d5a7b0 100644
--- a/tp/t/results/sectioning/sections_test_no_use_nodes.pl
+++ b/tp/t/results/sectioning/sections_test_no_use_nodes.pl
@@ -761,7 +761,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="top"></span><div class="header">
+<div class="top" id="top">
+<div class="header">
 <p>
 Next: <a href="#chapter-in-part" accesskey="n" rel="next">chapter in part</a> 
&nbsp; </p>
 </div>
@@ -770,8 +771,9 @@ Next: <a href="#chapter-in-part" accesskey="n" 
rel="next">chapter in part</a> &n
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">chapter</a></li>
 </ul>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
  Up : <a href="#top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
@@ -780,8 +782,9 @@ Next: <a href="#chapter-in-part" accesskey="n" 
rel="next">chapter in part</a> &n
 <ul class="section-toc">
 <li><a href="#section" accesskey="1">section</a></li>
 </ul>
-<hr>
-<span id="section"></span><div class="header">
+</div><hr>
+<div class="section" id="section">
+<div class="header">
 <p>
  Up : <a href="#chapter" accesskey="u" rel="up">chapter</a> &nbsp; </p>
 </div>
@@ -790,8 +793,9 @@ Next: <a href="#chapter-in-part" accesskey="n" 
rel="next">chapter in part</a> &n
 <ul class="section-toc">
 <li><a href="#subsection" accesskey="1">subsection</a></li>
 </ul>
-<hr>
-<span id="subsection"></span><div class="header">
+</div><hr>
+<div class="subsection" id="subsection">
+<div class="header">
 <p>
  Up : <a href="#section" accesskey="u" rel="up">section</a> &nbsp; </p>
 </div>
@@ -800,15 +804,17 @@ Next: <a href="#chapter-in-part" accesskey="n" 
rel="next">chapter in part</a> &n
 <ul class="section-toc">
 <li><a href="#subsubsection" accesskey="1">subsubsection</a></li>
 </ul>
-<hr>
-<span id="subsubsection"></span><div class="header">
+</div><hr>
+<div class="subsubsection" id="subsubsection">
+<div class="header">
 <p>
  Up : <a href="#subsection" accesskey="u" rel="up">subsection</a> &nbsp; </p>
 </div>
 <h4 class="subsubsection">1.1.1.1 subsubsection</h4>
 
-<hr>
-<span id="part"></span><div class="header">
+</div><hr>
+<div class="part" id="part">
+<div class="header">
 <p>
 Next: <a href="#second-chapter-in-part" accesskey="n" rel="next">second 
chapter in part</a> &nbsp; </p>
 </div>
@@ -820,24 +826,28 @@ Next: <a href="#second-chapter-in-part" accesskey="n" 
rel="next">second chapter
 <li><a href="#second-chapter-in-part" accesskey="2">second chapter in 
part</a></li>
 <li><a href="#unnumbered" accesskey="3">unnumbered</a></li>
 </ul>
-<span id="chapter-in-part"></span><h2 class="chapter">2 chapter in part</h2>
+</div><div class="chapter" id="chapter-in-part">
+<h2 class="chapter">2 chapter in part</h2>
 
-<hr>
-<span id="second-chapter-in-part"></span><div class="header">
+</div><hr>
+<div class="chapter" id="second-chapter-in-part">
+<div class="header">
 <p>
 Next: <a href="#unnumbered" accesskey="n" rel="next">unnumbered</a>, Prev: <a 
href="#chapter-in-part" accesskey="p" rel="prev">chapter in part</a>,  Up : <a 
href="#chapter-in-part" accesskey="u" rel="up">chapter in part</a> &nbsp; </p>
 </div>
 <h2 class="chapter">3 second chapter in part</h2>
 
-<hr>
-<span id="unnumbered"></span><div class="header">
+</div><hr>
+<div class="unnumbered" id="unnumbered">
+<div class="header">
 <p>
 Prev: <a href="#second-chapter-in-part" accesskey="p" rel="prev">second 
chapter in part</a>,  Up : <a href="#chapter-in-part" accesskey="u" 
rel="up">chapter in part</a> &nbsp; </p>
 </div>
 <h2 class="unnumbered">unnumbered</h2>
 
-<hr>
-<span id="appendix"></span><div class="header">
+</div><hr>
+<div class="appendix" id="appendix">
+<div class="header">
 <p>
 Prev: <a href="#chapter-in-part" accesskey="p" rel="prev">chapter in part</a> 
&nbsp; </p>
 </div>
@@ -846,13 +856,14 @@ Prev: <a href="#chapter-in-part" accesskey="p" 
rel="prev">chapter in part</a> &n
 <ul class="section-toc">
 <li><a href="#appendixsec" accesskey="1">appendixsec</a></li>
 </ul>
-<hr>
-<span id="appendixsec"></span><div class="header">
+</div><hr>
+<div class="appendixsec" id="appendixsec">
+<div class="header">
 <p>
  Up : <a href="#appendix" accesskey="u" rel="up">appendix</a> &nbsp; </p>
 </div>
 <h3 class="appendixsec">A.1 appendixsec</h3>
-<hr>
+</div><hr>
 
 
 
diff --git 
a/tp/t/results/sectioning/sections_test_no_use_nodes_use_node_directions.pl 
b/tp/t/results/sectioning/sections_test_no_use_nodes_use_node_directions.pl
index 5750f07..7bf7f11 100644
--- a/tp/t/results/sectioning/sections_test_no_use_nodes_use_node_directions.pl
+++ b/tp/t/results/sectioning/sections_test_no_use_nodes_use_node_directions.pl
@@ -761,7 +761,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="top"></span><div class="header">
+<div class="top" id="top">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
@@ -770,8 +771,9 @@ ul.no-bullet {list-style: none}
 <ul class="section-toc">
 <li><a href="#chapter" accesskey="1">chapter</a></li>
 </ul>
-<hr>
-<span id="chapter"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
@@ -780,8 +782,9 @@ ul.no-bullet {list-style: none}
 <ul class="section-toc">
 <li><a href="#section" accesskey="1">section</a></li>
 </ul>
-<hr>
-<span id="section"></span><div class="header">
+</div><hr>
+<div class="section" id="section">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
@@ -790,8 +793,9 @@ ul.no-bullet {list-style: none}
 <ul class="section-toc">
 <li><a href="#subsection" accesskey="1">subsection</a></li>
 </ul>
-<hr>
-<span id="subsection"></span><div class="header">
+</div><hr>
+<div class="subsection" id="subsection">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
@@ -800,15 +804,17 @@ ul.no-bullet {list-style: none}
 <ul class="section-toc">
 <li><a href="#subsubsection" accesskey="1">subsubsection</a></li>
 </ul>
-<hr>
-<span id="subsubsection"></span><div class="header">
+</div><hr>
+<div class="subsubsection" id="subsubsection">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
 <h4 class="subsubsection">1.1.1.1 subsubsection</h4>
 
-<hr>
-<span id="part"></span><div class="header">
+</div><hr>
+<div class="part" id="part">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
@@ -820,24 +826,28 @@ ul.no-bullet {list-style: none}
 <li><a href="#second-chapter-in-part" accesskey="2">second chapter in 
part</a></li>
 <li><a href="#unnumbered" accesskey="3">unnumbered</a></li>
 </ul>
-<span id="chapter-in-part"></span><h2 class="chapter">2 chapter in part</h2>
+</div><div class="chapter" id="chapter-in-part">
+<h2 class="chapter">2 chapter in part</h2>
 
-<hr>
-<span id="second-chapter-in-part"></span><div class="header">
+</div><hr>
+<div class="chapter" id="second-chapter-in-part">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
 <h2 class="chapter">3 second chapter in part</h2>
 
-<hr>
-<span id="unnumbered"></span><div class="header">
+</div><hr>
+<div class="unnumbered" id="unnumbered">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
 <h2 class="unnumbered">unnumbered</h2>
 
-<hr>
-<span id="appendix"></span><div class="header">
+</div><hr>
+<div class="appendix" id="appendix">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
@@ -846,13 +856,14 @@ ul.no-bullet {list-style: none}
 <ul class="section-toc">
 <li><a href="#appendixsec" accesskey="1">appendixsec</a></li>
 </ul>
-<hr>
-<span id="appendixsec"></span><div class="header">
+</div><hr>
+<div class="appendixsec" id="appendixsec">
+<div class="header">
 <p>
  &nbsp; </p>
 </div>
 <h3 class="appendixsec">A.1 appendixsec</h3>
-<hr>
+</div><hr>
 
 
 
diff --git a/tp/t/results/sectioning/setfilename_on_top_and_after_node.pl 
b/tp/t/results/sectioning/setfilename_on_top_and_after_node.pl
index 9294871..5a63f7d 100644
--- a/tp/t/results/sectioning/setfilename_on_top_and_after_node.pl
+++ b/tp/t/results/sectioning/setfilename_on_top_and_after_node.pl
@@ -316,9 +316,12 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="In-top-"></span><h1 class="top">In top </h1>
+<div class="top" id="Top">
+<div class="node" id="In-top-">
+<h1 class="top">In top </h1>
 
-<hr>
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/shortcontents.pl 
b/tp/t/results/sectioning/shortcontents.pl
index 3a79349..f019f88 100644
--- a/tp/t/results/sectioning/shortcontents.pl
+++ b/tp/t/results/sectioning/shortcontents.pl
@@ -797,7 +797,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="top"></span><h1 class="top">top</h1>
+<div class="top" id="top">
+<h1 class="top">top</h1>
 
 <span id="SEC_Overview"></span>
 <h2 class="shortcontents-heading">Short Table of Contents</h2>
@@ -817,24 +818,29 @@ ul.no-bullet {list-style: none}
 </ul>
 </div>
 
-<span id="chapter"></span><h2 class="chapter">1 chapter</h2>
+</div><div class="chapter" id="chapter">
+<h2 class="chapter">1 chapter</h2>
 
 <ul class="section-toc">
 <li><a href="#section" accesskey="1">section</a></li>
 </ul>
-<span id="section"></span><h3 class="section">1.1 section</h3>
+</div><div class="section" id="section">
+<h3 class="section">1.1 section</h3>
 
 <ul class="section-toc">
 <li><a href="#subsection" accesskey="1">subsection</a></li>
 </ul>
-<span id="subsection"></span><h4 class="subsection">1.1.1 subsection</h4>
+</div><div class="subsection" id="subsection">
+<h4 class="subsection">1.1.1 subsection</h4>
 
 <ul class="section-toc">
 <li><a href="#subsubsection" accesskey="1">subsubsection</a></li>
 </ul>
-<span id="subsubsection"></span><h4 class="subsubsection">1.1.1.1 
subsubsection</h4>
+</div><div class="subsubsection" id="subsubsection">
+<h4 class="subsubsection">1.1.1.1 subsubsection</h4>
 
-<span id="part"></span><h1 class="part">part</h1>
+</div><div class="part" id="part">
+<h1 class="part">part</h1>
 <hr>
 
 <ul class="section-toc">
@@ -842,20 +848,25 @@ ul.no-bullet {list-style: none}
 <li><a href="#second-chapter-in-part" accesskey="2">second chapter in 
part</a></li>
 <li><a href="#unnumbered" accesskey="3">unnumbered</a></li>
 </ul>
-<span id="chapter-in-part"></span><h2 class="chapter">2 chapter in part</h2>
+</div><div class="chapter" id="chapter-in-part">
+<h2 class="chapter">2 chapter in part</h2>
 
-<span id="second-chapter-in-part"></span><h2 class="chapter">3 second chapter 
in part</h2>
+</div><div class="chapter" id="second-chapter-in-part">
+<h2 class="chapter">3 second chapter in part</h2>
 
-<span id="unnumbered"></span><h2 class="unnumbered">unnumbered</h2>
+</div><div class="unnumbered" id="unnumbered">
+<h2 class="unnumbered">unnumbered</h2>
 
-<span id="appendix"></span><h2 class="appendix">Appendix A appendix</h2>
+</div><div class="appendix" id="appendix">
+<h2 class="appendix">Appendix A appendix</h2>
 
 <ul class="section-toc">
 <li><a href="#appendixsec" accesskey="1">appendixsec</a></li>
 </ul>
-<span id="appendixsec"></span><h3 class="appendixsec">A.1 appendixsec</h3>
+</div><div class="appendixsec" id="appendixsec">
+<h3 class="appendixsec">A.1 appendixsec</h3>
 
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/space_in_node.pl 
b/tp/t/results/sectioning/space_in_node.pl
index fd0f8cf..67461e7 100644
--- a/tp/t/results/sectioning/space_in_node.pl
+++ b/tp/t/results/sectioning/space_in_node.pl
@@ -745,34 +745,38 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="#Chap-first-here" accesskey="n" rel="next">Chap first  here</a> 
&nbsp; </p>
 </div>
 <h1 class="node-heading">Top</h1>
 
 
-<hr>
-<span id="Chap-first-here"></span><div class="header">
+</div><hr>
+<div class="node" id="Chap-first-here">
+<div class="header">
 <p>
 Next: <a href="#Test-title" accesskey="n" rel="next">Test               
title</a>, Previous: <a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a 
href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">Chap first  here</h4>
 
-<hr>
-<span id="Test-title"></span><div class="header">
+</div><hr>
+<div class="node" id="Test-title">
+<div class="header">
 <p>
 Next: <a href="#Last-with-spaces" accesskey="n" rel="next">Last with 
spaces</a>, Previous: <a href="#Chap-first-here" accesskey="p" rel="prev">Chap 
first  here</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">Test               title</h4>
 
-<hr>
-<span id="Last-with-spaces"></span><div class="header">
+</div><hr>
+<div class="node" id="Last-with-spaces">
+<div class="header">
 <p>
 Previous: <a href="#Test-title" accesskey="p" rel="prev">Test               
title</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">Last with spaces</h4>
-<hr>
+</div><hr>
 
 
 
diff --git a/tp/t/results/sectioning/top_no_argument_and_content.pl 
b/tp/t/results/sectioning/top_no_argument_and_content.pl
index 302af96..0928c35 100644
--- a/tp/t/results/sectioning/top_no_argument_and_content.pl
+++ b/tp/t/results/sectioning/top_no_argument_and_content.pl
@@ -132,9 +132,10 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Top"></span>
+<div class="top" id="SEC_Top">
+
 <p>A.
-</p><hr>
+</p></div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/top_no_argument_and_node.pl 
b/tp/t/results/sectioning/top_no_argument_and_node.pl
index ec12a42..6dfbb8e 100644
--- a/tp/t/results/sectioning/top_no_argument_and_node.pl
+++ b/tp/t/results/sectioning/top_no_argument_and_node.pl
@@ -209,7 +209,10 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="start"></span><span id="SEC_Top"></span><hr>
+<div class="top" id="start">
+<div class="node" id="SEC_Top">
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/top_no_argument_and_top_node.pl 
b/tp/t/results/sectioning/top_no_argument_and_top_node.pl
index 3bec466..614ba80 100644
--- a/tp/t/results/sectioning/top_no_argument_and_top_node.pl
+++ b/tp/t/results/sectioning/top_no_argument_and_top_node.pl
@@ -199,7 +199,10 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="SEC_Top"></span><hr>
+<div class="top" id="Top">
+<div class="node" id="SEC_Top">
+</div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/top_node_no_menu_direction.pl 
b/tp/t/results/sectioning/top_node_no_menu_direction.pl
index 8f653ed..4b3a573 100644
--- a/tp/t/results/sectioning/top_node_no_menu_direction.pl
+++ b/tp/t/results/sectioning/top_node_no_menu_direction.pl
@@ -546,20 +546,22 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="#second-node" accesskey="n" rel="next">second node</a> &nbsp; 
</p>
 </div>
 <h1 class="node-heading">Top</h1>
 
 
-<hr>
-<span id="second-node"></span><div class="header">
+</div><hr>
+<div class="node" id="second-node">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">second node</h4>
-<hr>
+</div><hr>
 
 
 
diff --git a/tp/t/results/sectioning/top_node_part_top.pl 
b/tp/t/results/sectioning/top_node_part_top.pl
index cab83a0..86128c5 100644
--- a/tp/t/results/sectioning/top_node_part_top.pl
+++ b/tp/t/results/sectioning/top_node_part_top.pl
@@ -365,13 +365,17 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span>
-<span id="part"></span><h1 class="part">part</h1>
-<hr>
+<div class="top" id="Top">
 
-<span id="top"></span><h1 class="top">top</h1>
+<div class="part" id="part">
+<h1 class="part">part</h1>
 <hr>
 
+</div><div class="node" id="top">
+<h1 class="top">top</h1>
+</div><hr></div>
+</div>
+
 
 
 </body>
diff --git a/tp/t/results/sectioning/top_node_up_url.pl 
b/tp/t/results/sectioning/top_node_up_url.pl
index 589ebb7..1b7a700 100644
--- a/tp/t/results/sectioning/top_node_up_url.pl
+++ b/tp/t/results/sectioning/top_node_up_url.pl
@@ -569,20 +569,24 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#first" accesskey="n" rel="next">first</a>, Up: <a 
href="http://www.gnu.org/manual/"; accesskey="u" rel="up">@acronym{GNU, 
@acronym{GNU}\'s Not Unix} manuals</a> &nbsp; </p>
 </div>
-<span id="internal-top-node-up"></span><h1 class="top">internal top node 
up</h1>
+<div class="node" id="internal-top-node-up">
+<h1 class="top">internal top node up</h1>
 
 
-<hr>
-<span id="first"></span><div class="header">
+</div><hr>
+<div class="node" id="first">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">internal top node up</a>, 
Up: <a href="#Top" accesskey="u" rel="up">internal top node up</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">first</h4>
-<hr>
+</div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/top_without_node_nodes.pl 
b/tp/t/results/sectioning/top_without_node_nodes.pl
index 3bafe76..f9b8bcd 100644
--- a/tp/t/results/sectioning/top_without_node_nodes.pl
+++ b/tp/t/results/sectioning/top_without_node_nodes.pl
@@ -442,16 +442,20 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="top-section"></span><h1 class="top">top section</h1>
+<div class="top" id="top-section">
+<h1 class="top">top section</h1>
 <p>Top section
 </p>
 <ul class="section-toc">
 <li><a href="#second" accesskey="1">Chapter</a></li>
 </ul>
-<span id="second"></span><span id="Chapter"></span><h2 class="chapter">1 
Chapter</h2>
+</div><div class="chapter" id="second">
+<div class="node" id="Chapter">
+<h2 class="chapter">1 Chapter</h2>
 
 <p>Text of chapter
-</p><hr>
+</p></div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/top_without_node_sections.pl 
b/tp/t/results/sectioning/top_without_node_sections.pl
index bd0aa72..d491bfc 100644
--- a/tp/t/results/sectioning/top_without_node_sections.pl
+++ b/tp/t/results/sectioning/top_without_node_sections.pl
@@ -490,16 +490,20 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="top-section"></span><h1 class="top">top section</h1>
+<div class="top" id="top-section">
+<h1 class="top">top section</h1>
 <p>Top section
 </p>
 <ul class="section-toc">
 <li><a href="#second" accesskey="1">Chapter</a></li>
 </ul>
-<span id="second"></span><span id="Chapter"></span><h2 class="chapter">1 
Chapter</h2>
+</div><div class="chapter" id="second">
+<div class="node" id="Chapter">
+<h2 class="chapter">1 Chapter</h2>
 
 <p>Text of chapter
-</p><hr>
+</p></div><hr></div>
+</div>
 
 
 
diff --git 
a/tp/t/results/sectioning/transliterated_split_equivalent_nodes/res_html/a.html 
b/tp/t/results/sectioning/transliterated_split_equivalent_nodes/res_html/a.html
index 38fcd09..d9fa7d2 100644
--- 
a/tp/t/results/sectioning/transliterated_split_equivalent_nodes/res_html/a.html
+++ 
b/tp/t/results/sectioning/transliterated_split_equivalent_nodes/res_html/a.html
@@ -37,19 +37,21 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="g_t_00e3"></span><div class="header">
+<div class="node" id="g_t_00e3">
+<div class="header">
 <p>
 Next: <a href="n.html" accesskey="n" rel="next">n</a>, Previous: <a 
href="index.html" accesskey="p" rel="prev">Top</a>, Up: <a href="index.html" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
 <h4 class="node-heading">&atilde;</h4>
 
-<span id="g_t_00e2"></span><div class="header">
+</div><div class="node" id="g_t_00e2">
+<div class="header">
 <p>
 Previous: <a href="n.html" accesskey="p" rel="prev">n</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">&acirc;</h4>
-
+</div>
 
 
 </body>
diff --git 
a/tp/t/results/sectioning/transliterated_split_equivalent_nodes/res_html/index.html
 
b/tp/t/results/sectioning/transliterated_split_equivalent_nodes/res_html/index.html
index 21cc50b..7d82445 100644
--- 
a/tp/t/results/sectioning/transliterated_split_equivalent_nodes/res_html/index.html
+++ 
b/tp/t/results/sectioning/transliterated_split_equivalent_nodes/res_html/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="node" id="Top">
+<div class="header">
 <p>
 Next: <a href="a.html#g_t_00e3" accesskey="n" rel="next">&atilde;</a> &nbsp; 
</p>
 </div>
@@ -43,7 +44,7 @@ Next: <a href="a.html#g_t_00e3" accesskey="n" 
rel="next">&atilde;</a> &nbsp; </p
 <h1 class="node-heading">Top</h1>
 
 
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="a.html#g_t_00e3" accesskey="n" rel="next">&atilde;</a> &nbsp; 
</p>
diff --git 
a/tp/t/results/sectioning/transliterated_split_equivalent_nodes/res_html/n.html 
b/tp/t/results/sectioning/transliterated_split_equivalent_nodes/res_html/n.html
index 4b27ce7..c513723 100644
--- 
a/tp/t/results/sectioning/transliterated_split_equivalent_nodes/res_html/n.html
+++ 
b/tp/t/results/sectioning/transliterated_split_equivalent_nodes/res_html/n.html
@@ -37,14 +37,15 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="n"></span><div class="header">
+<div class="node" id="n">
+<div class="header">
 <p>
 Next: <a href="a.html#g_t_00e2" accesskey="n" rel="next">&acirc;</a>, 
Previous: <a href="a.html#g_t_00e3" accesskey="p" rel="prev">&atilde;</a>, Up: 
<a href="index.html" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <hr>
 <h4 class="node-heading">n</h4>
 
-
+</div>
 
 
 </body>
diff --git a/tp/t/results/sectioning/two_nodes_at_the_end.pl 
b/tp/t/results/sectioning/two_nodes_at_the_end.pl
index 5624e0b..422b7e2 100644
--- a/tp/t/results/sectioning/two_nodes_at_the_end.pl
+++ b/tp/t/results/sectioning/two_nodes_at_the_end.pl
@@ -1031,37 +1031,45 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter-1" accesskey="n" rel="next">chapter c1</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
 <ul class="section-toc">
 <li><a href="#chapter-1" accesskey="1">chapter c1</a></li>
 </ul>
-<hr>
-<span id="chapter-1"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter-1">
+<div class="header">
 <p>
 Next: <a href="#node-after-chapter-1" accesskey="n" rel="next">node after 
chapter 1</a>, Previous: <a href="#Top" accesskey="p" rel="prev">top</a>, Up: 
<a href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
-<span id="chapter-c1"></span><h2 class="chapter">1 chapter c1</h2>
+<div class="node" id="chapter-c1">
+<h2 class="chapter">1 chapter c1</h2>
 
-<hr>
-<span id="node-after-chapter-1"></span><div class="header">
+</div><hr>
+<div class="node" id="node-after-chapter-1">
+<div class="header">
 <p>
 Next: <a href="#node-after-chapter-2" accesskey="n" rel="next">node after 
chapter 2</a>, Previous: <a href="#chapter-1" accesskey="p" rel="prev">chapter 
c1</a>, Up: <a href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">node after chapter 1</h4>
 
-<hr>
-<span id="node-after-chapter-2"></span><div class="header">
+</div><hr>
+<div class="node" id="node-after-chapter-2">
+<div class="header">
 <p>
 Previous: <a href="#node-after-chapter-1" accesskey="p" rel="prev">node after 
chapter 1</a>, Up: <a href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">node after chapter 2</h4>
-<hr>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/two_nodes_between_chapters.pl 
b/tp/t/results/sectioning/two_nodes_between_chapters.pl
index 1f8605e..6b455b7 100644
--- a/tp/t/results/sectioning/two_nodes_between_chapters.pl
+++ b/tp/t/results/sectioning/two_nodes_between_chapters.pl
@@ -1189,38 +1189,48 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="#chapter-1" accesskey="n" rel="next">chapter c1</a> &nbsp; </p>
 </div>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 
 <ul class="section-toc">
 <li><a href="#chapter-1" accesskey="1">chapter c1</a></li>
 <li><a href="#chapter-2" accesskey="2">chapter c2</a></li>
 </ul>
-<hr>
-<span id="chapter-1"></span><div class="header">
+</div><hr>
+<div class="chapter" id="chapter-1">
+<div class="header">
 <p>
 Next: <a href="#Top" accesskey="n" rel="next">top</a>, Previous: <a 
href="#node-between-chapters" accesskey="p" rel="prev">node between 
chapters</a>, Up: <a href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
-<span id="chapter-c1"></span><h2 class="chapter">1 chapter c1</h2>
+<div class="node" id="chapter-c1">
+<h2 class="chapter">1 chapter c1</h2>
 
-<hr>
-<span id="node-between-chapters"></span><div class="header">
+</div><hr>
+<div class="node" id="node-between-chapters">
+<div class="header">
 <p>
 Next: <a href="#chapter-2" accesskey="n" rel="next">chapter c2</a>, Previous: 
<a href="#chapter-1" accesskey="p" rel="prev">chapter c1</a>, Up: <a 
href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
 <h4 class="node-heading">node between chapters</h4>
 
-<hr>
-<span id="chapter-2"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="chapter-2">
+<div class="header">
 <p>
 Previous: <a href="#chapter-1" accesskey="p" rel="prev">chapter c1</a>, Up: <a 
href="#Top" accesskey="u" rel="up">top</a> &nbsp; </p>
 </div>
-<span id="chapter-c2"></span><h2 class="chapter">2 chapter c2</h2>
-<hr>
+<div class="node" id="chapter-c2">
+<h2 class="chapter">2 chapter c2</h2>
+</div><hr>
+</div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/two_unnumbered_no_argument.pl 
b/tp/t/results/sectioning/two_unnumbered_no_argument.pl
index 98ff674..1eb157d 100644
--- a/tp/t/results/sectioning/two_unnumbered_no_argument.pl
+++ b/tp/t/results/sectioning/two_unnumbered_no_argument.pl
@@ -170,7 +170,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<hr>
+<hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/unnumbered_before_node_top_top.pl 
b/tp/t/results/sectioning/unnumbered_before_node_top_top.pl
index cb078c1..97d8331 100644
--- a/tp/t/results/sectioning/unnumbered_before_node_top_top.pl
+++ b/tp/t/results/sectioning/unnumbered_before_node_top_top.pl
@@ -425,13 +425,17 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="before-nodes"></span><h2 class="unnumbered">before nodes</h2>
+<div class="unnumbered" id="before-nodes">
+<h2 class="unnumbered">before nodes</h2>
 
 <p>in unnumbered
 </p>
-<span id="Top"></span><span id="top-section"></span><h2 class="unnumbered">top 
section</h2>
+</div><div class="top" id="Top">
+<div class="node" id="top-section">
+<h2 class="unnumbered">top section</h2>
 <p>Top node
-</p><hr>
+</p></div><hr></div>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/unnumbered_before_top_node.pl 
b/tp/t/results/sectioning/unnumbered_before_top_node.pl
index b2d835b..2b8c2b3 100644
--- a/tp/t/results/sectioning/unnumbered_before_top_node.pl
+++ b/tp/t/results/sectioning/unnumbered_before_top_node.pl
@@ -308,13 +308,15 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="before-nodes"></span><h2 class="unnumbered">before nodes</h2>
+<div class="unnumbered" id="before-nodes">
+<h2 class="unnumbered">before nodes</h2>
 
-<span id="Top"></span><h1 class="node-heading">Top</h1>
+</div><div class="node" id="Top">
+<h1 class="node-heading">Top</h1>
 <p>Top node
 </p>
 <h1 class="titlefont">Title titlefont</h1>
-<hr>
+</div><hr></div>
 
 
 
diff --git a/tp/t/results/sectioning/unnumbered_top_without_node_nodes.pl 
b/tp/t/results/sectioning/unnumbered_top_without_node_nodes.pl
index e7cae5c..4f245e2 100644
--- a/tp/t/results/sectioning/unnumbered_top_without_node_nodes.pl
+++ b/tp/t/results/sectioning/unnumbered_top_without_node_nodes.pl
@@ -716,26 +716,33 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="a-node"></span><div class="header">
+<div class="unnumbered" id="a-node">
+<div class="header">
 <p>
 Up: <a href="dir.html#Top" accesskey="u" rel="up">(dir)</a> &nbsp; </p>
 </div>
-<span id="unnumbered"></span><h2 class="unnumbered">unnumbered</h2>
+<div class="node" id="unnumbered">
+<h2 class="unnumbered">unnumbered</h2>
 
 <p>in unnumbered
 </p>
-<span id="top-section"></span><h2 class="unnumbered">top section</h2>
+</div><div class="top" id="top-section">
+<h2 class="unnumbered">top section</h2>
 <p>Top section
 </p>
-<hr>
-<span id="second"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="second">
+<div class="header">
 <p>
 Up: <a href="dir.html#Top" accesskey="u" rel="up">(dir)</a> &nbsp; </p>
 </div>
-<span id="Chapter"></span><h2 class="chapter">1 Chapter</h2>
+<div class="node" id="Chapter">
+<h2 class="chapter">1 Chapter</h2>
 
 <p>Text of chapter
-</p><hr>
+</p></div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/sectioning/unnumbered_top_without_node_sections.pl 
b/tp/t/results/sectioning/unnumbered_top_without_node_sections.pl
index dffd8c4..8b2d9c6 100644
--- a/tp/t/results/sectioning/unnumbered_top_without_node_sections.pl
+++ b/tp/t/results/sectioning/unnumbered_top_without_node_sections.pl
@@ -770,26 +770,33 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="a-node"></span><div class="header">
+<div class="unnumbered" id="a-node">
+<div class="header">
 <p>
 Up: <a href="dir.html#Top" accesskey="u" rel="up">(dir)</a> &nbsp; </p>
 </div>
-<span id="unnumbered"></span><h2 class="unnumbered">unnumbered</h2>
+<div class="node" id="unnumbered">
+<h2 class="unnumbered">unnumbered</h2>
 
 <p>in unnumbered
 </p>
-<span id="top-section"></span><h2 class="unnumbered">top section</h2>
+</div><div class="top" id="top-section">
+<h2 class="unnumbered">top section</h2>
 <p>Top section
 </p>
-<hr>
-<span id="second"></span><div class="header">
+</div><hr>
+</div>
+<div class="chapter" id="second">
+<div class="header">
 <p>
 Up: <a href="dir.html#Top" accesskey="u" rel="up">(dir)</a> &nbsp; </p>
 </div>
-<span id="Chapter"></span><h2 class="chapter">1 Chapter</h2>
+<div class="node" id="Chapter">
+<h2 class="chapter">1 Chapter</h2>
 
 <p>Text of chapter
-</p><hr>
+</p></div><hr>
+</div>
 
 
 
diff --git a/tp/t/results/xtable/block_commands_in_table.pl 
b/tp/t/results/xtable/block_commands_in_table.pl
index 81e96e0..9fad0ed 100644
--- a/tp/t/results/xtable/block_commands_in_table.pl
+++ b/tp/t/results/xtable/block_commands_in_table.pl
@@ -1724,7 +1724,9 @@ _second item_
 ';
 
 
-$result_converted{'html_text'}->{'block_commands_in_table'} = '<span 
id="Top"></span><span id="Element"></span><h1 class="top">Element</h1>
+$result_converted{'html_text'}->{'block_commands_in_table'} = '<div 
class="top" id="Top">
+<div class="node" id="Element">
+<h1 class="top">Element</h1>
 
 <dl compact="compact">
 <dt><span><em>first item</em></span></dt>
@@ -1786,7 +1788,7 @@ end example.
 </p></dd>
 </dl>
 <p>After table.
-</p><hr>
+</p></div><hr></div>
 ';
 
 
diff --git 
a/tp/tests/contents/res_parser/contents_and_parts/contents_and_parts.html 
b/tp/tests/contents/res_parser/contents_and_parts/contents_and_parts.html
index 11c83ac..3630ad9 100644
--- a/tp/tests/contents/res_parser/contents_and_parts/contents_and_parts.html
+++ b/tp/tests/contents/res_parser/contents_and_parts/contents_and_parts.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter-1-node" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#chapter-1-node">1 chapter 
1</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -54,8 +56,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="part-1_003a-part-1"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="part" id="part-1_003a-part-1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -73,10 +76,14 @@ ul.no-bullet {list-style: none}
 <h1 class="part">part 1: part 1</h1>
 <hr>
 
-<span id="chapter-1-node"></span><span id="chapter-1"></span><h1 
class="chapter">1 chapter 1</h1>
+</div><div class="chapter" id="chapter-1-node">
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter 1</h1>
 
-<hr>
-<span id="chapter-2-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="chapter" id="chapter-2-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter-1-node" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter-1-node" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter-1-node" title="Up 
section"> Up </a>]</td>
@@ -91,10 +98,12 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-2"></span><h1 class="chapter">2 chapter 2</h1>
+<div class="node" id="chapter-2">
+<h1 class="chapter">2 chapter 2</h1>
 
-<hr>
-<span id="part2_003a-part2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="part" id="part2_003a-part2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter-2-node" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter-2-node" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -112,11 +121,16 @@ ul.no-bullet {list-style: none}
 <h1 class="part">part2: part2</h1>
 <hr>
 
-<span id="chapter-3-node"></span><span id="chapter-3"></span><h1 
class="chapter">3 chapter 3</h1>
+</div></div>
+<div class="chapter" id="chapter-3-node">
+<div class="node" id="chapter-3">
+<h1 class="chapter">3 chapter 3</h1>
 
 
-<hr size="6">
-<span id="SEC_Contents"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -139,8 +153,8 @@ ul.no-bullet {list-style: none}
 
 </ul>
 </div>
-<hr>
-<span id="SEC_Overview"></span>
+</div><hr>
+<div class="Overview_element" id="SEC_Overview">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -161,8 +175,8 @@ ul.no-bullet {list-style: none}
 
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -271,7 +285,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/contents_at_begin/contents_at_begin.html 
b/tp/tests/contents/res_parser/contents_at_begin/contents_at_begin.html
index 36380ac..d659748 100644
--- a/tp/tests/contents/res_parser/contents_at_begin/contents_at_begin.html
+++ b/tp/tests/contents/res_parser/contents_at_begin/contents_at_begin.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,7 +45,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Contents-at-beginning"></span><h1 class="top">Contents at 
beginning</h1>
+<div class="node" id="Contents-at-beginning">
+<h1 class="top">Contents at beginning</h1>
 
 <p>Content at the beginning.
 </p>
@@ -53,8 +55,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -69,12 +72,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
-<hr size="6">
-<span id="SEC_Contents"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -89,8 +95,8 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-Chapter-1" href="#chapter">1 Chapter 1</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -199,7 +205,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/contents_at_begin_inline/contents_at_begin.html 
b/tp/tests/contents/res_parser/contents_at_begin_inline/contents_at_begin.html
index cf9b425..59c969c 100644
--- 
a/tp/tests/contents/res_parser/contents_at_begin_inline/contents_at_begin.html
+++ 
b/tp/tests/contents/res_parser/contents_at_begin_inline/contents_at_begin.html
@@ -46,7 +46,8 @@ ul.no-bullet {list-style: none}
 </div>
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -54,7 +55,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Contents-at-beginning"></span><h1 class="top">Contents at 
beginning</h1>
+<div class="node" id="Contents-at-beginning">
+<h1 class="top">Contents at beginning</h1>
 
 <p>Content at the beginning.
 </p>
@@ -63,8 +65,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -79,12 +82,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -193,7 +199,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/contents/res_parser/contents_at_end/contents_at_end.html 
b/tp/tests/contents/res_parser/contents_at_end/contents_at_end.html
index d14aef9..3775c81 100644
--- a/tp/tests/contents/res_parser/contents_at_end/contents_at_end.html
+++ b/tp/tests/contents/res_parser/contents_at_end/contents_at_end.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,7 +45,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Contents-at-end"></span><h1 class="top">Contents at end</h1>
+<div class="node" id="Contents-at-end">
+<h1 class="top">Contents at end</h1>
 
 <p>Content at end.
 </p>
@@ -53,8 +55,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -69,12 +72,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
-<hr size="6">
-<span id="SEC_Contents"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -89,8 +95,8 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-Chapter-1" href="#chapter">1 Chapter 1</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -199,7 +205,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/contents_at_end_inline/contents_at_end.html 
b/tp/tests/contents/res_parser/contents_at_end_inline/contents_at_end.html
index e40874b..25d1276 100644
--- a/tp/tests/contents/res_parser/contents_at_end_inline/contents_at_end.html
+++ b/tp/tests/contents/res_parser/contents_at_end_inline/contents_at_end.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,7 +45,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Contents-at-end"></span><h1 class="top">Contents at end</h1>
+<div class="node" id="Contents-at-end">
+<h1 class="top">Contents at end</h1>
 
 <p>Content at end.
 </p>
@@ -53,8 +55,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -69,7 +72,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
@@ -83,8 +87,10 @@ ul.no-bullet {list-style: none}
 </ul>
 </div>
 
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -193,7 +199,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/contents_in_middle_chapter/contents_in_middle_chapter.html
 
b/tp/tests/contents/res_parser/contents_in_middle_chapter/contents_in_middle_chapter.html
index 638f48c..45b2652 100644
--- 
a/tp/tests/contents/res_parser/contents_in_middle_chapter/contents_in_middle_chapter.html
+++ 
b/tp/tests/contents/res_parser/contents_in_middle_chapter/contents_in_middle_chapter.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,7 +45,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Contents-in-chapter"></span><h1 class="top">Contents in chapter</h1>
+<div class="node" id="Contents-in-chapter">
+<h1 class="top">Contents in chapter</h1>
 
 <p>Content in chapter.
 </p>
@@ -53,8 +55,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -69,7 +72,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter with contents
 </p>
@@ -78,8 +82,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -94,12 +99,16 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="section-1"></span><h2 class="section">1.1 section</h2>
+<div class="node" id="section-1">
+<h2 class="section">1.1 section</h2>
 
 <p>Section.
 </p>
-<hr size="6">
-<span id="SEC_Contents"></span>
+</div><hr size="6">
+</div>
+</div>
+</div>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -117,8 +126,8 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -227,7 +236,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/contents_in_middle_chapter_inline/contents_in_middle_chapter.html
 
b/tp/tests/contents/res_parser/contents_in_middle_chapter_inline/contents_in_middle_chapter.html
index 9273fc1..199306d 100644
--- 
a/tp/tests/contents/res_parser/contents_in_middle_chapter_inline/contents_in_middle_chapter.html
+++ 
b/tp/tests/contents/res_parser/contents_in_middle_chapter_inline/contents_in_middle_chapter.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,7 +45,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Contents-in-chapter"></span><h1 class="top">Contents in chapter</h1>
+<div class="node" id="Contents-in-chapter">
+<h1 class="top">Contents in chapter</h1>
 
 <p>Content in chapter.
 </p>
@@ -53,8 +55,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -69,7 +72,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter with contents
 </p><span id="SEC_Contents"></span>
@@ -91,8 +95,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -107,12 +112,16 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="section-1"></span><h2 class="section">1.1 section</h2>
+<div class="node" id="section-1">
+<h2 class="section">1.1 section</h2>
 
 <p>Section.
 </p>
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -221,7 +230,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/contents_in_middle_section/contents_in_middle_section.html
 
b/tp/tests/contents/res_parser/contents_in_middle_section/contents_in_middle_section.html
index be0d697..ee2a727 100644
--- 
a/tp/tests/contents/res_parser/contents_in_middle_section/contents_in_middle_section.html
+++ 
b/tp/tests/contents/res_parser/contents_in_middle_section/contents_in_middle_section.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,7 +45,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Contents-in-section"></span><h1 class="top">Contents in section</h1>
+<div class="node" id="Contents-in-section">
+<h1 class="top">Contents in section</h1>
 
 <p>Content in section.
 </p>
@@ -53,8 +55,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -69,7 +72,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 
 <table class="menu" border="0" cellspacing="0">
@@ -79,8 +83,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -95,12 +100,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="section-1"></span><h2 class="section">1.1 section</h2>
+<div class="node" id="section-1">
+<h2 class="section">1.1 section</h2>
 
 <p>The section with contents
 </p>
-<hr>
-<span id="section1"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="section" id="section1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -115,12 +123,16 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="section-1-1"></span><h2 class="section">1.2 section 1</h2>
+<div class="node" id="section-1-1">
+<h2 class="section">1.2 section 1</h2>
 
 <p>Section 1.
 </p>
-<hr size="6">
-<span id="SEC_Contents"></span>
+</div><hr size="6">
+</div>
+</div>
+</div>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -139,8 +151,8 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -249,7 +261,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/contents_in_middle_section_inline/contents_in_middle_section.html
 
b/tp/tests/contents/res_parser/contents_in_middle_section_inline/contents_in_middle_section.html
index a74bc21..31f894a 100644
--- 
a/tp/tests/contents/res_parser/contents_in_middle_section_inline/contents_in_middle_section.html
+++ 
b/tp/tests/contents/res_parser/contents_in_middle_section_inline/contents_in_middle_section.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,7 +45,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Contents-in-section"></span><h1 class="top">Contents in section</h1>
+<div class="node" id="Contents-in-section">
+<h1 class="top">Contents in section</h1>
 
 <p>Content in section.
 </p>
@@ -53,8 +55,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -69,7 +72,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 
 <table class="menu" border="0" cellspacing="0">
@@ -79,8 +83,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -95,7 +100,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="section-1"></span><h2 class="section">1.1 section</h2>
+<div class="node" id="section-1">
+<h2 class="section">1.1 section</h2>
 
 <p>The section with contents
 </p><span id="SEC_Contents"></span>
@@ -113,8 +119,10 @@ ul.no-bullet {list-style: none}
 </div>
 
 
-<hr>
-<span id="section1"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="section" id="section1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#section" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -129,12 +137,16 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="section-1-1"></span><h2 class="section">1.2 section 1</h2>
+<div class="node" id="section-1-1">
+<h2 class="section">1.2 section 1</h2>
 
 <p>Section 1.
 </p>
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -243,7 +255,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/contents/res_parser/double_contents/double_contents.html 
b/tp/tests/contents/res_parser/double_contents/double_contents.html
index eb83708..d9bde76 100644
--- a/tp/tests/contents/res_parser/double_contents/double_contents.html
+++ b/tp/tests/contents/res_parser/double_contents/double_contents.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,7 +45,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Double-contents"></span><h1 class="top">Double contents</h1>
+<div class="node" id="Double-contents">
+<h1 class="top">Double contents</h1>
 
 <p>Double contents.
 </p>
@@ -53,8 +55,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -69,7 +72,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
@@ -78,8 +82,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -94,10 +99,14 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="section-with-contents"></span><h2 class="section">1.1 section with 
contents</h2>
+<div class="node" id="section-with-contents">
+<h2 class="section">1.1 section with contents</h2>
 
-<hr size="6">
-<span id="SEC_Contents"></span>
+</div><hr size="6">
+</div>
+</div>
+</div>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -115,8 +124,8 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -225,7 +234,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title/double_contents.html 
b/tp/tests/contents/res_parser/double_contents_after_title/double_contents.html
index ab2767e..32cf98d 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title/double_contents.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title/double_contents.html
@@ -50,7 +50,8 @@ ul.no-bullet {list-style: none}
 <hr>
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -58,7 +59,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Double-contents"></span><h1 class="top">Double contents</h1>
+<div class="node" id="Double-contents">
+<h1 class="top">Double contents</h1>
 
 <p>Double contents.
 </p>
@@ -67,8 +69,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -83,7 +86,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
@@ -92,8 +96,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -108,10 +113,14 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="section-with-contents"></span><h2 class="section">1.1 section with 
contents</h2>
+<div class="node" id="section-with-contents">
+<h2 class="section">1.1 section with contents</h2>
 
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -220,7 +229,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_book/double_contents.html
 
b/tp/tests/contents/res_parser/double_contents_after_title_book/double_contents.html
index ab2767e..32cf98d 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_book/double_contents.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_book/double_contents.html
@@ -50,7 +50,8 @@ ul.no-bullet {list-style: none}
 <hr>
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -58,7 +59,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Double-contents"></span><h1 class="top">Double contents</h1>
+<div class="node" id="Double-contents">
+<h1 class="top">Double contents</h1>
 
 <p>Double contents.
 </p>
@@ -67,8 +69,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -83,7 +86,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
@@ -92,8 +96,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -108,10 +113,14 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="section-with-contents"></span><h2 class="section">1.1 section with 
contents</h2>
+<div class="node" id="section-with-contents">
+<h2 class="section">1.1 section with contents</h2>
 
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -220,7 +229,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/chapter.html
 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/chapter.html
index 0714b3e..1e1c530 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/chapter.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
@@ -58,8 +60,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -74,9 +77,10 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="section-with-contents"></span><h2 class="section">1.1 section with 
contents</h2>
+<div class="node" id="section-with-contents">
+<h2 class="section">1.1 section with contents</h2>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -90,6 +94,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents_abt.html
 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents_abt.html
index 5de87a6..884d623 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents_abt.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/double_contents_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="index.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="index.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/index.html
 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/index.html
index a67c1d1..196e934 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/index.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_book_chapter/index.html
@@ -50,7 +50,8 @@ ul.no-bullet {list-style: none}
 <hr>
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html#chapter" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -58,7 +59,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Double-contents"></span><h1 class="top">Double contents</h1>
+<div class="node" id="Double-contents">
+<h1 class="top">Double contents</h1>
 
 <p>Double contents.
 </p>
@@ -67,7 +69,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html#chapter" title="Next 
section in reading order"> &gt; </a>]</td>
@@ -76,6 +78,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_no_texi2html/chapter.html
 
b/tp/tests/contents/res_parser/double_contents_after_title_no_texi2html/chapter.html
index c4d2542..449a61f 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_no_texi2html/chapter.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_no_texi2html/chapter.html
@@ -38,12 +38,14 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><div class="header">
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Previous: <a href="index.html" accesskey="p" rel="prev">Double contents</a>, 
Up: <a href="index.html" accesskey="u" rel="up">Double contents</a> &nbsp; [<a 
href="index.html#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
 <hr>
-<span id="Chapter-1"></span><h2 class="chapter">1 Chapter 1</h2>
+<div class="node" id="Chapter-1">
+<h2 class="chapter">1 Chapter 1</h2>
 
 <p>The chapter
 </p>
@@ -51,6 +53,7 @@ Previous: <a href="index.html" accesskey="p" 
rel="prev">Double contents</a>, Up:
 <ul class="section-toc">
 <li><a href="section.html" accesskey="1">section with contents</a></li>
 </ul>
+</div></div>
 
 
 
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_no_texi2html/index.html
 
b/tp/tests/contents/res_parser/double_contents_after_title_no_texi2html/index.html
index 1c7ab22..77e5ae2 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_no_texi2html/index.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_no_texi2html/index.html
@@ -53,12 +53,14 @@ ul.no-bullet {list-style: none}
 <hr>
 
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="chapter.html" accesskey="n" rel="next">Chapter 1</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
 <hr>
-<span id="Double-contents"></span><h1 class="top">Double contents</h1>
+<div class="node" id="Double-contents">
+<h1 class="top">Double contents</h1>
 
 <p>Double contents.
 </p>
@@ -66,11 +68,12 @@ Next: <a href="chapter.html" accesskey="n" 
rel="next">Chapter 1</a> &nbsp; [<a h
 <ul class="section-toc">
 <li><a href="chapter.html" accesskey="1">Chapter 1</a></li>
 </ul>
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="chapter.html" accesskey="n" rel="next">Chapter 1</a> &nbsp; [<a 
href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>]</p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/tests/contents/res_parser/double_contents_after_title_no_texi2html/section.html
 
b/tp/tests/contents/res_parser/double_contents_after_title_no_texi2html/section.html
index ff1739e..5c2734a 100644
--- 
a/tp/tests/contents/res_parser/double_contents_after_title_no_texi2html/section.html
+++ 
b/tp/tests/contents/res_parser/double_contents_after_title_no_texi2html/section.html
@@ -37,13 +37,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section"></span><div class="header">
+<div class="section" id="section">
+<div class="header">
 <p>
 Up: <a href="chapter.html" accesskey="u" rel="up">Chapter 1</a> &nbsp; [<a 
href="index.html#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
 <hr>
-<span id="section-with-contents"></span><h3 class="section">1.1 section with 
contents</h3>
+<div class="node" id="section-with-contents">
+<h3 class="section">1.1 section with contents</h3>
 
+</div></div>
 
 
 
diff --git 
a/tp/tests/contents/res_parser/double_contents_book/double_contents.html 
b/tp/tests/contents/res_parser/double_contents_book/double_contents.html
index 0bd0d9e..6149c30 100644
--- a/tp/tests/contents/res_parser/double_contents_book/double_contents.html
+++ b/tp/tests/contents/res_parser/double_contents_book/double_contents.html
@@ -123,7 +123,7 @@ ul.no-bullet {list-style: none}
 
 
 <hr>
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
 <td valign="middle" align="left">[Index]</td>
@@ -207,7 +207,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/contents/res_parser/double_contents_chapter/chapter.html 
b/tp/tests/contents/res_parser/double_contents_chapter/chapter.html
index 063023e..89d1d8b 100644
--- a/tp/tests/contents/res_parser/double_contents_chapter/chapter.html
+++ b/tp/tests/contents/res_parser/double_contents_chapter/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
@@ -58,8 +60,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -74,9 +77,10 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="section-with-contents"></span><h2 class="section">1.1 section with 
contents</h2>
+<div class="node" id="section-with-contents">
+<h2 class="section">1.1 section with contents</h2>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -90,6 +94,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_chapter/double_contents_abt.html 
b/tp/tests/contents/res_parser/double_contents_chapter/double_contents_abt.html
index 1f5bc2f..302513f 100644
--- 
a/tp/tests/contents/res_parser/double_contents_chapter/double_contents_abt.html
+++ 
b/tp/tests/contents/res_parser/double_contents_chapter/double_contents_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="double_contents_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="double_contents_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/contents/res_parser/double_contents_chapter/double_contents_toc.html 
b/tp/tests/contents/res_parser/double_contents_chapter/double_contents_toc.html
index 5f5f9eb..be5a22a 100644
--- 
a/tp/tests/contents/res_parser/double_contents_chapter/double_contents_toc.html
+++ 
b/tp/tests/contents/res_parser/double_contents_chapter/double_contents_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -52,7 +52,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/tests/contents/res_parser/double_contents_chapter/index.html 
b/tp/tests/contents/res_parser/double_contents_chapter/index.html
index 4d0f066..2be7f20 100644
--- a/tp/tests/contents/res_parser/double_contents_chapter/index.html
+++ b/tp/tests/contents/res_parser/double_contents_chapter/index.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html#chapter" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,7 +45,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Double-contents"></span><h1 class="top">Double contents</h1>
+<div class="node" id="Double-contents">
+<h1 class="top">Double contents</h1>
 
 <p>Double contents.
 </p>
@@ -53,7 +55,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html#chapter" title="Next 
section in reading order"> &gt; </a>]</td>
@@ -62,6 +64,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_inline/double_contents.html 
b/tp/tests/contents/res_parser/double_contents_inline/double_contents.html
index fddd153..7917ed5 100644
--- a/tp/tests/contents/res_parser/double_contents_inline/double_contents.html
+++ b/tp/tests/contents/res_parser/double_contents_inline/double_contents.html
@@ -49,7 +49,8 @@ ul.no-bullet {list-style: none}
 </div>
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -57,7 +58,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Double-contents"></span><h1 class="top">Double contents</h1>
+<div class="node" id="Double-contents">
+<h1 class="top">Double contents</h1>
 
 <p>Double contents.
 </p>
@@ -66,8 +68,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -82,7 +85,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <span id="SEC_Contents"></span>
 <h1 class="contents-heading">Table of Contents</h1>
@@ -104,8 +108,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -120,7 +125,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="section-with-contents"></span><h2 class="section">1.1 section with 
contents</h2>
+<div class="node" id="section-with-contents">
+<h2 class="section">1.1 section with contents</h2>
 <span id="SEC_Contents"></span>
 <h1 class="contents-heading">Table of Contents</h1>
 
@@ -135,8 +141,11 @@ ul.no-bullet {list-style: none}
 </div>
 
 
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -245,7 +254,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_inline_chapter/chapter.html 
b/tp/tests/contents/res_parser/double_contents_inline_chapter/chapter.html
index 980fe33..47dae13 100644
--- a/tp/tests/contents/res_parser/double_contents_inline_chapter/chapter.html
+++ b/tp/tests/contents/res_parser/double_contents_inline_chapter/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <span id="SEC_Contents"></span>
 <h1 class="contents-heading">Table of Contents</h1>
@@ -71,8 +73,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -87,7 +90,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="section-with-contents"></span><h2 class="section">1.1 section with 
contents</h2>
+<div class="node" id="section-with-contents">
+<h2 class="section">1.1 section with contents</h2>
 <span id="SEC_Contents"></span>
 <h1 class="contents-heading">Table of Contents</h1>
 
@@ -102,7 +106,7 @@ ul.no-bullet {list-style: none}
 </div>
 
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -116,6 +120,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_inline_chapter/double_contents_abt.html
 
b/tp/tests/contents/res_parser/double_contents_inline_chapter/double_contents_abt.html
index 5de87a6..884d623 100644
--- 
a/tp/tests/contents/res_parser/double_contents_inline_chapter/double_contents_abt.html
+++ 
b/tp/tests/contents/res_parser/double_contents_inline_chapter/double_contents_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="index.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="index.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git 
a/tp/tests/contents/res_parser/double_contents_inline_chapter/index.html 
b/tp/tests/contents/res_parser/double_contents_inline_chapter/index.html
index a1b863c..44b5985 100644
--- a/tp/tests/contents/res_parser/double_contents_inline_chapter/index.html
+++ b/tp/tests/contents/res_parser/double_contents_inline_chapter/index.html
@@ -49,7 +49,8 @@ ul.no-bullet {list-style: none}
 </div>
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html#chapter" title="Next 
section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -57,7 +58,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Double-contents"></span><h1 class="top">Double contents</h1>
+<div class="node" id="Double-contents">
+<h1 class="top">Double contents</h1>
 
 <p>Double contents.
 </p>
@@ -66,7 +68,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html#chapter" title="Next 
section in reading order"> &gt; </a>]</td>
@@ -75,6 +77,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_inline_nodes/chapter.html 
b/tp/tests/contents/res_parser/double_contents_inline_nodes/chapter.html
index d8a4c3d..9ef22d7 100644
--- a/tp/tests/contents/res_parser/double_contents_inline_nodes/chapter.html
+++ b/tp/tests/contents/res_parser/double_contents_inline_nodes/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -50,7 +51,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <span id="SEC_Contents"></span>
 <h1 class="contents-heading">Table of Contents</h1>
@@ -72,7 +74,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_inline_nodes/double_contents_abt.html
 
b/tp/tests/contents/res_parser/double_contents_inline_nodes/double_contents_abt.html
index 78530d1..1350112 100644
--- 
a/tp/tests/contents/res_parser/double_contents_inline_nodes/double_contents_abt.html
+++ 
b/tp/tests/contents/res_parser/double_contents_inline_nodes/double_contents_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="index.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -144,7 +144,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="index.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git 
a/tp/tests/contents/res_parser/double_contents_inline_nodes/index.html 
b/tp/tests/contents/res_parser/double_contents_inline_nodes/index.html
index 594db8a..8ccbbfd 100644
--- a/tp/tests/contents/res_parser/double_contents_inline_nodes/index.html
+++ b/tp/tests/contents/res_parser/double_contents_inline_nodes/index.html
@@ -49,7 +49,8 @@ ul.no-bullet {list-style: none}
 </div>
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -58,7 +59,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Double-contents"></span><h1 class="top">Double contents</h1>
+<div class="node" id="Double-contents">
+<h1 class="top">Double contents</h1>
 
 <p>Double contents.
 </p>
@@ -67,7 +69,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -76,6 +78,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_inline_nodes/section.html 
b/tp/tests/contents/res_parser/double_contents_inline_nodes/section.html
index f4041f3..b28bdea 100644
--- a/tp/tests/contents/res_parser/double_contents_inline_nodes/section.html
+++ b/tp/tests/contents/res_parser/double_contents_inline_nodes/section.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Up section"> 
Up </a>]</td>
@@ -50,7 +51,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="section-with-contents"></span><h2 class="section">1.1 section with 
contents</h2>
+<div class="node" id="section-with-contents">
+<h2 class="section">1.1 section with contents</h2>
 <span id="SEC_Contents"></span>
 <h1 class="contents-heading">Table of Contents</h1>
 
@@ -65,7 +67,8 @@ ul.no-bullet {list-style: none}
 </div>
 
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_inline_section/chapter.html 
b/tp/tests/contents/res_parser/double_contents_inline_section/chapter.html
index de994db..f5babee 100644
--- a/tp/tests/contents/res_parser/double_contents_inline_section/chapter.html
+++ b/tp/tests/contents/res_parser/double_contents_inline_section/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <span id="SEC_Contents"></span>
 <h1 class="contents-heading">Table of Contents</h1>
@@ -71,7 +73,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
@@ -79,6 +81,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="section.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_inline_section/double_contents_abt.html
 
b/tp/tests/contents/res_parser/double_contents_inline_section/double_contents_abt.html
index 5de87a6..884d623 100644
--- 
a/tp/tests/contents/res_parser/double_contents_inline_section/double_contents_abt.html
+++ 
b/tp/tests/contents/res_parser/double_contents_inline_section/double_contents_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="index.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="index.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git 
a/tp/tests/contents/res_parser/double_contents_inline_section/index.html 
b/tp/tests/contents/res_parser/double_contents_inline_section/index.html
index 5ea632c..c535eae 100644
--- a/tp/tests/contents/res_parser/double_contents_inline_section/index.html
+++ b/tp/tests/contents/res_parser/double_contents_inline_section/index.html
@@ -49,7 +49,8 @@ ul.no-bullet {list-style: none}
 </div>
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -57,7 +58,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Double-contents"></span><h1 class="top">Double contents</h1>
+<div class="node" id="Double-contents">
+<h1 class="top">Double contents</h1>
 
 <p>Double contents.
 </p>
@@ -66,7 +68,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -75,6 +77,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_inline_section/section.html 
b/tp/tests/contents/res_parser/double_contents_inline_section/section.html
index 83a0853..8530d38 100644
--- a/tp/tests/contents/res_parser/double_contents_inline_section/section.html
+++ b/tp/tests/contents/res_parser/double_contents_inline_section/section.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Up section"> 
Up </a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="section-with-contents"></span><h2 class="section">1.1 section with 
contents</h2>
+<div class="node" id="section-with-contents">
+<h2 class="section">1.1 section with contents</h2>
 <span id="SEC_Contents"></span>
 <h1 class="contents-heading">Table of Contents</h1>
 
@@ -64,7 +66,7 @@ ul.no-bullet {list-style: none}
 </div>
 
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
@@ -72,6 +74,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[ &gt; ]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/contents/res_parser/double_contents_nodes/chapter.html 
b/tp/tests/contents/res_parser/double_contents_nodes/chapter.html
index 38d6bcf..3bc498f 100644
--- a/tp/tests/contents/res_parser/double_contents_nodes/chapter.html
+++ b/tp/tests/contents/res_parser/double_contents_nodes/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -50,7 +51,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
@@ -59,7 +61,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_nodes/double_contents_abt.html 
b/tp/tests/contents/res_parser/double_contents_nodes/double_contents_abt.html
index b7247a8..6284823 100644
--- 
a/tp/tests/contents/res_parser/double_contents_nodes/double_contents_abt.html
+++ 
b/tp/tests/contents/res_parser/double_contents_nodes/double_contents_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="double_contents_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -144,7 +144,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="double_contents_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/contents/res_parser/double_contents_nodes/double_contents_toc.html 
b/tp/tests/contents/res_parser/double_contents_nodes/double_contents_toc.html
index 172d051..cdd9498 100644
--- 
a/tp/tests/contents/res_parser/double_contents_nodes/double_contents_toc.html
+++ 
b/tp/tests/contents/res_parser/double_contents_nodes/double_contents_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -53,7 +53,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/tests/contents/res_parser/double_contents_nodes/index.html 
b/tp/tests/contents/res_parser/double_contents_nodes/index.html
index 264b7fc..e62b3a0 100644
--- a/tp/tests/contents/res_parser/double_contents_nodes/index.html
+++ b/tp/tests/contents/res_parser/double_contents_nodes/index.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -45,7 +46,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Double-contents"></span><h1 class="top">Double contents</h1>
+<div class="node" id="Double-contents">
+<h1 class="top">Double contents</h1>
 
 <p>Double contents.
 </p>
@@ -54,7 +56,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -63,6 +65,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/contents/res_parser/double_contents_nodes/section.html 
b/tp/tests/contents/res_parser/double_contents_nodes/section.html
index 6650065..873b9f8 100644
--- a/tp/tests/contents/res_parser/double_contents_nodes/section.html
+++ b/tp/tests/contents/res_parser/double_contents_nodes/section.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Up section"> 
Up </a>]</td>
@@ -50,9 +51,11 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="section-with-contents"></span><h2 class="section">1.1 section with 
contents</h2>
+<div class="node" id="section-with-contents">
+<h2 class="section">1.1 section with contents</h2>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/contents/res_parser/double_contents_section/chapter.html 
b/tp/tests/contents/res_parser/double_contents_section/chapter.html
index d57f729..e84d608 100644
--- a/tp/tests/contents/res_parser/double_contents_section/chapter.html
+++ b/tp/tests/contents/res_parser/double_contents_section/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
@@ -58,7 +60,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
@@ -66,6 +68,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="section.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/double_contents_section/double_contents_abt.html 
b/tp/tests/contents/res_parser/double_contents_section/double_contents_abt.html
index 1f5bc2f..302513f 100644
--- 
a/tp/tests/contents/res_parser/double_contents_section/double_contents_abt.html
+++ 
b/tp/tests/contents/res_parser/double_contents_section/double_contents_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="double_contents_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="double_contents_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/contents/res_parser/double_contents_section/double_contents_toc.html 
b/tp/tests/contents/res_parser/double_contents_section/double_contents_toc.html
index de6566c..041d5e3 100644
--- 
a/tp/tests/contents/res_parser/double_contents_section/double_contents_toc.html
+++ 
b/tp/tests/contents/res_parser/double_contents_section/double_contents_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -52,7 +52,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/tests/contents/res_parser/double_contents_section/index.html 
b/tp/tests/contents/res_parser/double_contents_section/index.html
index a33d1aa..fde9ddf 100644
--- a/tp/tests/contents/res_parser/double_contents_section/index.html
+++ b/tp/tests/contents/res_parser/double_contents_section/index.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,7 +45,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Double-contents"></span><h1 class="top">Double contents</h1>
+<div class="node" id="Double-contents">
+<h1 class="top">Double contents</h1>
 
 <p>Double contents.
 </p>
@@ -53,7 +55,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -62,6 +64,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/contents/res_parser/double_contents_section/section.html 
b/tp/tests/contents/res_parser/double_contents_section/section.html
index c4f0dc1..74070c1 100644
--- a/tp/tests/contents/res_parser/double_contents_section/section.html
+++ b/tp/tests/contents/res_parser/double_contents_section/section.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Up section"> 
Up </a>]</td>
@@ -49,9 +50,10 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="double_contents_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="section-with-contents"></span><h2 class="section">1.1 section with 
contents</h2>
+<div class="node" id="section-with-contents">
+<h2 class="section">1.1 section with contents</h2>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
@@ -59,6 +61,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[ &gt; ]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/contents/res_parser/no_content/no_content.html 
b/tp/tests/contents/res_parser/no_content/no_content.html
index 885585f..6ffa4ef 100644
--- a/tp/tests/contents/res_parser/no_content/no_content.html
+++ b/tp/tests/contents/res_parser/no_content/no_content.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="No-ccontent"></span><h1 class="top">No ccontent</h1>
+<div class="node" id="No-ccontent">
+<h1 class="top">No ccontent</h1>
 
 <p>No content.
 </p>
@@ -52,8 +54,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -68,12 +71,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -182,7 +188,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/no_content_do_contents/no_content.html 
b/tp/tests/contents/res_parser/no_content_do_contents/no_content.html
index bc978c3..b4f22e0 100644
--- a/tp/tests/contents/res_parser/no_content_do_contents/no_content.html
+++ b/tp/tests/contents/res_parser/no_content_do_contents/no_content.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="No-ccontent"></span><h1 class="top">No ccontent</h1>
+<div class="node" id="No-ccontent">
+<h1 class="top">No ccontent</h1>
 
 <p>No content.
 </p>
@@ -52,8 +54,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -68,12 +71,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
-<hr size="6">
-<span id="SEC_Contents"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -88,8 +94,8 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-Chapter-1" href="#chapter">1 Chapter 1</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -198,7 +204,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/no_content_do_contents_inline/no_content.html 
b/tp/tests/contents/res_parser/no_content_do_contents_inline/no_content.html
index 885585f..6ffa4ef 100644
--- a/tp/tests/contents/res_parser/no_content_do_contents_inline/no_content.html
+++ b/tp/tests/contents/res_parser/no_content_do_contents_inline/no_content.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="No-ccontent"></span><h1 class="top">No ccontent</h1>
+<div class="node" id="No-ccontent">
+<h1 class="top">No ccontent</h1>
 
 <p>No content.
 </p>
@@ -52,8 +54,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -68,12 +71,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -182,7 +188,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/contents/res_parser/no_content_inline/no_content.html 
b/tp/tests/contents/res_parser/no_content_inline/no_content.html
index 885585f..6ffa4ef 100644
--- a/tp/tests/contents/res_parser/no_content_inline/no_content.html
+++ b/tp/tests/contents/res_parser/no_content_inline/no_content.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="No-ccontent"></span><h1 class="top">No ccontent</h1>
+<div class="node" id="No-ccontent">
+<h1 class="top">No ccontent</h1>
 
 <p>No content.
 </p>
@@ -52,8 +54,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -68,12 +71,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -182,7 +188,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/no_content_setcatpage/no_content_setcatpage.html 
b/tp/tests/contents/res_parser/no_content_setcatpage/no_content_setcatpage.html
index 885585f..6ffa4ef 100644
--- 
a/tp/tests/contents/res_parser/no_content_setcatpage/no_content_setcatpage.html
+++ 
b/tp/tests/contents/res_parser/no_content_setcatpage/no_content_setcatpage.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="No-ccontent"></span><h1 class="top">No ccontent</h1>
+<div class="node" id="No-ccontent">
+<h1 class="top">No ccontent</h1>
 
 <p>No content.
 </p>
@@ -52,8 +54,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -68,12 +71,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -182,7 +188,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/no_content_setcatpage_do_contents/no_content_setcatpage.html
 
b/tp/tests/contents/res_parser/no_content_setcatpage_do_contents/no_content_setcatpage.html
index bc978c3..b4f22e0 100644
--- 
a/tp/tests/contents/res_parser/no_content_setcatpage_do_contents/no_content_setcatpage.html
+++ 
b/tp/tests/contents/res_parser/no_content_setcatpage_do_contents/no_content_setcatpage.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="No-ccontent"></span><h1 class="top">No ccontent</h1>
+<div class="node" id="No-ccontent">
+<h1 class="top">No ccontent</h1>
 
 <p>No content.
 </p>
@@ -52,8 +54,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -68,12 +71,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
-<hr size="6">
-<span id="SEC_Contents"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -88,8 +94,8 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-Chapter-1" href="#chapter">1 Chapter 1</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -198,7 +204,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/no_content_setcatpage_do_contents_inline/no_content_setcatpage.html
 
b/tp/tests/contents/res_parser/no_content_setcatpage_do_contents_inline/no_content_setcatpage.html
index 885585f..6ffa4ef 100644
--- 
a/tp/tests/contents/res_parser/no_content_setcatpage_do_contents_inline/no_content_setcatpage.html
+++ 
b/tp/tests/contents/res_parser/no_content_setcatpage_do_contents_inline/no_content_setcatpage.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="No-ccontent"></span><h1 class="top">No ccontent</h1>
+<div class="node" id="No-ccontent">
+<h1 class="top">No ccontent</h1>
 
 <p>No content.
 </p>
@@ -52,8 +54,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -68,12 +71,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -182,7 +188,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/contents/res_parser/no_content_setcatpage_inline/no_content_setcatpage.html
 
b/tp/tests/contents/res_parser/no_content_setcatpage_inline/no_content_setcatpage.html
index 885585f..6ffa4ef 100644
--- 
a/tp/tests/contents/res_parser/no_content_setcatpage_inline/no_content_setcatpage.html
+++ 
b/tp/tests/contents/res_parser/no_content_setcatpage_inline/no_content_setcatpage.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="No-ccontent"></span><h1 class="top">No ccontent</h1>
+<div class="node" id="No-ccontent">
+<h1 class="top">No ccontent</h1>
 
 <p>No content.
 </p>
@@ -52,8 +54,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -68,12 +71,15 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter-1"></span><h1 class="chapter">1 Chapter 1</h1>
+<div class="node" id="Chapter-1">
+<h1 class="chapter">1 Chapter 1</h1>
 
 <p>The chapter
 </p>
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -182,7 +188,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/formatting/res_parser/simplest_test_css/simplest.html 
b/tp/tests/formatting/res_parser/simplest_test_css/simplest.html
index 3897439..ddb3d84 100644
--- a/tp/tests/formatting/res_parser/simplest_test_css/simplest.html
+++ b/tp/tests/formatting/res_parser/simplest_test_css/simplest.html
@@ -47,10 +47,11 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span>
+<div class="node" id="Top">
+
 <p>This is a very simple texi manual &nbsp; &lt;&gt;.
 </p>
-<hr>
+</div><hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/formatting/res_parser/test_redefine_need/test_need.html 
b/tp/tests/formatting/res_parser/test_redefine_need/test_need.html
index 8157f9c..7e1a63f 100644
--- a/tp/tests/formatting/res_parser/test_redefine_need/test_need.html
+++ b/tp/tests/formatting/res_parser/test_redefine_need/test_need.html
@@ -35,13 +35,16 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span id="Test-need"></span><h1 class="top">Test 
need</h1>
+<div class="top" id="Top">
+<div class="node" id="Test-need">
+<h1 class="top">Test need</h1>
 
 <p>@need <!-- need: 0.1 on line following -->
 @need <!-- need: 0.1 -->
 </p>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/index_and_node_same_name/index_and_node_same_name.html
 
b/tp/tests/indices/res_parser/index_and_node_same_name/index_and_node_same_name.html
index ce83b63..4f581f3 100644
--- 
a/tp/tests/indices/res_parser/index_and_node_same_name/index_and_node_same_name.html
+++ 
b/tp/tests/indices/res_parser/index_and_node_same_name/index_and_node_same_name.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#index-node" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#index-node" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Test-index-entry-with-node-name-clash"></span><h1 class="top">Test 
index entry with node name clash</h1>
+<div class="node" id="Test-index-entry-with-node-name-clash">
+<h1 class="top">Test index entry with node name clash</h1>
 
 <p>Text.
 </p>
@@ -54,8 +56,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="index-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="index-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -70,7 +73,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#index-node" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="index-node-1"></span><h1 class="chapter">1 index node</h1>
+<div class="node" id="index-node-1">
+<h1 class="chapter">1 index node</h1>
 
 <p>in index node node, with the same (croo_ref) name than index entry.
 </p>
@@ -88,8 +92,10 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -198,7 +204,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/index_entry_in_footnote/index_entry_in_footnote.html
 
b/tp/tests/indices/res_parser/index_entry_in_footnote/index_entry_in_footnote.html
index 2e2ded6..d41a3ec 100644
--- 
a/tp/tests/indices/res_parser/index_entry_in_footnote/index_entry_in_footnote.html
+++ 
b/tp/tests/indices/res_parser/index_entry_in_footnote/index_entry_in_footnote.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#Index" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#Index" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="index_005fentry_005fin_005ffootnote"></span><h1 
class="top">index_entry_in_footnote</h1>
+<div class="node" id="index_005fentry_005fin_005ffootnote">
+<h1 class="top">index_entry_in_footnote</h1>
 
 <p>Top node<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
@@ -52,8 +54,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="Index"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr size="6">
+<div class="appendix" id="Index">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -68,7 +71,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#Index" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="index"></span><h1 class="appendix">Appendix A index</h1>
+<div class="node" id="index">
+<h1 class="appendix">Appendix A index</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#index_cp_letter-I"><b>I</b></a>
  &nbsp; 
@@ -84,8 +88,10 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr size="6">
-<span id="SEC_Foot"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -100,8 +106,8 @@ ul.no-bullet {list-style: none}
 <p>Another para in footnote.
 <span id="index-index-entry-in-footnote"></span>
 </p>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -210,7 +216,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/index_no_node_no_top/index_no_node_no_top.html 
b/tp/tests/indices/res_parser/index_no_node_no_top/index_no_node_no_top.html
index c424903..c6434c9 100644
--- a/tp/tests/indices/res_parser/index_no_node_no_top/index_no_node_no_top.html
+++ b/tp/tests/indices/res_parser/index_no_node_no_top/index_no_node_no_top.html
@@ -83,7 +83,8 @@ ul.no-bullet {list-style: none}
 </td></tr></table>
 
 
-<span id="unnumbered"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="unnumbered" id="unnumbered">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[ Up ]</td>
@@ -149,8 +150,9 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
-<span id="top-_0028chapter_0029-section"></span><table class="header" 
cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+<div class="unnumbered" id="top-_0028chapter_0029-section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#unnumbered" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#unnumbered" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[ Up ]</td>
@@ -223,8 +225,9 @@ ul.no-bullet {list-style: none}
 <span id="index-top-section1"></span>
 
 
-<hr>
-<span id="second"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr>
+<div class="section" id="second">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#top-_0028chapter_0029-section" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#top-_0028chapter_0029-section" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#top-_0028chapter_0029-section" 
title="Up section"> Up </a>]</td>
@@ -333,8 +336,9 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#second_cp_letter-U"><b>U</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
-<span id="Chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="chapter" id="Chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#top-_0028chapter_0029-section" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#second" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[ Up ]</td>
@@ -399,8 +403,9 @@ ul.no-bullet {list-style: none}
 <p>Text of chapter
 <span id="index-Chapter2"></span>
 </p>
-<hr>
-<span id="Chapter-2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="chapter" id="Chapter-2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[ Up ]</td>
@@ -419,8 +424,8 @@ ul.no-bullet {list-style: none}
 
 <p>In chapter 2
 </p>
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#unnumbered" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -529,7 +534,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/indices/res_parser/index_nodes/index_nodes.html 
b/tp/tests/indices/res_parser/index_nodes/index_nodes.html
index c37a442..96f9bc2 100644
--- a/tp/tests/indices/res_parser/index_nodes/index_nodes.html
+++ b/tp/tests/indices/res_parser/index_nodes/index_nodes.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span id="index-entry-a"></span>
+<div class="node" id="Top">
+<span id="index-entry-a"></span>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_symbol-1"><b>!</b></a>
  &nbsp; 
@@ -154,7 +155,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="first"></span><p>Text and then index entries
+</div><div class="node" id="first">
+<p>Text and then index entries
 <span id="index-entry-in-node"></span>
 <span id="index-_0021-entry-in-node"></span>
 <span id="index-fun-in-node"></span>
@@ -206,7 +208,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="second"></span><table class="menu" border="0" cellspacing="0">
+</div><div class="node" id="second">
+<table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="#a-node" rel="index">a 
node</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 <tr><td align="left" valign="top">&bull; <a 
href="#another">another</a></td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
@@ -241,12 +244,14 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="another"></span>
+</div><div class="node" id="another">
+
 <span id="index-something"></span>
 <span id="index-somewhere"></span>
 <span id="index-another"></span>
 
-<span id="a-node"></span><span id="index-entry-after-printindex"></span>
+</div><div class="node" id="a-node">
+<span id="index-entry-after-printindex"></span>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_symbol-1"><b>!</b></a>
  &nbsp; 
@@ -333,7 +338,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/indices/res_parser/index_nodes_nodes/a-node.html 
b/tp/tests/indices/res_parser/index_nodes_nodes/a-node.html
index 09e1bfa..14652d4 100644
--- a/tp/tests/indices/res_parser/index_nodes_nodes/a-node.html
+++ b/tp/tests/indices/res_parser/index_nodes_nodes/a-node.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="a-node"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="node" id="a-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="another.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="second.html" title="Up section"> Up 
</a>]</td>
@@ -138,7 +139,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="another.html" title="Previous 
section in reading order"> &lt; </a>]</td>
diff --git a/tp/tests/indices/res_parser/index_nodes_nodes/another.html 
b/tp/tests/indices/res_parser/index_nodes_nodes/another.html
index 7dcd582..84ce262 100644
--- a/tp/tests/indices/res_parser/index_nodes_nodes/another.html
+++ b/tp/tests/indices/res_parser/index_nodes_nodes/another.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="another"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="another">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="second.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="second.html" title="Up section"> Up 
</a>]</td>
@@ -56,7 +57,7 @@ ul.no-bullet {list-style: none}
 <span id="index-somewhere"></span>
 <span id="index-another"></span>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/indices/res_parser/index_nodes_nodes/first.html 
b/tp/tests/indices/res_parser/index_nodes_nodes/first.html
index 85884ff..4f9c290 100644
--- a/tp/tests/indices/res_parser/index_nodes_nodes/first.html
+++ b/tp/tests/indices/res_parser/index_nodes_nodes/first.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="first"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="node" id="first">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -103,7 +104,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/indices/res_parser/index_nodes_nodes/index.html 
b/tp/tests/indices/res_parser/index_nodes_nodes/index.html
index bce02c6..e01f587 100644
--- a/tp/tests/indices/res_parser/index_nodes_nodes/index.html
+++ b/tp/tests/indices/res_parser/index_nodes_nodes/index.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="node" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -164,7 +165,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Next section in 
reading order"> &gt; </a>]</td>
diff --git a/tp/tests/indices/res_parser/index_nodes_nodes/index_nodes_abt.html 
b/tp/tests/indices/res_parser/index_nodes_nodes/index_nodes_abt.html
index 9e8cd21..7c1dee3 100644
--- a/tp/tests/indices/res_parser/index_nodes_nodes/index_nodes_abt.html
+++ b/tp/tests/indices/res_parser/index_nodes_nodes/index_nodes_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -144,7 +144,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git a/tp/tests/indices/res_parser/index_nodes_nodes/second.html 
b/tp/tests/indices/res_parser/index_nodes_nodes/second.html
index ddad382..e190a7c 100644
--- a/tp/tests/indices/res_parser/index_nodes_nodes/second.html
+++ b/tp/tests/indices/res_parser/index_nodes_nodes/second.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="second"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="node" id="second">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="first.html" title="Up section"> Up 
</a>]</td>
@@ -86,7 +87,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/indices/res_parser/index_one_node/index_one_node.html 
b/tp/tests/indices/res_parser/index_one_node/index_one_node.html
index 91cef1b..1c94428 100644
--- a/tp/tests/indices/res_parser/index_one_node/index_one_node.html
+++ b/tp/tests/indices/res_parser/index_one_node/index_one_node.html
@@ -38,7 +38,8 @@ ul.no-bullet {list-style: none}
 <p>Garbage
 <span id="index-before-nodes"></span>
 </p>
-<span id="one-node"></span><p>Top node
+<div class="node" id="one-node">
+<p>Top node
 <span id="index-Top-node"></span>
 </p>
 <p>anchor ref <span id="ref"></span>.
@@ -74,7 +75,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/indices/res_parser/index_special_region/Chapter.html 
b/tp/tests/indices/res_parser/index_special_region/Chapter.html
index 863aed8..ef70352 100644
--- a/tp/tests/indices/res_parser/index_special_region/Chapter.html
+++ b/tp/tests/indices/res_parser/index_special_region/Chapter.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="Chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -114,7 +115,7 @@ and titlepage, and various wrong index entries.
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Copying-and-indices.html" 
title="Next chapter"> &gt;&gt; </a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region/Copying-and-indices.html 
b/tp/tests/indices/res_parser/index_special_region/Copying-and-indices.html
index 1a9d43d..ab2c375 100644
--- a/tp/tests/indices/res_parser/index_special_region/Copying-and-indices.html
+++ b/tp/tests/indices/res_parser/index_special_region/Copying-and-indices.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Copying-and-indices"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="appendix" id="Copying-and-indices">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -55,7 +56,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="Chapter.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Copying-and-indices-1"></span><h1 class="appendix">Appendix A 
Copying and indices</h1>
+<div class="node" id="Copying-and-indices-1">
+<h1 class="appendix">Appendix A Copying and indices</h1>
 
 <p>In the appendix, we print the indices and references.
 </p>
@@ -157,7 +159,7 @@ domain<a id="DOCF1_2" 
href="index_special_region_fot.html#FOOT1_2"><sup>2</sup><
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -171,6 +173,7 @@ domain<a id="DOCF1_2" 
href="index_special_region_fot.html#FOOT1_2"><sup>2</sup><
 <td valign="middle" align="left">[<a href="Chapter.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/indices/res_parser/index_special_region/index.html 
b/tp/tests/indices/res_parser/index_special_region/index.html
index 8f4ce23..f368d39 100644
--- a/tp/tests/indices/res_parser/index_special_region/index.html
+++ b/tp/tests/indices/res_parser/index_special_region/index.html
@@ -43,7 +43,8 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -51,8 +52,9 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="Chapter.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Top-1"></span><h1 class="top">Top</h1>
-<hr>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -61,6 +63,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="Chapter.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/index_special_region/index_special_region_abt.html
 
b/tp/tests/indices/res_parser/index_special_region/index_special_region_abt.html
index 645c26e..7dd5f17 100644
--- 
a/tp/tests/indices/res_parser/index_special_region/index_special_region_abt.html
+++ 
b/tp/tests/indices/res_parser/index_special_region/index_special_region_abt.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -149,7 +149,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region/index_special_region_fot.html
 
b/tp/tests/indices/res_parser/index_special_region/index_special_region_fot.html
index 1d6282d..463ac6a 100644
--- 
a/tp/tests/indices/res_parser/index_special_region/index_special_region_fot.html
+++ 
b/tp/tests/indices/res_parser/index_special_region/index_special_region_fot.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Foot"></span>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -59,7 +59,7 @@ domain is something you should allready know
 domain is something you should allready know
 </p>
 <span id="index-copying-Public-domain"></span>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region/index_special_region_toc.html
 
b/tp/tests/indices/res_parser/index_special_region/index_special_region_toc.html
index 5f6337a..dcb85ef 100644
--- 
a/tp/tests/indices/res_parser/index_special_region/index_special_region_toc.html
+++ 
b/tp/tests/indices/res_parser/index_special_region/index_special_region_toc.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -56,7 +56,7 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-Copying-and-indices-1" href="Copying-and-indices.html" 
rel="index">Appendix A Copying and indices</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/tests/indices/res_parser/index_special_region_html/Chapter.html 
b/tp/tests/indices/res_parser/index_special_region_html/Chapter.html
index 3a3e2ab..ae1a581 100644
--- a/tp/tests/indices/res_parser/index_special_region_html/Chapter.html
+++ b/tp/tests/indices/res_parser/index_special_region_html/Chapter.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="Chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -114,7 +115,7 @@ and titlepage, and various wrong index entries.
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Copying-and-indices.html" 
title="Next chapter"> &gt;&gt; </a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_html/Copying-and-indices.html
 
b/tp/tests/indices/res_parser/index_special_region_html/Copying-and-indices.html
index d489d0e..33d35ec 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_html/Copying-and-indices.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_html/Copying-and-indices.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Copying-and-indices"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="appendix" id="Copying-and-indices">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -55,7 +56,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Copying-and-indices-1"></span><h1 class="appendix">Appendix A 
Copying and indices</h1>
+<div class="node" id="Copying-and-indices-1">
+<h1 class="appendix">Appendix A Copying and indices</h1>
 
 <p>In the appendix, we print the indices and references.
 </p>
@@ -157,7 +159,7 @@ domain<a id="DOCF1_4" 
href="index_special_region_fot.html#FOOT1_4"><sup>4</sup><
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -171,6 +173,7 @@ domain<a id="DOCF1_4" 
href="index_special_region_fot.html#FOOT1_4"><sup>4</sup><
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/indices/res_parser/index_special_region_html/index.html 
b/tp/tests/indices/res_parser/index_special_region_html/index.html
index 52ece10..a5d56ab 100644
--- a/tp/tests/indices/res_parser/index_special_region_html/index.html
+++ b/tp/tests/indices/res_parser/index_special_region_html/index.html
@@ -85,7 +85,8 @@ domain<a id="DOCF1" 
href="index_special_region_fot.html#FOOT1"><sup>2</sup></a>.
 
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -93,8 +94,9 @@ domain<a id="DOCF1" 
href="index_special_region_fot.html#FOOT1"><sup>2</sup></a>.
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Top-1"></span><h1 class="top">Top</h1>
-<hr>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -103,6 +105,7 @@ domain<a id="DOCF1" 
href="index_special_region_fot.html#FOOT1"><sup>2</sup></a>.
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_html/index_special_region_abt.html
 
b/tp/tests/indices/res_parser/index_special_region_html/index_special_region_abt.html
index 020c876..0c1bb47 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_html/index_special_region_abt.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_html/index_special_region_abt.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -149,7 +149,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_html/index_special_region_fot.html
 
b/tp/tests/indices/res_parser/index_special_region_html/index_special_region_fot.html
index 6b26d6c..ab64717 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_html/index_special_region_fot.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_html/index_special_region_fot.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Foot"></span>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -68,7 +68,7 @@ domain is something you should allready know
 domain is something you should allready know
 </p>
 <span id="index-copying-Public-domain"></span>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_html/index_special_region_toc.html
 
b/tp/tests/indices/res_parser/index_special_region_html/index_special_region_toc.html
index 3087289..ee03345 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_html/index_special_region_toc.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_html/index_special_region_toc.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -56,7 +56,7 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-Copying-and-indices-1" href="Copying-and-indices.html" 
rel="index">Appendix A Copying and indices</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying/Chapter.html
 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying/Chapter.html
index d65830f..d849aba 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying/Chapter.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying/Chapter.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="Chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -78,7 +79,7 @@ and titlepage, and various wrong index entries.
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Copying-and-indices.html" 
title="Next chapter"> &gt;&gt; </a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying/Copying-and-indices.html
 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying/Copying-and-indices.html
index 5f6da2a..083771c 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying/Copying-and-indices.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying/Copying-and-indices.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Copying-and-indices"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="appendix" id="Copying-and-indices">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -55,7 +56,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_insertcopying_abt.html#SEC_About" title="About 
(help)"> ? </a>]</td>
 </tr></table>
-<span id="Copying-and-indices-1"></span><h1 class="appendix">Appendix A 
Copying and indices</h1>
+<div class="node" id="Copying-and-indices-1">
+<h1 class="appendix">Appendix A Copying and indices</h1>
 
 <p>In the appendix, we print the indices and references.
 </p>
@@ -121,7 +123,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -135,6 +137,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_insertcopying_abt.html#SEC_About" title="About 
(help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying/index.html 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying/index.html
index b7c4185..beeeca8 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying/index.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying/index.html
@@ -43,7 +43,8 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -51,8 +52,9 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_insertcopying_abt.html#SEC_About" title="About 
(help)"> ? </a>]</td>
 </tr></table>
-<span id="Top-1"></span><h1 class="top">Top</h1>
-<hr>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -61,6 +63,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_insertcopying_abt.html#SEC_About" title="About 
(help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying/index_special_region_no_insertcopying_abt.html
 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying/index_special_region_no_insertcopying_abt.html
index 3b2d2dd..f89d4a7 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying/index_special_region_no_insertcopying_abt.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying/index_special_region_no_insertcopying_abt.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_insertcopying_toc.html#SEC_Contents" title="Table 
of contents">Contents</a>]</td>
@@ -149,7 +149,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_insertcopying_toc.html#SEC_Contents" title="Table 
of contents">Contents</a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying/index_special_region_no_insertcopying_toc.html
 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying/index_special_region_no_insertcopying_toc.html
index d591d66..eeacee9 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying/index_special_region_no_insertcopying_toc.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying/index_special_region_no_insertcopying_toc.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -56,7 +56,7 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-Copying-and-indices-1" href="Copying-and-indices.html" 
rel="index">Appendix A Copying and indices</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/Chapter.html
 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/Chapter.html
index a58f21e..59b3842 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/Chapter.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/Chapter.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="Chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -78,7 +79,7 @@ and titlepage, and various wrong index entries.
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Copying-and-indices.html" 
title="Next chapter"> &gt;&gt; </a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/Copying-and-indices.html
 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/Copying-and-indices.html
index f9206b6..039a8b1 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/Copying-and-indices.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/Copying-and-indices.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Copying-and-indices"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="appendix" id="Copying-and-indices">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -55,7 +56,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_insertcopying_abt.html#SEC_About" title="About 
(help)"> ? </a>]</td>
 </tr></table>
-<span id="Copying-and-indices-1"></span><h1 class="appendix">Appendix A 
Copying and indices</h1>
+<div class="node" id="Copying-and-indices-1">
+<h1 class="appendix">Appendix A Copying and indices</h1>
 
 <p>In the appendix, we print the indices and references.
 </p>
@@ -121,7 +123,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -135,6 +137,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_insertcopying_abt.html#SEC_About" title="About 
(help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index.html
 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index.html
index 1887192..a391926 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index.html
@@ -85,7 +85,8 @@ domain<a id="DOCF1" 
href="index_special_region_no_insertcopying_fot.html#FOOT1">
 
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -93,8 +94,9 @@ domain<a id="DOCF1" 
href="index_special_region_no_insertcopying_fot.html#FOOT1">
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_insertcopying_abt.html#SEC_About" title="About 
(help)"> ? </a>]</td>
 </tr></table>
-<span id="Top-1"></span><h1 class="top">Top</h1>
-<hr>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -103,6 +105,7 @@ domain<a id="DOCF1" 
href="index_special_region_no_insertcopying_fot.html#FOOT1">
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_insertcopying_abt.html#SEC_About" title="About 
(help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index_special_region_no_insertcopying_abt.html
 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index_special_region_no_insertcopying_abt.html
index 73da846..0fd00e7 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index_special_region_no_insertcopying_abt.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index_special_region_no_insertcopying_abt.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_insertcopying_toc.html#SEC_Contents" title="Table 
of contents">Contents</a>]</td>
@@ -149,7 +149,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_insertcopying_toc.html#SEC_Contents" title="Table 
of contents">Contents</a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index_special_region_no_insertcopying_fot.html
 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index_special_region_no_insertcopying_fot.html
index bff8590..28f3b6e 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index_special_region_no_insertcopying_fot.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index_special_region_no_insertcopying_fot.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Foot"></span>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_insertcopying_toc.html#SEC_Contents" title="Table 
of contents">Contents</a>]</td>
@@ -58,7 +58,7 @@ ul.no-bullet {list-style: none}
 domain is something you should allready know
 </p>
 <span id="index-copying-Public-domain"></span>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_insertcopying_toc.html#SEC_Contents" title="Table 
of contents">Contents</a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index_special_region_no_insertcopying_toc.html
 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index_special_region_no_insertcopying_toc.html
index d696c96..f675eeb 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index_special_region_no_insertcopying_toc.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_insertcopying_html/index_special_region_no_insertcopying_toc.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -56,7 +56,7 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-Copying-and-indices-1" href="Copying-and-indices.html" 
rel="index">Appendix A Copying and indices</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_region/Chapter.html 
b/tp/tests/indices/res_parser/index_special_region_no_region/Chapter.html
index b76be75..984cf9f 100644
--- a/tp/tests/indices/res_parser/index_special_region_no_region/Chapter.html
+++ b/tp/tests/indices/res_parser/index_special_region_no_region/Chapter.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="Chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -78,7 +79,7 @@ and titlepage, and various wrong index entries.
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Copying-and-indices.html" 
title="Next chapter"> &gt;&gt; </a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_region/Copying-and-indices.html
 
b/tp/tests/indices/res_parser/index_special_region_no_region/Copying-and-indices.html
index a174b78..188efe7 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_region/Copying-and-indices.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_region/Copying-and-indices.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Copying-and-indices"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="appendix" id="Copying-and-indices">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -55,7 +56,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_region_abt.html#SEC_About" title="About (help)"> 
? </a>]</td>
 </tr></table>
-<span id="Copying-and-indices-1"></span><h1 class="appendix">Appendix A 
Copying and indices</h1>
+<div class="node" id="Copying-and-indices-1">
+<h1 class="appendix">Appendix A Copying and indices</h1>
 
 <p>In the appendix, we print the indices and references.
 </p>
@@ -121,7 +123,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -135,6 +137,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_region_abt.html#SEC_About" title="About (help)"> 
? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_region/index.html 
b/tp/tests/indices/res_parser/index_special_region_no_region/index.html
index 3492a50..0df83b7 100644
--- a/tp/tests/indices/res_parser/index_special_region_no_region/index.html
+++ b/tp/tests/indices/res_parser/index_special_region_no_region/index.html
@@ -43,7 +43,8 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -51,9 +52,10 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_region_abt.html#SEC_About" title="About (help)"> 
? </a>]</td>
 </tr></table>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -62,6 +64,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_region_abt.html#SEC_About" title="About (help)"> 
? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_region/index_special_region_no_region_abt.html
 
b/tp/tests/indices/res_parser/index_special_region_no_region/index_special_region_no_region_abt.html
index 54f3b26..50759b8 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_region/index_special_region_no_region_abt.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_region/index_special_region_no_region_abt.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_region_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -149,7 +149,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_region_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_region/index_special_region_no_region_toc.html
 
b/tp/tests/indices/res_parser/index_special_region_no_region/index_special_region_no_region_toc.html
index 3116ac7..ec6bf3a 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_region/index_special_region_no_region_toc.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_region/index_special_region_no_region_toc.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -56,7 +56,7 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-Copying-and-indices-1" href="Copying-and-indices.html" 
rel="index">Appendix A Copying and indices</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_region_html/Chapter.html 
b/tp/tests/indices/res_parser/index_special_region_no_region_html/Chapter.html
index ea3e1f4..aa7bd72 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_region_html/Chapter.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_region_html/Chapter.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="Chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -78,7 +79,7 @@ and titlepage, and various wrong index entries.
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Copying-and-indices.html" 
title="Next chapter"> &gt;&gt; </a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_region_html/Copying-and-indices.html
 
b/tp/tests/indices/res_parser/index_special_region_no_region_html/Copying-and-indices.html
index 516658a..ed750fd 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_region_html/Copying-and-indices.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_region_html/Copying-and-indices.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Copying-and-indices"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="appendix" id="Copying-and-indices">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -55,7 +56,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_region_abt.html#SEC_About" title="About (help)"> 
? </a>]</td>
 </tr></table>
-<span id="Copying-and-indices-1"></span><h1 class="appendix">Appendix A 
Copying and indices</h1>
+<div class="node" id="Copying-and-indices-1">
+<h1 class="appendix">Appendix A Copying and indices</h1>
 
 <p>In the appendix, we print the indices and references.
 </p>
@@ -121,7 +123,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="Chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -135,6 +137,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_region_abt.html#SEC_About" title="About (help)"> 
? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_region_html/index.html 
b/tp/tests/indices/res_parser/index_special_region_no_region_html/index.html
index 09388ad..ffe2afa 100644
--- a/tp/tests/indices/res_parser/index_special_region_no_region_html/index.html
+++ b/tp/tests/indices/res_parser/index_special_region_no_region_html/index.html
@@ -85,7 +85,8 @@ domain<a id="DOCF1" 
href="index_special_region_no_region_fot.html#FOOT1"><sup>2<
 
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -93,9 +94,10 @@ domain<a id="DOCF1" 
href="index_special_region_no_region_fot.html#FOOT1"><sup>2<
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_region_abt.html#SEC_About" title="About (help)"> 
? </a>]</td>
 </tr></table>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="Chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -104,6 +106,7 @@ domain<a id="DOCF1" 
href="index_special_region_no_region_fot.html#FOOT1"><sup>2<
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_region_abt.html#SEC_About" title="About (help)"> 
? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_region_html/index_special_region_no_region_abt.html
 
b/tp/tests/indices/res_parser/index_special_region_no_region_html/index_special_region_no_region_abt.html
index 119f095..66ca755 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_region_html/index_special_region_no_region_abt.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_region_html/index_special_region_no_region_abt.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_region_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -149,7 +149,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_region_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_region_html/index_special_region_no_region_fot.html
 
b/tp/tests/indices/res_parser/index_special_region_no_region_html/index_special_region_no_region_fot.html
index e6f7dd3..87e6c17 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_region_html/index_special_region_no_region_fot.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_region_html/index_special_region_no_region_fot.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Foot"></span>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_region_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -58,7 +58,7 @@ ul.no-bullet {list-style: none}
 domain is something you should allready know
 </p>
 <span id="index-copying-Public-domain"></span>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="index_special_region_no_region_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/indices/res_parser/index_special_region_no_region_html/index_special_region_no_region_toc.html
 
b/tp/tests/indices/res_parser/index_special_region_no_region_html/index_special_region_no_region_toc.html
index 5a4aaca..b6d26d9 100644
--- 
a/tp/tests/indices/res_parser/index_special_region_no_region_html/index_special_region_no_region_toc.html
+++ 
b/tp/tests/indices/res_parser/index_special_region_no_region_html/index_special_region_no_region_toc.html
@@ -40,7 +40,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -56,7 +56,7 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-Copying-and-indices-1" href="Copying-and-indices.html" 
rel="index">Appendix A Copying and indices</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/tests/indices/res_parser/index_table/index.html 
b/tp/tests/indices/res_parser/index_table/index.html
index 18c089e..ec9b407 100644
--- a/tp/tests/indices/res_parser/index_table/index.html
+++ b/tp/tests/indices/res_parser/index_table/index.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="node-with-ftable-and-vtable.html" 
title="Next section in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -42,7 +43,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="node-with-printindex.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_table_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Test-for-indices"></span><h1 class="top">Test for indices</h1>
+<div class="node" id="Test-for-indices">
+<h1 class="top">Test for indices</h1>
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="node-with-ftable-and-vtable.html">1 
first node chapter, with ftable and vtable</a></td><td>&nbsp;&nbsp;</td><td 
align="left" valign="top">
 </td></tr>
@@ -52,7 +54,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="node-with-ftable-and-vtable.html" 
title="Next section in reading order"> &gt; </a>]</td>
@@ -61,6 +63,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="node-with-printindex.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_table_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/indices/res_parser/index_table/index_table_abt.html 
b/tp/tests/indices/res_parser/index_table/index_table_abt.html
index 876210e..a5ba2a2 100644
--- a/tp/tests/indices/res_parser/index_table/index_table_abt.html
+++ b/tp/tests/indices/res_parser/index_table/index_table_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="index_table_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="index_table_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git a/tp/tests/indices/res_parser/index_table/index_table_toc.html 
b/tp/tests/indices/res_parser/index_table/index_table_toc.html
index 5984caf..ffc11a0 100644
--- a/tp/tests/indices/res_parser/index_table/index_table_toc.html
+++ b/tp/tests/indices/res_parser/index_table/index_table_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -54,7 +54,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/tests/indices/res_parser/index_table/indices-refs.html 
b/tp/tests/indices/res_parser/index_table/indices-refs.html
index b0f5c2a..936f6dc 100644
--- a/tp/tests/indices/res_parser/index_table/indices-refs.html
+++ b/tp/tests/indices/res_parser/index_table/indices-refs.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="indices-refs"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="indices-refs">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="node-with-printindex.html" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="node-with-printindex.html" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="node-with-printindex.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_table_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Indices-refs"></span><h1 class="chapter">3 Indices refs</h1>
+<div class="node" id="Indices-refs">
+<h1 class="chapter">3 Indices refs</h1>
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#node">3.1 
node</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top"></td></tr>
 </table>
@@ -507,8 +509,9 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
-<span id="node"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr>
+<div class="section" id="node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#indices-refs" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#indices-refs" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#indices-refs" title="Up section"> 
Up </a>]</td>
@@ -523,11 +526,12 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="node-with-printindex.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_table_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="node-1"></span><h2 class="section">3.1 node</h2>
+<div class="node" id="node-1">
+<h2 class="section">3.1 node</h2>
 
 <p>A section following the indices.
 </p>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#indices-refs" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -541,6 +545,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="node-with-printindex.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_table_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/index_table/node-with-ftable-and-vtable.html 
b/tp/tests/indices/res_parser/index_table/node-with-ftable-and-vtable.html
index a45a850..46e50c1 100644
--- a/tp/tests/indices/res_parser/index_table/node-with-ftable-and-vtable.html
+++ b/tp/tests/indices/res_parser/index_table/node-with-ftable-and-vtable.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="node-with-ftable-and-vtable"></span><table class="header" 
cellpadding="1" cellspacing="1" border="0">
+<div class="chapter" id="node-with-ftable-and-vtable">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="node-with-printindex.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_table_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="first-node-chapter_002c-with-ftable-and-vtable"></span><h1 
class="chapter">1 first node chapter, with ftable and vtable</h1>
+<div class="node" id="first-node-chapter_002c-with-ftable-and-vtable">
+<h1 class="chapter">1 first node chapter, with ftable and vtable</h1>
 
 <span id="index-index-entry-in-node"></span>
 
@@ -76,7 +78,7 @@ ul.no-bullet {list-style: none}
 </p></dd>
 </dl>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="node-with-printindex.html" 
title="Next chapter"> &gt;&gt; </a>]</td>
@@ -90,6 +92,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="node-with-printindex.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_table_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/indices/res_parser/index_table/node-with-printindex.html 
b/tp/tests/indices/res_parser/index_table/node-with-printindex.html
index 4632127..ca8be84 100644
--- a/tp/tests/indices/res_parser/index_table/node-with-printindex.html
+++ b/tp/tests/indices/res_parser/index_table/node-with-printindex.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="node-with-printindex"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="node-with-printindex">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a 
href="node-with-ftable-and-vtable.html" title="Beginning of this chapter or 
previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="node-with-ftable-and-vtable.html" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#node-with-printindex" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_table_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="node-with-printindex-1"></span><h1 class="chapter">2 node with 
printindex</h1>
+<div class="node" id="node-with-printindex-1">
+<h1 class="chapter">2 node with printindex</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#node-with-printindex-1_fn_letter-F"><b>F</b></a>
  &nbsp; 
@@ -411,7 +413,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a 
href="node-with-ftable-and-vtable.html" title="Beginning of this chapter or 
previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="indices-refs.html#indices-refs" 
title="Next chapter"> &gt;&gt; </a>]</td>
@@ -425,6 +427,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#node-with-printindex" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="index_table_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter/chapter.html
 
b/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter/chapter.html
index 73ea7f0..b7b4049 100644
--- 
a/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter/chapter.html
+++ 
b/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="nodes_before_top_and_sections_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="A-chapter"></span><h1 class="chapter">1 A chapter</h1>
+<div class="node" id="A-chapter">
+<h1 class="chapter">1 A chapter</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#A-chapter_cp_symbol-1"><b>!</b></a>
  &nbsp; 
@@ -120,10 +122,11 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="node-in-chapter"></span>
+</div><div class="node" id="node-in-chapter">
+
 <span id="index-node-in-chapter"></span>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -137,6 +140,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="nodes_before_top_and_sections_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter/index.html
 
b/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter/index.html
index 5a36d3c..5af3a6e 100644
--- 
a/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter/index.html
+++ 
b/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter/index.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="first-before-top"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="first-before-top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -190,7 +191,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="node-in-menu-before-top"></span>
+</div><div class="node" id="node-in-menu-before-top">
+
 <span id="index-node-in-menu-before-top"></span>
 <p>between node in menu before top and printindex
 </p><table><tr><th valign="top">Jump to: &nbsp; </th><td><a 
class="summary-letter" href="#top-section_cp_symbol-1"><b>!</b></a>
@@ -266,7 +268,8 @@ ul.no-bullet {list-style: none}
 <span id="index-printindex-node-in-menu-before-top"></span>
 
 
-<span id="Top"></span><span id="index-entry-a"></span>
+</div><div class="top" id="Top">
+<span id="index-entry-a"></span>
 <p>in top node.
 </p><table><tr><th valign="top">Jump to: &nbsp; </th><td><a 
class="summary-letter" href="#top-section_cp_symbol-1"><b>!</b></a>
  &nbsp; 
@@ -436,7 +439,8 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="top-section"></span><h1 class="top">top section</h1>
+<div class="node" id="top-section">
+<h1 class="top">top section</h1>
 <span id="index-top-section"></span>
 
 <p>in top section
@@ -450,7 +454,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="first"></span><p>Text and then index entries
+</div><div class="node" id="first">
+<p>Text and then index entries
 <span id="index-_0021-entry-in-node"></span>
 <span id="index-fun-in-node"></span>
 <span id="index-entry-in-node"></span>
@@ -529,7 +534,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<span id="second"></span><table class="menu" border="0" cellspacing="0">
+</div><div class="node" id="second">
+<table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top">&bull; <a href="#a-node" rel="index">a 
node</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 <tr><td align="left" valign="top">&bull; <a 
href="#another">another</a></td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
@@ -564,12 +570,14 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="another"></span>
+</div><div class="node" id="another">
+
 <span id="index-something"></span>
 <span id="index-somewhere"></span>
 <span id="index-another"></span>
 
-<span id="a-node"></span><span id="index-entry-after-printindex"></span>
+</div><div class="node" id="a-node">
+<span id="index-entry-after-printindex"></span>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#top-section_cp_symbol-1"><b>!</b></a>
  &nbsp; 
@@ -712,7 +720,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -721,6 +729,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="nodes_before_top_and_sections_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter/nodes_before_top_and_sections_abt.html
 
b/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter/nodes_before_top_and_sections_abt.html
index a117904..dccb6dd 100644
--- 
a/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter/nodes_before_top_and_sections_abt.html
+++ 
b/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter/nodes_before_top_and_sections_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git 
a/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/chapter.html
 
b/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/chapter.html
index 74cdad2..66c30a8 100644
--- 
a/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/chapter.html
+++ 
b/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html#Top" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html#a-node" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html#Top" title="Up section"> 
Up </a>]</td>
@@ -49,7 +50,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a 
href="first-before-top.html#first-before-top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="nodes_before_top_and_sections_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="A-chapter"></span><h1 class="chapter">1 A chapter</h1>
+<div class="node" id="A-chapter">
+<h1 class="chapter">1 A chapter</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#chapter_cp_symbol-1"><b>!</b></a>
  &nbsp; 
@@ -120,8 +122,9 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
-<span id="node-in-chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="node" id="node-in-chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html#Top" title="Up section"> 
Up </a>]</td>
@@ -140,7 +143,7 @@ ul.no-bullet {list-style: none}
 
 <span id="index-node-in-chapter"></span>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
@@ -154,6 +157,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a 
href="first-before-top.html#first-before-top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="nodes_before_top_and_sections_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/first-before-top.html
 
b/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/first-before-top.html
index 91a69c1..67fa19b 100644
--- 
a/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/first-before-top.html
+++ 
b/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/first-before-top.html
@@ -36,7 +36,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="first-before-top"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="first-before-top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="../dir/index.html" title="Up 
section"> Up </a>]</td>
@@ -198,8 +199,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="node-in-menu-before-top"></span><table class="header" 
cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+<div class="node" id="node-in-menu-before-top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[<a href="#first-before-top" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#first-before-top" title="Up 
section"> Up </a>]</td>
@@ -291,7 +293,7 @@ ul.no-bullet {list-style: none}
 <span id="index-printindex-node-in-menu-before-top"></span>
 
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt;&lt; ]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
diff --git 
a/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/index.html
 
b/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/index.html
index b90dc50..e6362f2 100644
--- 
a/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/index.html
+++ 
b/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/index.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a 
href="first-before-top.html#node-in-menu-before-top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#first" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -212,7 +213,8 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="top-section"></span><h1 class="top">top section</h1>
+<div class="node" id="top-section">
+<h1 class="top">top section</h1>
 <span id="index-top-section"></span>
 
 <p>in top section
@@ -226,8 +228,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="first"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr size="6">
+<div class="node" id="first">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -322,8 +325,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
-<span id="second"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr>
+<div class="node" id="second">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#first" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#first" title="Up section"> Up 
</a>]</td>
@@ -374,8 +378,9 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
-<span id="another"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="node" id="another">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#second" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#second" title="Up section"> Up 
</a>]</td>
@@ -396,8 +401,9 @@ ul.no-bullet {list-style: none}
 <span id="index-somewhere"></span>
 <span id="index-another"></span>
 
-<hr>
-<span id="a-node"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr>
+<div class="node" id="a-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#another" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#second" title="Up section"> Up 
</a>]</td>
@@ -556,7 +562,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html#chapter" title="Next 
chapter"> &gt;&gt; </a>]</td>
@@ -570,6 +576,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a 
href="first-before-top.html#first-before-top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a 
href="nodes_before_top_and_sections_abt.html#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/nodes_before_top_and_sections_abt.html
 
b/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/nodes_before_top_and_sections_abt.html
index 8ba2351..8daaf51 100644
--- 
a/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/nodes_before_top_and_sections_abt.html
+++ 
b/tp/tests/indices/res_parser/nodes_before_top_and_sections_html_chapter_nodes/nodes_before_top_and_sections_abt.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html#Top" title="Cover 
(top) of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -143,7 +143,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html#Top" title="Cover 
(top) of document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
diff --git 
a/tp/tests/indices/res_parser/printindex_between_node_section/printindex_between_node_section.html
 
b/tp/tests/indices/res_parser/printindex_between_node_section/printindex_between_node_section.html
index 3548aa8..76cf89e 100644
--- 
a/tp/tests/indices/res_parser/printindex_between_node_section/printindex_between_node_section.html
+++ 
b/tp/tests/indices/res_parser/printindex_between_node_section/printindex_between_node_section.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#node-chap1" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#node-chap1" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <span id="index-top1"></span>
 <span id="index-top1-1"></span>
@@ -68,8 +70,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="node-chap1"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="node-chap1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -84,15 +87,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#node-chap1" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-1"></span><h1 class="chapter">1 chapter 1</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter 1</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#node-sec1" rel="index">1.1 
section1</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
-<span id="node-sec1"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="node-sec1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#node-chap1" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#node-chap1" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#node-chap1" title="Up section"> Up 
</a>]</td>
@@ -141,10 +146,14 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#section1_cp_letter-T"><b>T</b></a>
  &nbsp; 
 </td></tr></table>
-<span id="section1"></span><h2 class="section">1.1 section1</h2>
+<div class="node" id="section1">
+<h2 class="section">1.1 section1</h2>
 
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -253,7 +262,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser/printindex_between_part_chapter/printindex_between_part_chapter.html
 
b/tp/tests/indices/res_parser/printindex_between_part_chapter/printindex_between_part_chapter.html
index 68ce4be..4bc0b9b 100644
--- 
a/tp/tests/indices/res_parser/printindex_between_part_chapter/printindex_between_part_chapter.html
+++ 
b/tp/tests/indices/res_parser/printindex_between_part_chapter/printindex_between_part_chapter.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#node-chap1" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#node-chap1" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="top"></span><h1 class="top">top</h1>
+<div class="node" id="top">
+<h1 class="top">top</h1>
 
 <span id="index-top1"></span>
 <span id="index-top1-1"></span>
@@ -70,8 +72,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="Part-1"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+</div><hr size="6">
+<div class="part" id="Part-1">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -124,10 +127,14 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<span id="node-chap1"></span><span id="chapter-1"></span><h1 class="chapter">1 
chapter 1</h1>
+</div><div class="chapter" id="node-chap1">
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter 1</h1>
 
-<hr>
-<span id="node-chap2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="chapter" id="node-chap2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#node-chap1" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#node-chap1" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#node-chap1" title="Up section"> Up 
</a>]</td>
@@ -142,10 +149,13 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#node-chap1" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-2"></span><h1 class="chapter">2 chapter 2</h1>
+<div class="node" id="chapter-2">
+<h1 class="chapter">2 chapter 2</h1>
 
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -254,7 +264,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/indices/res_parser_info/index_special_region_html/Copying-and-indices.html
 
b/tp/tests/indices/res_parser_info/index_special_region_html/Copying-and-indices.html
index 3f94e5a..0ffae88 100644
--- 
a/tp/tests/indices/res_parser_info/index_special_region_html/Copying-and-indices.html
+++ 
b/tp/tests/indices/res_parser_info/index_special_region_html/Copying-and-indices.html
@@ -45,11 +45,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Copying-and-indices"></span><div class="header">
+<div class="appendix" id="Copying-and-indices">
+<div class="header">
 <p>
 Previous: <a href="index.html" accesskey="p" rel="prev">Top</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; [<a 
href="index.html#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>][<a href="index.html" title="Index" 
rel="index">Index</a>]</p>
 </div>
-<span id="Copying-and-indices-1"></span><h2 class="appendix">Appendix A 
Copying and indices</h2>
+<div class="node" id="Copying-and-indices-1">
+<h2 class="appendix">Appendix A Copying and indices</h2>
 
 <p>In the appendix, we print the indices and references.
 </p>
@@ -151,7 +153,7 @@ domain<a id="DOCF1_2" href="#FOOT1_2"><sup>2</sup></a>.
  &nbsp; 
 </td></tr></table>
 
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -166,6 +168,7 @@ domain is something you should allready know
 <p>
 Previous: <a href="index.html" accesskey="p" rel="prev">Top</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; [<a 
href="index.html#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>][<a href="index.html" title="Index" 
rel="index">Index</a>]</p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/tests/indices/res_parser_info/index_special_region_html/index.html 
b/tp/tests/indices/res_parser_info/index_special_region_html/index.html
index ffcb9c3..cf72cfd 100644
--- a/tp/tests/indices/res_parser_info/index_special_region_html/index.html
+++ b/tp/tests/indices/res_parser_info/index_special_region_html/index.html
@@ -47,11 +47,13 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="Copying-and-indices.html" accesskey="n" rel="next">Copying and 
indices</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>][<a href="#Top" title="Index" 
rel="index">Index</a>]</p>
 </div>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 <span id="SEC_Contents"></span>
 <h2 class="contents-heading">Table of Contents</h2>
 
@@ -63,7 +65,8 @@ Next: <a href="Copying-and-indices.html" accesskey="n" 
rel="next">Copying and in
 </ul>
 </div>
 
-<span id="Chapter"></span><h2 class="chapter">1 Chapter</h2>
+</div><div class="chapter" id="Chapter">
+<h2 class="chapter">1 Chapter</h2>
 
 
 <span id="index-copying-Copying-this-document"></span>
@@ -118,7 +121,7 @@ and titlepage, and various wrong index entries.
 </dl>
 
 
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h4 class="footnotes-heading">Footnotes</h4>
 
@@ -133,6 +136,7 @@ domain is something you should allready know
 <p>
 Next: <a href="Copying-and-indices.html" accesskey="n" rel="next">Copying and 
indices</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>][<a href="#Top" title="Index" 
rel="index">Index</a>]</p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/tests/indices/res_parser_info/index_special_region_no_insertcopying_html/Copying-and-indices.html
 
b/tp/tests/indices/res_parser_info/index_special_region_no_insertcopying_html/Copying-and-indices.html
index c39f6ae..b56425e 100644
--- 
a/tp/tests/indices/res_parser_info/index_special_region_no_insertcopying_html/Copying-and-indices.html
+++ 
b/tp/tests/indices/res_parser_info/index_special_region_no_insertcopying_html/Copying-and-indices.html
@@ -44,11 +44,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Copying-and-indices"></span><div class="header">
+<div class="appendix" id="Copying-and-indices">
+<div class="header">
 <p>
 Previous: <a href="index.html" accesskey="p" rel="prev">Top</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; [<a 
href="index.html#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="Copying-and-indices-1"></span><h2 class="appendix">Appendix A 
Copying and indices</h2>
+<div class="node" id="Copying-and-indices-1">
+<h2 class="appendix">Appendix A Copying and indices</h2>
 
 <p>In the appendix, we print the indices and references.
 </p>
@@ -114,11 +116,12 @@ Previous: <a href="index.html" accesskey="p" 
rel="prev">Top</a>, Up: <a href="in
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Previous: <a href="index.html" accesskey="p" rel="prev">Top</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; [<a 
href="index.html#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/tests/indices/res_parser_info/index_special_region_no_insertcopying_html/index.html
 
b/tp/tests/indices/res_parser_info/index_special_region_no_insertcopying_html/index.html
index d62225f..c5b307e 100644
--- 
a/tp/tests/indices/res_parser_info/index_special_region_no_insertcopying_html/index.html
+++ 
b/tp/tests/indices/res_parser_info/index_special_region_no_insertcopying_html/index.html
@@ -46,11 +46,13 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="Copying-and-indices.html" accesskey="n" rel="next">Copying and 
indices</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 <span id="SEC_Contents"></span>
 <h2 class="contents-heading">Table of Contents</h2>
 
@@ -62,7 +64,8 @@ Next: <a href="Copying-and-indices.html" accesskey="n" 
rel="next">Copying and in
 </ul>
 </div>
 
-<span id="Chapter"></span><h2 class="chapter">1 Chapter</h2>
+</div><div class="chapter" id="Chapter">
+<h2 class="chapter">1 Chapter</h2>
 
 
 <p>This test demonstrates @anchor and indices in @copying
@@ -81,11 +84,12 @@ and titlepage, and various wrong index entries.
 </dl>
 
 
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="Copying-and-indices.html" accesskey="n" rel="next">Copying and 
indices</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/tests/indices/res_parser_info/index_special_region_no_region_html/Copying-and-indices.html
 
b/tp/tests/indices/res_parser_info/index_special_region_no_region_html/Copying-and-indices.html
index c39f6ae..b56425e 100644
--- 
a/tp/tests/indices/res_parser_info/index_special_region_no_region_html/Copying-and-indices.html
+++ 
b/tp/tests/indices/res_parser_info/index_special_region_no_region_html/Copying-and-indices.html
@@ -44,11 +44,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Copying-and-indices"></span><div class="header">
+<div class="appendix" id="Copying-and-indices">
+<div class="header">
 <p>
 Previous: <a href="index.html" accesskey="p" rel="prev">Top</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; [<a 
href="index.html#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="Copying-and-indices-1"></span><h2 class="appendix">Appendix A 
Copying and indices</h2>
+<div class="node" id="Copying-and-indices-1">
+<h2 class="appendix">Appendix A Copying and indices</h2>
 
 <p>In the appendix, we print the indices and references.
 </p>
@@ -114,11 +116,12 @@ Previous: <a href="index.html" accesskey="p" 
rel="prev">Top</a>, Up: <a href="in
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Previous: <a href="index.html" accesskey="p" rel="prev">Top</a>, Up: <a 
href="index.html" accesskey="u" rel="up">Top</a> &nbsp; [<a 
href="index.html#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/tests/indices/res_parser_info/index_special_region_no_region_html/index.html
 
b/tp/tests/indices/res_parser_info/index_special_region_no_region_html/index.html
index 54708a5..8402cc3 100644
--- 
a/tp/tests/indices/res_parser_info/index_special_region_no_region_html/index.html
+++ 
b/tp/tests/indices/res_parser_info/index_special_region_no_region_html/index.html
@@ -46,11 +46,13 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Next: <a href="Copying-and-indices.html" accesskey="n" rel="next">Copying and 
indices</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
-<span id="Top-1"></span><h1 class="top">Top</h1>
+<div class="node" id="Top-1">
+<h1 class="top">Top</h1>
 
 <span id="SEC_Contents"></span>
 <h2 class="contents-heading">Table of Contents</h2>
@@ -63,7 +65,8 @@ Next: <a href="Copying-and-indices.html" accesskey="n" 
rel="next">Copying and in
 </ul>
 </div>
 
-<span id="Chapter"></span><h2 class="chapter">1 Chapter</h2>
+</div><div class="chapter" id="Chapter">
+<h2 class="chapter">1 Chapter</h2>
 
 
 <p>This test demonstrates @anchor and indices in @copying
@@ -82,11 +85,12 @@ and titlepage, and various wrong index entries.
 </dl>
 
 
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="Copying-and-indices.html" accesskey="n" rel="next">Copying and 
indices</a> &nbsp; [<a href="#SEC_Contents" title="Table of contents" 
rel="contents">Contents</a>]</p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter/chapter.html
 
b/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter/chapter.html
index 0947cfe..4f436d0 100644
--- 
a/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter/chapter.html
+++ 
b/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter/chapter.html
@@ -38,11 +38,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><div class="header">
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Next: <a href="#node-in-chapter" accesskey="n" rel="next">node in chapter</a>, 
Up: <a href="index.html#Top" accesskey="u" rel="up">top section</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
-<span id="A-chapter"></span><h2 class="chapter">1 A chapter</h2>
+<div class="node" id="A-chapter">
+<h2 class="chapter">1 A chapter</h2>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#chapter_cp_symbol-1"><b>!</b></a>
  &nbsp; 
@@ -113,8 +115,9 @@ Next: <a href="#node-in-chapter" accesskey="n" 
rel="next">node in chapter</a>, U
  &nbsp; 
 </td></tr></table>
 
-<hr>
-<span id="node-in-chapter"></span><div class="header">
+</div><hr>
+<div class="node" id="node-in-chapter">
+<div class="header">
 <p>
 Previous: <a href="#chapter" accesskey="p" rel="prev">A chapter</a>, Up: <a 
href="index.html#Top" accesskey="u" rel="up">top section</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
@@ -122,11 +125,12 @@ Previous: <a href="#chapter" accesskey="p" rel="prev">A 
chapter</a>, Up: <a href
 
 <span id="index-node-in-chapter"></span>
 
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Previous: <a href="#chapter" accesskey="p" rel="prev">A chapter</a>, Up: <a 
href="index.html#Top" accesskey="u" rel="up">top section</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter/first-before-top.html
 
b/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter/first-before-top.html
index 55e588d..b7de102 100644
--- 
a/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter/first-before-top.html
+++ 
b/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter/first-before-top.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="first-before-top"></span><div class="header">
+<div class="node" id="first-before-top">
+<div class="header">
 <p>
 Next: <a href="index.html#Top" accesskey="n" rel="next">top section</a>, Up: 
<a href="../dir/index.html" accesskey="u" rel="up">(dir)</a> &nbsp; [<a 
href="#first-before-top" title="Index" rel="index">Index</a>]</p>
 </div>
@@ -187,8 +188,9 @@ Next: <a href="index.html#Top" accesskey="n" rel="next">top 
section</a>, Up: <a
 </td></tr></table>
 <p>after second printindex in first node
 </p>
-<hr>
-<span id="node-in-menu-before-top"></span><div class="header">
+</div><hr>
+<div class="node" id="node-in-menu-before-top">
+<div class="header">
 <p>
 Up: <a href="#first-before-top" accesskey="u" rel="up">first before top</a> 
&nbsp; [<a href="#first-before-top" title="Index" rel="index">Index</a>]</p>
 </div>
@@ -269,7 +271,7 @@ Up: <a href="#first-before-top" accesskey="u" 
rel="up">first before top</a> &nbs
 <span id="index-printindex-node-in-menu-before-top"></span>
 
 
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Up: <a href="#first-before-top" accesskey="u" rel="up">first before top</a> 
&nbsp; [<a href="#first-before-top" title="Index" rel="index">Index</a>]</p>
diff --git 
a/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter/index.html
 
b/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter/index.html
index c8484d1..424c0df 100644
--- 
a/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter/index.html
+++ 
b/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter/index.html
@@ -37,7 +37,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Previous: <a href="first-before-top.html#first-before-top" accesskey="p" 
rel="prev">first before top</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
@@ -211,7 +212,8 @@ Previous: <a href="first-before-top.html#first-before-top" 
accesskey="p" rel="pr
  &nbsp; 
 </td></tr></table>
 
-<span id="top-section"></span><h1 class="top">top section</h1>
+<div class="node" id="top-section">
+<h1 class="top">top section</h1>
 <span id="index-top-section"></span>
 
 <p>in top section
@@ -220,8 +222,9 @@ Previous: <a href="first-before-top.html#first-before-top" 
accesskey="p" rel="pr
 <ul class="section-toc">
 <li><a href="chapter.html#chapter" accesskey="1">A chapter</a></li>
 </ul>
-<hr>
-<span id="first"></span><div class="header">
+</div><hr>
+<div class="node" id="first">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">top section</a>, Up: <a 
href="#Top" accesskey="u" rel="up">top section</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
@@ -301,8 +304,9 @@ Previous: <a href="#Top" accesskey="p" rel="prev">top 
section</a>, Up: <a href="
 </td></tr></table>
 
 
-<hr>
-<span id="second"></span><div class="header">
+</div><hr>
+<div class="node" id="second">
+<div class="header">
 <p>
 Up: <a href="#first" accesskey="u" rel="up">first</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
@@ -336,8 +340,9 @@ Up: <a href="#first" accesskey="u" rel="up">first</a> 
&nbsp; [<a href="first-bef
  &nbsp; 
 </td></tr></table>
 
-<hr>
-<span id="another"></span><div class="header">
+</div><hr>
+<div class="node" id="another">
+<div class="header">
 <p>
 Previous: <a href="#a-node" accesskey="p" rel="prev">a node</a>, Up: <a 
href="#second" accesskey="u" rel="up">second</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
@@ -347,8 +352,9 @@ Previous: <a href="#a-node" accesskey="p" rel="prev">a 
node</a>, Up: <a href="#s
 <span id="index-somewhere"></span>
 <span id="index-another"></span>
 
-<hr>
-<span id="a-node"></span><div class="header">
+</div><hr>
+<div class="node" id="a-node">
+<div class="header">
 <p>
 Next: <a href="#another" accesskey="n" rel="next">another</a>, Up: <a 
href="#second" accesskey="u" rel="up">second</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
@@ -496,11 +502,12 @@ Next: <a href="#another" accesskey="n" 
rel="next">another</a>, Up: <a href="#sec
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="#another" accesskey="n" rel="next">another</a>, Up: <a 
href="#second" accesskey="u" rel="up">second</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter_nodes/chapter.html
 
b/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter_nodes/chapter.html
index 0947cfe..4f436d0 100644
--- 
a/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter_nodes/chapter.html
+++ 
b/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter_nodes/chapter.html
@@ -38,11 +38,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><div class="header">
+<div class="chapter" id="chapter">
+<div class="header">
 <p>
 Next: <a href="#node-in-chapter" accesskey="n" rel="next">node in chapter</a>, 
Up: <a href="index.html#Top" accesskey="u" rel="up">top section</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
-<span id="A-chapter"></span><h2 class="chapter">1 A chapter</h2>
+<div class="node" id="A-chapter">
+<h2 class="chapter">1 A chapter</h2>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#chapter_cp_symbol-1"><b>!</b></a>
  &nbsp; 
@@ -113,8 +115,9 @@ Next: <a href="#node-in-chapter" accesskey="n" 
rel="next">node in chapter</a>, U
  &nbsp; 
 </td></tr></table>
 
-<hr>
-<span id="node-in-chapter"></span><div class="header">
+</div><hr>
+<div class="node" id="node-in-chapter">
+<div class="header">
 <p>
 Previous: <a href="#chapter" accesskey="p" rel="prev">A chapter</a>, Up: <a 
href="index.html#Top" accesskey="u" rel="up">top section</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
@@ -122,11 +125,12 @@ Previous: <a href="#chapter" accesskey="p" rel="prev">A 
chapter</a>, Up: <a href
 
 <span id="index-node-in-chapter"></span>
 
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Previous: <a href="#chapter" accesskey="p" rel="prev">A chapter</a>, Up: <a 
href="index.html#Top" accesskey="u" rel="up">top section</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
+</div>
 
 
 
diff --git 
a/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter_nodes/first-before-top.html
 
b/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter_nodes/first-before-top.html
index 55e588d..b7de102 100644
--- 
a/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter_nodes/first-before-top.html
+++ 
b/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter_nodes/first-before-top.html
@@ -40,7 +40,8 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 
 
-<span id="first-before-top"></span><div class="header">
+<div class="node" id="first-before-top">
+<div class="header">
 <p>
 Next: <a href="index.html#Top" accesskey="n" rel="next">top section</a>, Up: 
<a href="../dir/index.html" accesskey="u" rel="up">(dir)</a> &nbsp; [<a 
href="#first-before-top" title="Index" rel="index">Index</a>]</p>
 </div>
@@ -187,8 +188,9 @@ Next: <a href="index.html#Top" accesskey="n" rel="next">top 
section</a>, Up: <a
 </td></tr></table>
 <p>after second printindex in first node
 </p>
-<hr>
-<span id="node-in-menu-before-top"></span><div class="header">
+</div><hr>
+<div class="node" id="node-in-menu-before-top">
+<div class="header">
 <p>
 Up: <a href="#first-before-top" accesskey="u" rel="up">first before top</a> 
&nbsp; [<a href="#first-before-top" title="Index" rel="index">Index</a>]</p>
 </div>
@@ -269,7 +271,7 @@ Up: <a href="#first-before-top" accesskey="u" 
rel="up">first before top</a> &nbs
 <span id="index-printindex-node-in-menu-before-top"></span>
 
 
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Up: <a href="#first-before-top" accesskey="u" rel="up">first before top</a> 
&nbsp; [<a href="#first-before-top" title="Index" rel="index">Index</a>]</p>
diff --git 
a/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter_nodes/index.html
 
b/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter_nodes/index.html
index c8484d1..424c0df 100644
--- 
a/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter_nodes/index.html
+++ 
b/tp/tests/indices/res_parser_info/nodes_before_top_and_sections_html_chapter_nodes/index.html
@@ -37,7 +37,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><div class="header">
+<div class="top" id="Top">
+<div class="header">
 <p>
 Previous: <a href="first-before-top.html#first-before-top" accesskey="p" 
rel="prev">first before top</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
@@ -211,7 +212,8 @@ Previous: <a href="first-before-top.html#first-before-top" 
accesskey="p" rel="pr
  &nbsp; 
 </td></tr></table>
 
-<span id="top-section"></span><h1 class="top">top section</h1>
+<div class="node" id="top-section">
+<h1 class="top">top section</h1>
 <span id="index-top-section"></span>
 
 <p>in top section
@@ -220,8 +222,9 @@ Previous: <a href="first-before-top.html#first-before-top" 
accesskey="p" rel="pr
 <ul class="section-toc">
 <li><a href="chapter.html#chapter" accesskey="1">A chapter</a></li>
 </ul>
-<hr>
-<span id="first"></span><div class="header">
+</div><hr>
+<div class="node" id="first">
+<div class="header">
 <p>
 Previous: <a href="#Top" accesskey="p" rel="prev">top section</a>, Up: <a 
href="#Top" accesskey="u" rel="up">top section</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
@@ -301,8 +304,9 @@ Previous: <a href="#Top" accesskey="p" rel="prev">top 
section</a>, Up: <a href="
 </td></tr></table>
 
 
-<hr>
-<span id="second"></span><div class="header">
+</div><hr>
+<div class="node" id="second">
+<div class="header">
 <p>
 Up: <a href="#first" accesskey="u" rel="up">first</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
@@ -336,8 +340,9 @@ Up: <a href="#first" accesskey="u" rel="up">first</a> 
&nbsp; [<a href="first-bef
  &nbsp; 
 </td></tr></table>
 
-<hr>
-<span id="another"></span><div class="header">
+</div><hr>
+<div class="node" id="another">
+<div class="header">
 <p>
 Previous: <a href="#a-node" accesskey="p" rel="prev">a node</a>, Up: <a 
href="#second" accesskey="u" rel="up">second</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
@@ -347,8 +352,9 @@ Previous: <a href="#a-node" accesskey="p" rel="prev">a 
node</a>, Up: <a href="#s
 <span id="index-somewhere"></span>
 <span id="index-another"></span>
 
-<hr>
-<span id="a-node"></span><div class="header">
+</div><hr>
+<div class="node" id="a-node">
+<div class="header">
 <p>
 Next: <a href="#another" accesskey="n" rel="next">another</a>, Up: <a 
href="#second" accesskey="u" rel="up">second</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
@@ -496,11 +502,12 @@ Next: <a href="#another" accesskey="n" 
rel="next">another</a>, Up: <a href="#sec
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <div class="header">
 <p>
 Next: <a href="#another" accesskey="n" rel="next">another</a>, Up: <a 
href="#second" accesskey="u" rel="up">second</a> &nbsp; [<a 
href="first-before-top.html#first-before-top" title="Index" 
rel="index">Index</a>]</p>
 </div>
+</div>
 
 
 
diff --git a/tp/tests/layout/res_parser/formatting/formatting.html 
b/tp/tests/layout/res_parser/formatting/formatting.html
index bf153cb..226a919 100644
--- a/tp/tests/layout/res_parser/formatting/formatting.html
+++ b/tp/tests/layout/res_parser/formatting/formatting.html
@@ -1300,16 +1300,21 @@ html ''
 
 
 
-<span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-3"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-3"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-3">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-3">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-3">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-3">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2056,16 +2061,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2170,7 +2180,8 @@ html ''
 
 <hr>
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -2178,7 +2189,8 @@ html ''
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Top-section"></span><h1 class="top">Top section</h1>
+<div class="node" id="Top-section">
+<h1 class="top">Top section</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#chapter">1 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top"></td></tr>
@@ -2836,16 +2848,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -3591,16 +3608,21 @@ html ''
 
 
 
-<span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-1"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-1"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-1">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-1">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-1">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-1">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -4430,20 +4452,25 @@ html ''
 
 
 
-</pre><span id="majorheading-2"></span><strong>majorheading</strong>
-<pre class="example">
+</pre><div class="majorheading" id="majorheading-2">
+<strong>majorheading</strong>
+</div><pre class="example">
 
-</pre><span id="chapheading-2"></span><strong>chapheading</strong>
-<pre class="example">
+</pre><div class="chapheading" id="chapheading-2">
+<strong>chapheading</strong>
+</div><pre class="example">
 
-</pre><span id="heading-2"></span><strong>heading</strong>
-<pre class="example">
+</pre><div class="heading" id="heading-2">
+<strong>heading</strong>
+</div><pre class="example">
 
-</pre><span id="subheading-2"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-2">
+<strong>subheading</strong>
+</div><pre class="example">
 
-</pre><span id="subsubheading-2"></span><strong>subsubheading</strong>
-<pre class="example">
+</pre><div class="subsubheading" id="subsubheading-2">
+<strong>subsubheading</strong>
+</div><pre class="example">
 
 
 <code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym title="an 
accronym , ...">--a</acronym> (an accronym , ...)
@@ -4982,8 +5009,9 @@ Invalid use of @':
 
 
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -4998,7 +5026,8 @@ Invalid use of @':
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-1"></span><h1 class="chapter">1 chapter</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <p><a id="DOCF9" href="#FOOT9"><sup>11</sup></a>
 </p>
@@ -5014,8 +5043,9 @@ Menu comment
 </pre></td></tr></table>
 </div>
 
-<hr>
-<span id="s_002d_002dect_002cion"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="s_002d_002dect_002cion">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -5030,7 +5060,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="A-section"></span><h2 class="section">1.1 A section</h2>
+<div class="node" id="A-section">
+<h2 class="section">1.1 A section</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#subsection">1.1.1 
subsection</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -5045,8 +5076,9 @@ Menu comment
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#s_002d_002dect_002cion" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#s_002d_002dect_002cion" title="Up 
section"> Up </a>]</td>
@@ -5061,7 +5093,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="subsection-1"></span><h3 class="subsection">1.1.1 subsection</h3>
+<div class="node" id="subsection-1">
+<h3 class="subsection">1.1.1 subsection</h3>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d">1.1.1.1 
subsubsection &ldquo;simple-double&ndash;</a></td><td>&nbsp;&nbsp;</td><td 
align="left" valign="top">
@@ -5071,8 +5104,9 @@ Menu comment
 </table>
 
 <span id="anchor"></span>
-<hr>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d"></span><table 
class="header" cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+<div class="subsubsection" 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Up section"> Up 
</a>]</td>
@@ -5087,10 +5121,13 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1"></span><h4 
class="subsubsection">1.1.1.1 subsubsection &ldquo;simple-double&ndash;</h4>
+<div class="node" id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1">
+<h4 class="subsubsection">1.1.1.1 subsubsection 
&ldquo;simple-double&ndash;</h4>
 
-<hr>
-<span 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><table
 class="header" cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="subsubsection" 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Up section"> Up 
</a>]</td>
@@ -5105,10 +5142,16 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><h4 
class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
+<div class="node" id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<h4 class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
 
-<hr>
-<span id="chapter2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+</div>
+</div>
+</div>
+<div class="centerchap" id="chapter2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="#subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -5123,7 +5166,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-2"></span><h1 class="centerchap" align="center">chapter 
2</h1>
+<div class="node" id="chapter-2">
+<h1 class="centerchap" align="center">chapter 2</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#chapter-2_cp_symbol-1"><b>&quot;</b></a>
  &nbsp; 
@@ -5446,8 +5490,10 @@ Menu comment
  &nbsp; 
 </td></tr></table>
 
-<hr size="6">
-<span id="SEC_Foot"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5478,8 +5524,8 @@ Menu comment
 <p>in footnote2</p>
 <h5><a id="FOOT9" href="#DOCF9">(11)</a></h5>
 <p>in footnote</p>
-<hr>
-<span id="SEC_Contents"></span>
+</div><hr>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5505,8 +5551,8 @@ Menu comment
   <li><a id="toc-chapter-2" href="#chapter2" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_Overview"></span>
+</div><hr>
+<div class="Overview_element" id="SEC_Overview">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5521,8 +5567,8 @@ Menu comment
 <li><a id="stoc-chapter-2" href="#chapter2" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5631,7 +5677,7 @@ Menu comment
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_chm/chapter.html 
b/tp/tests/layout/res_parser/formatting_chm/chapter.html
index fb7a709..5b256cf 100644
--- a/tp/tests/layout/res_parser/formatting_chm/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_chm/chapter.html
@@ -653,12 +653,14 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><span id="chapter-1"></span><h1 class="chapter">1 
chapter</h1>
+<div class="chapter" id="chapter">
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <p><a id="DOCF9" href="#FOOT9"><sup>11</sup></a>
 </p>
 
-<div class="footnote">
+</div><div class="footnote">
 <h3 class="footnotes-heading">Footnotes</h3>
 
 <h5><a id="FOOT9" href="#DOCF9">(11)</a></h5>
diff --git a/tp/tests/layout/res_parser/formatting_chm/chapter2.html 
b/tp/tests/layout/res_parser/formatting_chm/chapter2.html
index bf7cf31..99e1b60 100644
--- a/tp/tests/layout/res_parser/formatting_chm/chapter2.html
+++ b/tp/tests/layout/res_parser/formatting_chm/chapter2.html
@@ -653,7 +653,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter2"></span><span id="chapter-2"></span><h1 class="centerchap" 
align="center">chapter 2</h1>
+</div>
+</div>
+</div>
+</div>
+<div class="centerchap" id="chapter2">
+<div class="node" id="chapter-2">
+<h1 class="centerchap" align="center">chapter 2</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#chapter-2_cp_symbol-1"><b>&quot;</b></a>
  &nbsp; 
@@ -976,7 +982,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<p>
+</div><p>
 
 </p>
 </body>
diff --git a/tp/tests/layout/res_parser/formatting_chm/formatting.html 
b/tp/tests/layout/res_parser/formatting_chm/formatting.html
index 2a4172c..b55ec8d 100644
--- a/tp/tests/layout/res_parser/formatting_chm/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_chm/formatting.html
@@ -1300,16 +1300,21 @@ html ''
 
 
 
-<span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-3"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-3"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-3">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-3">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-3">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-3">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2056,16 +2061,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2170,7 +2180,9 @@ html ''
 
 
 
-<span id="Top"></span><span id="Top-section"></span><h1 class="top">Top 
section</h1>
+<div class="top" id="Top">
+<div class="node" id="Top-section">
+<h1 class="top">Top section</h1>
 
 
 
@@ -2819,16 +2831,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -3574,16 +3591,21 @@ html ''
 
 
 
-<span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-1"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-1"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-1">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-1">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-1">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-1">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -4413,20 +4435,25 @@ html ''
 
 
 
-</pre><span id="majorheading-2"></span><strong>majorheading</strong>
-<pre class="example">
+</pre><div class="majorheading" id="majorheading-2">
+<strong>majorheading</strong>
+</div><pre class="example">
 
-</pre><span id="chapheading-2"></span><strong>chapheading</strong>
-<pre class="example">
+</pre><div class="chapheading" id="chapheading-2">
+<strong>chapheading</strong>
+</div><pre class="example">
 
-</pre><span id="heading-2"></span><strong>heading</strong>
-<pre class="example">
+</pre><div class="heading" id="heading-2">
+<strong>heading</strong>
+</div><pre class="example">
 
-</pre><span id="subheading-2"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-2">
+<strong>subheading</strong>
+</div><pre class="example">
 
-</pre><span id="subsubheading-2"></span><strong>subsubheading</strong>
-<pre class="example">
+</pre><div class="subsubheading" id="subsubheading-2">
+<strong>subsubheading</strong>
+</div><pre class="example">
 
 
 <code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym title="an 
accronym , ...">--a</acronym> (an accronym , ...)
@@ -4965,7 +4992,7 @@ Invalid use of @':
 
 
 
-<div class="footnote">
+</div><div class="footnote">
 <h3 class="footnotes-heading">Footnotes</h3>
 
 <h5><a id="FOOT1" href="#DOCF1">(1)</a></h5>
diff --git a/tp/tests/layout/res_parser/formatting_chm/formatting_abt.html 
b/tp/tests/layout/res_parser/formatting_chm/formatting_abt.html
index 0b11002..3b7abad 100644
--- a/tp/tests/layout/res_parser/formatting_chm/formatting_abt.html
+++ b/tp/tests/layout/res_parser/formatting_chm/formatting_abt.html
@@ -653,7 +653,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <h1 class="about-heading">About This Document</h1>
 
 <p>
@@ -756,7 +756,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<p>
+</div><p>
 
 </p>
 </body>
diff --git a/tp/tests/layout/res_parser/formatting_chm/formatting_ovr.html 
b/tp/tests/layout/res_parser/formatting_chm/formatting_ovr.html
index 956ff62..4bb12d9 100644
--- a/tp/tests/layout/res_parser/formatting_chm/formatting_ovr.html
+++ b/tp/tests/layout/res_parser/formatting_chm/formatting_ovr.html
@@ -653,7 +653,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Overview"></span>
+<div class="Overview_element" id="SEC_Overview">
 <h1 class="shortcontents-heading">Short Table of Contents</h1>
 
 <div class="shortcontents">
@@ -662,7 +662,7 @@ ul.no-bullet {list-style: none}
 <li><a id="stoc-chapter-2" href="chapter2.html" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<p>
+</div><p>
 
 </p>
 </body>
diff --git a/tp/tests/layout/res_parser/formatting_chm/formatting_toc.html 
b/tp/tests/layout/res_parser/formatting_chm/formatting_toc.html
index 26e5e8d..9ee6cb2 100644
--- a/tp/tests/layout/res_parser/formatting_chm/formatting_toc.html
+++ b/tp/tests/layout/res_parser/formatting_chm/formatting_toc.html
@@ -653,7 +653,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+</div>
+</div>
+<div class="Contents_element" id="SEC_Contents">
 <h1 class="contents-heading">Table of Contents</h1>
 
 <div class="contents">
@@ -673,7 +675,7 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-chapter-2" href="chapter2.html" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<p>
+</div><p>
 
 </p>
 </body>
diff --git 
a/tp/tests/layout/res_parser/formatting_chm/s_002d_002dect_002cion.html 
b/tp/tests/layout/res_parser/formatting_chm/s_002d_002dect_002cion.html
index 4c06a5d..4352883 100644
--- a/tp/tests/layout/res_parser/formatting_chm/s_002d_002dect_002cion.html
+++ b/tp/tests/layout/res_parser/formatting_chm/s_002d_002dect_002cion.html
@@ -653,10 +653,12 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="s_002d_002dect_002cion"></span><span id="A-section"></span><h2 
class="section">1.1 A section</h2>
+<div class="section" id="s_002d_002dect_002cion">
+<div class="node" id="A-section">
+<h2 class="section">1.1 A section</h2>
 
 
-<p>
+</div><p>
 
 </p>
 </body>
diff --git a/tp/tests/layout/res_parser/formatting_chm/subsection.html 
b/tp/tests/layout/res_parser/formatting_chm/subsection.html
index 7dad532..52f4bdc 100644
--- a/tp/tests/layout/res_parser/formatting_chm/subsection.html
+++ b/tp/tests/layout/res_parser/formatting_chm/subsection.html
@@ -653,11 +653,13 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="subsection"></span><span id="subsection-1"></span><h3 
class="subsection">1.1.1 subsection</h3>
+<div class="subsection" id="subsection">
+<div class="node" id="subsection-1">
+<h3 class="subsection">1.1.1 subsection</h3>
 
 
 <span id="anchor"></span>
-<p>
+</div><p>
 
 </p>
 </body>
diff --git 
a/tp/tests/layout/res_parser/formatting_chm/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
 
b/tp/tests/layout/res_parser/formatting_chm/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
index 93b9232..a750fa9 100644
--- 
a/tp/tests/layout/res_parser/formatting_chm/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
+++ 
b/tp/tests/layout/res_parser/formatting_chm/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
@@ -653,9 +653,11 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d"></span><span 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1"></span><h4 
class="subsubsection">1.1.1.1 subsubsection &ldquo;simple-double&ndash;</h4>
+<div class="subsubsection" 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d">
+<div class="node" id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1">
+<h4 class="subsubsection">1.1.1.1 subsubsection 
&ldquo;simple-double&ndash;</h4>
 
-<p>
+</div><p>
 
 </p>
 </body>
diff --git 
a/tp/tests/layout/res_parser/formatting_chm/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
 
b/tp/tests/layout/res_parser/formatting_chm/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
index 2072913..2113132 100644
--- 
a/tp/tests/layout/res_parser/formatting_chm/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
+++ 
b/tp/tests/layout/res_parser/formatting_chm/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
@@ -653,9 +653,12 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><span
 id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><h4 
class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
+</div>
+<div class="subsubsection" 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<div class="node" id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<h4 class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
 
-<p>
+</div><p>
 
 </p>
 </body>
diff --git a/tp/tests/layout/res_parser/formatting_exotic/chapter.html 
b/tp/tests/layout/res_parser/formatting_exotic/chapter.html
index b6bd89a..9eb0886 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/chapter.html
@@ -654,7 +654,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -669,12 +670,13 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="chapter-1"></span><h1 class="chapter"><a 
href="formatting_toc.html#toc-chapter-1">chapter</a></h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter"><a 
href="formatting_toc.html#toc-chapter-1">chapter</a></h1>
 
 <p><a id="DOCF9" href="#FOOT9"><sup>7</sup></a>
 </p>
 
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h3 class="footnotes-heading">Footnotes</h3>
 
@@ -689,6 +691,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a 
href="s_002d_002dect_002cion.html#s_002d_002dect_002cion" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter2.html" title="Next 
chapter"> &gt;&gt; </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_exotic/chapter2.html 
b/tp/tests/layout/res_parser/formatting_exotic/chapter2.html
index e1159a7..1ddc0ab 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/chapter2.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/chapter2.html
@@ -654,7 +654,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="centerchap" id="chapter2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="s_002d_002dect_002cion.html#subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"
 title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -669,7 +670,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="chapter-2"></span><h1 class="centerchap" align="center"><a 
href="formatting_toc.html#toc-chapter-2">chapter 2</a></h1>
+<div class="node" id="chapter-2">
+<h1 class="centerchap" align="center"><a 
href="formatting_toc.html#toc-chapter-2">chapter 2</a></h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#chapter-2_cp_symbol-1"><b>&quot;</b></a>
  &nbsp; 
@@ -992,7 +994,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="s_002d_002dect_002cion.html#subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"
 title="Previous section in reading order"> &lt; </a>]</td>
@@ -1000,6 +1002,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[ &gt; ]</td>
 <td valign="middle" align="left">[ &gt;&gt; ]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_exotic/formatting_abt.html 
b/tp/tests/layout/res_parser/formatting_exotic/formatting_abt.html
index ce3d3b5..8bd3863 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/formatting_abt.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/formatting_abt.html
@@ -654,7 +654,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -763,7 +763,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git a/tp/tests/layout/res_parser/formatting_exotic/formatting_ovr.html 
b/tp/tests/layout/res_parser/formatting_exotic/formatting_ovr.html
index 7935fae..9d4c44e 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/formatting_ovr.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/formatting_ovr.html
@@ -654,7 +654,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Overview"></span>
+<div class="Overview_element" id="SEC_Overview">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -669,7 +669,7 @@ ul.no-bullet {list-style: none}
 <li><a id="stoc-chapter-2" href="chapter2.html" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git a/tp/tests/layout/res_parser/formatting_exotic/formatting_toc.html 
b/tp/tests/layout/res_parser/formatting_exotic/formatting_toc.html
index 7440d67..7c4a559 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/formatting_toc.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/formatting_toc.html
@@ -654,7 +654,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -680,7 +680,7 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-chapter-2" href="chapter2.html" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/tests/layout/res_parser/formatting_exotic/index.html 
b/tp/tests/layout/res_parser/formatting_exotic/index.html
index 56164da..a1f69f4 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/index.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/index.html
@@ -655,7 +655,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -663,7 +664,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="Top-section"></span><h1 class="top"><a 
href="formatting_toc.html#toc-Top-section">Top section</a></h1>
+<div class="node" id="Top-section">
+<h1 class="top"><a href="formatting_toc.html#toc-Top-section">Top 
section</a></h1>
 
 
 
@@ -1312,16 +1314,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2067,16 +2074,21 @@ html ''
 
 
 
-<span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-1"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-1"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-1">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-1">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-1">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-1">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2906,20 +2918,25 @@ html ''
 
 
 
-</pre><span id="majorheading-2"></span><strong>majorheading</strong>
-<pre class="example">
+</pre><div class="majorheading" id="majorheading-2">
+<strong>majorheading</strong>
+</div><pre class="example">
 
-</pre><span id="chapheading-2"></span><strong>chapheading</strong>
-<pre class="example">
+</pre><div class="chapheading" id="chapheading-2">
+<strong>chapheading</strong>
+</div><pre class="example">
 
-</pre><span id="heading-2"></span><strong>heading</strong>
-<pre class="example">
+</pre><div class="heading" id="heading-2">
+<strong>heading</strong>
+</div><pre class="example">
 
-</pre><span id="subheading-2"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-2">
+<strong>subheading</strong>
+</div><pre class="example">
 
-</pre><span id="subsubheading-2"></span><strong>subsubheading</strong>
-<pre class="example">
+</pre><div class="subsubheading" id="subsubheading-2">
+<strong>subsubheading</strong>
+</div><pre class="example">
 
 
 <code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym title="an 
accronym , ...">--a</acronym> (an accronym , ...)
@@ -3458,7 +3475,7 @@ Invalid use of @':
 
 
 
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h3 class="footnotes-heading">Footnotes</h3>
 
@@ -3484,6 +3501,7 @@ Invalid use of @':
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/layout/res_parser/formatting_exotic/s_002d_002dect_002cion.html 
b/tp/tests/layout/res_parser/formatting_exotic/s_002d_002dect_002cion.html
index 80c1976..ecc7b33 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/s_002d_002dect_002cion.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/s_002d_002dect_002cion.html
@@ -654,7 +654,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="s_002d_002dect_002cion"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="s_002d_002dect_002cion">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Up section"> 
Up </a>]</td>
@@ -669,21 +670,29 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
-<span id="A-section"></span><h2 class="section"><a 
href="formatting_toc.html#toc-A-section">A section</a></h2>
+<div class="node" id="A-section">
+<h2 class="section"><a href="formatting_toc.html#toc-A-section">A 
section</a></h2>
 
 
-<hr>
-<span id="subsection"></span><span id="subsection-1"></span><h3 
class="subsection"><a 
href="formatting_toc.html#toc-subsection-1">subsection</a></h3>
+</div><hr>
+<div class="subsection" id="subsection">
+<div class="node" id="subsection-1">
+<h3 class="subsection"><a 
href="formatting_toc.html#toc-subsection-1">subsection</a></h3>
 
 
 <span id="anchor"></span>
-<hr>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d"></span><span 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1"></span><h4 
class="subsubsection"><a 
href="formatting_toc.html#toc-subsubsection-_0060_0060simple_002ddouble_002d_002d-1">subsubsection
 &ldquo;simple-double&ndash;</a></h4>
-
-<hr>
-<span 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><span
 id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><h4 
class="subsubsection"><a 
href="formatting_toc.html#toc-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">three&mdash;four&mdash;-&rdquo;</a></h4>
-
-<hr>
+</div><hr>
+<div class="subsubsection" 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d">
+<div class="node" id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1">
+<h4 class="subsubsection"><a 
href="formatting_toc.html#toc-subsubsection-_0060_0060simple_002ddouble_002d_002d-1">subsubsection
 &ldquo;simple-double&ndash;</a></h4>
+
+</div><hr>
+</div>
+<div class="subsubsection" 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<div class="node" id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<h4 class="subsubsection"><a 
href="formatting_toc.html#toc-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">three&mdash;four&mdash;-&rdquo;</a></h4>
+
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d" title="Previous 
section in reading order"> &lt; </a>]</td>
@@ -691,6 +700,9 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="chapter2.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter2.html" title="Next 
chapter"> &gt;&gt; </a>]</td>
 </tr></table>
+</div>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html 
b/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
index ae354ec..aa5a767 100644
--- a/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
@@ -1048,62 +1048,62 @@ i&ndash;tem 1
 f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2</sup>
 </em></div>
 <dl class="def">
-<dt id="index-titlepage-d_002d_002deffn_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--effn_name</strong> 
<em>a--rguments...</em><a href='#index-titlepage-d_002d_002deffn_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-d_002d_002deffn_005fname"><span 
class="category">c--ategory: </span><span><strong>d--effn_name</strong> 
<em>a--rguments...</em><a href='#index-titlepage-d_002d_002deffn_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;effn
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-titlepage-de_002d_002dffn_005fname"><span 
class="category">cate--gory&nbsp;: </span><span><strong>de--ffn_name</strong> 
<em>ar--guments    more args <br> even more so</em><a 
href='#index-titlepage-de_002d_002dffn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-titlepage-de_002d_002dffn_005fname"><span 
class="category">cate--gory: </span><span><strong>de--ffn_name</strong> 
<em>ar--guments    more args <br> even more so</em><a 
href='#index-titlepage-de_002d_002dffn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>def&ndash;fn
 </p></dd></dl>
  
 <dl class="def">
-<dt id="index-titlepage-i"><span class="category">fset&nbsp;: 
</span><span><strong><var>i</var></strong> <em>a g</em><a 
href='#index-titlepage-i' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-i"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a 
href='#index-titlepage-i' class='copiable-anchor'> &para;</a></span></dt>
 <dd><span id="index-titlepage-index-entry-within-deffn"></span>
-</dd><dt id="index-titlepage-truc"><span class="category">cmde&nbsp;: 
</span><span><strong>truc</strong> <em></em><a href='#index-titlepage-truc' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-titlepage-log-trap"><span class="category">Command&nbsp;: 
</span><span><strong>log trap</strong> <em></em><a 
href='#index-titlepage-log-trap' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-titlepage-log-trap1"><span class="category">Command&nbsp;: 
</span><span><strong>log trap1</strong> <em></em><a 
href='#index-titlepage-log-trap1' class='copiable-anchor'> 
&para;</a></span></dt>
-<dt id="index-titlepage-log-trap2"><span class="category">Command&nbsp;: 
</span><span><strong>log trap2</strong> <em></em><a 
href='#index-titlepage-log-trap2' class='copiable-anchor'> 
&para;</a></span></dt>
-<dt id="index-titlepage-id-ule"><span class="category">cmde&nbsp;: 
</span><span><strong><b>id ule</b></strong> <em>truc</em><a 
href='#index-titlepage-id-ule' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-titlepage-id-i-ule"><span class="category">cmde2&nbsp;: 
</span><span><strong><b>id &lsquo;<samp>i</samp>&rsquo; ule</b></strong> 
<em>truc</em><a href='#index-titlepage-id-i-ule' class='copiable-anchor'> 
&para;</a></span></dt>
-<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>&nbsp;: 
</span><span><strong></strong></span></dt>
+</dd><dt id="index-titlepage-truc"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-titlepage-truc' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-log-trap"><span class="category">Command: 
</span><span><strong>log trap</strong> <em></em><a 
href='#index-titlepage-log-trap' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-log-trap1"><span class="category">Command: 
</span><span><strong>log trap1</strong> <em></em><a 
href='#index-titlepage-log-trap1' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-titlepage-log-trap2"><span class="category">Command: 
</span><span><strong>log trap2</strong> <em></em><a 
href='#index-titlepage-log-trap2' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-titlepage-id-ule"><span class="category">cmde: 
</span><span><strong><b>id ule</b></strong> <em>truc</em><a 
href='#index-titlepage-id-ule' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-id-i-ule"><span class="category">cmde2: 
</span><span><strong><b>id &lsquo;<samp>i</samp>&rsquo; ule</b></strong> 
<em>truc</em><a href='#index-titlepage-id-i-ule' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>: 
</span><span><strong></strong></span></dt>
 <dt><span><strong></strong></span></dt>
-<dt><span class="category">aaa&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt id="index-titlepage-machin"><span class="category">&nbsp;: 
</span><span><strong>machin</strong><a href='#index-titlepage-machin' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-titlepage-bidule-machin"><span class="category">&nbsp;: 
</span><span><strong>bidule machin</strong><a 
href='#index-titlepage-bidule-machin' class='copiable-anchor'> 
&para;</a></span></dt>
-<dt id="index-titlepage-machin-1"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong><a href='#index-titlepage-machin-1' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt><span class="category">truc&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt id="index-titlepage-followed"><span class="category">truc&nbsp;: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-titlepage-followed' class='copiable-anchor'> &para;</a></span></dt>
-<dt><span class="category">truc&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt id="index-titlepage-a"><span class="category">truc&nbsp;: 
</span><span><strong>a</strong> <em>b c d e <b>f g</b> h i</em><a 
href='#index-titlepage-a' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-titlepage-deffnx"><span class="category">truc&nbsp;: 
</span><span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-titlepage-deffnx' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">aaa: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-titlepage-machin"><span class="category">: 
</span><span><strong>machin</strong><a href='#index-titlepage-machin' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-bidule-machin"><span class="category">: 
</span><span><strong>bidule machin</strong><a 
href='#index-titlepage-bidule-machin' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-titlepage-machin-1"><span class="category">truc: 
</span><span><strong>machin</strong><a href='#index-titlepage-machin-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt id="index-titlepage-followed"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-titlepage-followed' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-titlepage-a"><span class="category">truc: 
</span><span><strong>a</strong> <em>b c d e <b>f g</b> h i</em><a 
href='#index-titlepage-a' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-deffnx"><span class="category">truc: 
</span><span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-titlepage-deffnx' class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-titlepage-deffn"><span class="category">empty&nbsp;: 
</span><span><strong>deffn</strong><a href='#index-titlepage-deffn' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-deffn"><span class="category">empty: 
</span><span><strong>deffn</strong><a href='#index-titlepage-deffn' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-titlepage-deffn-1"><span class="category">empty&nbsp;: 
</span><span><strong>deffn</strong> <em>with deffnx</em><a 
href='#index-titlepage-deffn-1' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-titlepage-deffnx-1"><span class="category">empty&nbsp;: 
</span><span><strong>deffnx</strong><a href='#index-titlepage-deffnx-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-deffn-1"><span class="category">empty: 
</span><span><strong>deffn</strong> <em>with deffnx</em><a 
href='#index-titlepage-deffn-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-deffnx-1"><span class="category">empty: 
</span><span><strong>deffnx</strong><a href='#index-titlepage-deffnx-1' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-titlepage-i-1"><span class="category">fset&nbsp;: 
</span><span><strong><var>i</var></strong> <em>a g</em><a 
href='#index-titlepage-i-1' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-titlepage-truc-1"><span class="category">cmde&nbsp;: 
</span><span><strong>truc</strong> <em></em><a href='#index-titlepage-truc-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-i-1"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a 
href='#index-titlepage-i-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-truc-1"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-titlepage-truc-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>text in def item for second def item
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-titlepage-d_002d_002defvr_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--efvr_name</strong><a 
href='#index-titlepage-d_002d_002defvr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-titlepage-d_002d_002defvr_005fname"><span 
class="category">c--ategory: </span><span><strong>d--efvr_name</strong><a 
href='#index-titlepage-d_002d_002defvr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efvr
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-titlepage-d_002d_002deftypefn_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypefn_name</strong> <em>a--rguments...</em><a 
href='#index-titlepage-d_002d_002deftypefn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-titlepage-d_002d_002deftypefn_005fname"><span 
class="category">c--ategory: </span><span><em>t--ype</em> 
<strong>d--eftypefn_name</strong> <em>a--rguments...</em><a 
href='#index-titlepage-d_002d_002deftypefn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypefn
 </p></dd></dl>
 
@@ -1113,7 +1113,7 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 
2}\left({x-\mu \over \sigma}\
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-titlepage-d_002d_002deftypevr_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypevr_name</strong><a 
href='#index-titlepage-d_002d_002deftypevr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-titlepage-d_002d_002deftypevr_005fname"><span 
class="category">c--ategory: </span><span><em>t--ype</em> 
<strong>d--eftypevr_name</strong><a 
href='#index-titlepage-d_002d_002deftypevr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypevr
 </p></dd></dl>
 
@@ -1128,42 +1128,42 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 
2}\left({x-\mu \over \sigma}\
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-titlepage-d_002d_002deftp_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--eftp_name</strong> 
<em>a--ttributes...</em><a href='#index-titlepage-d_002d_002deftp_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-d_002d_002deftp_005fname"><span 
class="category">c--ategory: </span><span><strong>d--eftp_name</strong> 
<em>a--ttributes...</em><a href='#index-titlepage-d_002d_002deftp_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;eftp
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-titlepage-d_002d_002defun_005fname"><span 
class="category">Fonction&nbsp;: </span><span><strong>d--efun_name</strong> 
<em>a--rguments...</em><a href='#index-titlepage-d_002d_002defun_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-d_002d_002defun_005fname"><span 
class="category">Fonction: </span><span><strong>d--efun_name</strong> 
<em>a--rguments...</em><a href='#index-titlepage-d_002d_002defun_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efun
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-titlepage-d_002d_002defmac_005fname"><span 
class="category">Macro&nbsp;: </span><span><strong>d--efmac_name</strong> 
<em>a--rguments...</em><a href='#index-titlepage-d_002d_002defmac_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-d_002d_002defmac_005fname"><span 
class="category">Macro: </span><span><strong>d--efmac_name</strong> 
<em>a--rguments...</em><a href='#index-titlepage-d_002d_002defmac_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efmac
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-titlepage-d_002d_002defspec_005fname"><span 
class="category">Forme Sp&eacute;ciale&nbsp;: 
</span><span><strong>d--efspec_name</strong> <em>a--rguments...</em><a 
href='#index-titlepage-d_002d_002defspec_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-titlepage-d_002d_002defspec_005fname"><span 
class="category">Forme Sp&eacute;ciale: 
</span><span><strong>d--efspec_name</strong> <em>a--rguments...</em><a 
href='#index-titlepage-d_002d_002defspec_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efspec
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-titlepage-d_002d_002defvar_005fname"><span 
class="category">Variable&nbsp;: </span><span><strong>d--efvar_name</strong> 
<em>argvar argvar1</em><a href='#index-titlepage-d_002d_002defvar_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-d_002d_002defvar_005fname"><span 
class="category">Variable: </span><span><strong>d--efvar_name</strong> 
<em>argvar argvar1</em><a href='#index-titlepage-d_002d_002defvar_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efvar
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-titlepage-d_002d_002defopt_005fname"><span 
class="category">Option de l'utilisateur&nbsp;: 
</span><span><strong>d--efopt_name</strong><a 
href='#index-titlepage-d_002d_002defopt_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-titlepage-d_002d_002defopt_005fname"><span 
class="category">Option de l'utilisateur: 
</span><span><strong>d--efopt_name</strong><a 
href='#index-titlepage-d_002d_002defopt_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efopt
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-titlepage-d_002d_002deftypefun_005fname"><span 
class="category">Fonction&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypefun_name</strong> <em>a--rguments...</em><a 
href='#index-titlepage-d_002d_002deftypefun_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-titlepage-d_002d_002deftypefun_005fname"><span 
class="category">Fonction: </span><span><em>t--ype</em> 
<strong>d--eftypefun_name</strong> <em>a--rguments...</em><a 
href='#index-titlepage-d_002d_002deftypefun_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypefun
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-titlepage-d_002d_002deftypevar_005fname"><span 
class="category">Variable&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypevar_name</strong><a 
href='#index-titlepage-d_002d_002deftypevar_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-titlepage-d_002d_002deftypevar_005fname"><span 
class="category">Variable: </span><span><em>t--ype</em> 
<strong>d--eftypevar_name</strong><a 
href='#index-titlepage-d_002d_002deftypevar_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypevar
 </p></dd></dl>
 
@@ -1300,16 +1300,21 @@ html ''
 
 
 
-<span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-3"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-3"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-3">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-3">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-3">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-3">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -1364,14 +1369,14 @@ html ''
 </li></ul>
 
 <dl class="def">
-<dt><span class="category">fun&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt id="index-titlepage-machin-2"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-titlepage-machin-2' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-titlepage-machin-3"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-titlepage-machin-3' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-titlepage-machin-4"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-titlepage-machin-4' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-titlepage-machin-5"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-titlepage-machin-5' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-titlepage-followed-1"><span class="category">truc&nbsp;: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-titlepage-followed-1' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt><span class="category">fun: </span><span><strong></strong></span></dt>
+<dt id="index-titlepage-machin-2"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-titlepage-machin-2' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-machin-3"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-titlepage-machin-3' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-machin-4"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-titlepage-machin-4' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-machin-5"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-titlepage-machin-5' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-titlepage-followed-1"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-titlepage-followed-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>Various deff lines
-</p></dd><dt id="index-titlepage-after"><span class="category">truc&nbsp;: 
</span><span><strong>after</strong> <em>a deff item</em><a 
href='#index-titlepage-after' class='copiable-anchor'> &para;</a></span></dt>
+</p></dd><dt id="index-titlepage-after"><span class="category">truc: 
</span><span><strong>after</strong> <em>a deff item</em><a 
href='#index-titlepage-after' class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <p><code>@ref{node}</code> &lsquo;node&rsquo;
@@ -1804,62 +1809,62 @@ i&ndash;tem 1
 f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2</sup>
 </em></div>
 <dl class="def">
-<dt id="index-copying-d_002d_002deffn_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--effn_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002deffn_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-d_002d_002deffn_005fname"><span 
class="category">c--ategory: </span><span><strong>d--effn_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002deffn_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;effn
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-de_002d_002dffn_005fname"><span 
class="category">cate--gory&nbsp;: </span><span><strong>de--ffn_name</strong> 
<em>ar--guments    more args <br> even more so</em><a 
href='#index-copying-de_002d_002dffn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-de_002d_002dffn_005fname"><span 
class="category">cate--gory: </span><span><strong>de--ffn_name</strong> 
<em>ar--guments    more args <br> even more so</em><a 
href='#index-copying-de_002d_002dffn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>def&ndash;fn
 </p></dd></dl>
  
 <dl class="def">
-<dt id="index-copying-i"><span class="category">fset&nbsp;: 
</span><span><strong><var>i</var></strong> <em>a g</em><a 
href='#index-copying-i' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-i"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a 
href='#index-copying-i' class='copiable-anchor'> &para;</a></span></dt>
 <dd><span id="index-copying-index-entry-within-deffn"></span>
-</dd><dt id="index-copying-truc"><span class="category">cmde&nbsp;: 
</span><span><strong>truc</strong> <em></em><a href='#index-copying-truc' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-log-trap"><span class="category">Command&nbsp;: 
</span><span><strong>log trap</strong> <em></em><a 
href='#index-copying-log-trap' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-log-trap1"><span class="category">Command&nbsp;: 
</span><span><strong>log trap1</strong> <em></em><a 
href='#index-copying-log-trap1' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-log-trap2"><span class="category">Command&nbsp;: 
</span><span><strong>log trap2</strong> <em></em><a 
href='#index-copying-log-trap2' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-id-ule"><span class="category">cmde&nbsp;: 
</span><span><strong><b>id ule</b></strong> <em>truc</em><a 
href='#index-copying-id-ule' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-id-i-ule"><span class="category">cmde2&nbsp;: 
</span><span><strong><b>id &lsquo;<samp>i</samp>&rsquo; ule</b></strong> 
<em>truc</em><a href='#index-copying-id-i-ule' class='copiable-anchor'> 
&para;</a></span></dt>
-<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>&nbsp;: 
</span><span><strong></strong></span></dt>
+</dd><dt id="index-copying-truc"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-copying-truc' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-log-trap"><span class="category">Command: 
</span><span><strong>log trap</strong> <em></em><a 
href='#index-copying-log-trap' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-log-trap1"><span class="category">Command: 
</span><span><strong>log trap1</strong> <em></em><a 
href='#index-copying-log-trap1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-log-trap2"><span class="category">Command: 
</span><span><strong>log trap2</strong> <em></em><a 
href='#index-copying-log-trap2' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-id-ule"><span class="category">cmde: 
</span><span><strong><b>id ule</b></strong> <em>truc</em><a 
href='#index-copying-id-ule' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-id-i-ule"><span class="category">cmde2: 
</span><span><strong><b>id &lsquo;<samp>i</samp>&rsquo; ule</b></strong> 
<em>truc</em><a href='#index-copying-id-i-ule' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>: 
</span><span><strong></strong></span></dt>
 <dt><span><strong></strong></span></dt>
-<dt><span class="category">aaa&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt id="index-copying-machin"><span class="category">&nbsp;: 
</span><span><strong>machin</strong><a href='#index-copying-machin' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-bidule-machin"><span class="category">&nbsp;: 
</span><span><strong>bidule machin</strong><a 
href='#index-copying-bidule-machin' class='copiable-anchor'> 
&para;</a></span></dt>
-<dt id="index-copying-machin-1"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong><a href='#index-copying-machin-1' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt><span class="category">truc&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt id="index-copying-followed"><span class="category">truc&nbsp;: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-copying-followed' class='copiable-anchor'> &para;</a></span></dt>
-<dt><span class="category">truc&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt id="index-copying-a"><span class="category">truc&nbsp;: 
</span><span><strong>a</strong> <em>b c d e <b>f g</b> h i</em><a 
href='#index-copying-a' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-deffnx"><span class="category">truc&nbsp;: 
</span><span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-copying-deffnx' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">aaa: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-copying-machin"><span class="category">: 
</span><span><strong>machin</strong><a href='#index-copying-machin' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-bidule-machin"><span class="category">: 
</span><span><strong>bidule machin</strong><a 
href='#index-copying-bidule-machin' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-machin-1"><span class="category">truc: 
</span><span><strong>machin</strong><a href='#index-copying-machin-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt id="index-copying-followed"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-copying-followed' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-copying-a"><span class="category">truc: 
</span><span><strong>a</strong> <em>b c d e <b>f g</b> h i</em><a 
href='#index-copying-a' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-deffnx"><span class="category">truc: 
</span><span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-copying-deffnx' class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-copying-deffn"><span class="category">empty&nbsp;: 
</span><span><strong>deffn</strong><a href='#index-copying-deffn' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-deffn"><span class="category">empty: 
</span><span><strong>deffn</strong><a href='#index-copying-deffn' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-copying-deffn-1"><span class="category">empty&nbsp;: 
</span><span><strong>deffn</strong> <em>with deffnx</em><a 
href='#index-copying-deffn-1' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-deffnx-1"><span class="category">empty&nbsp;: 
</span><span><strong>deffnx</strong><a href='#index-copying-deffnx-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-deffn-1"><span class="category">empty: 
</span><span><strong>deffn</strong> <em>with deffnx</em><a 
href='#index-copying-deffn-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-deffnx-1"><span class="category">empty: 
</span><span><strong>deffnx</strong><a href='#index-copying-deffnx-1' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-copying-i-1"><span class="category">fset&nbsp;: 
</span><span><strong><var>i</var></strong> <em>a g</em><a 
href='#index-copying-i-1' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-truc-1"><span class="category">cmde&nbsp;: 
</span><span><strong>truc</strong> <em></em><a href='#index-copying-truc-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-i-1"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a 
href='#index-copying-i-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-truc-1"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-copying-truc-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>text in def item for second def item
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defvr_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--efvr_name</strong><a 
href='#index-copying-d_002d_002defvr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-d_002d_002defvr_005fname"><span 
class="category">c--ategory: </span><span><strong>d--efvr_name</strong><a 
href='#index-copying-d_002d_002defvr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efvr
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftypefn_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypefn_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypefn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-d_002d_002deftypefn_005fname"><span 
class="category">c--ategory: </span><span><em>t--ype</em> 
<strong>d--eftypefn_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypefn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypefn
 </p></dd></dl>
 
@@ -1869,7 +1874,7 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 
2}\left({x-\mu \over \sigma}\
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftypevr_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypevr_name</strong><a 
href='#index-copying-d_002d_002deftypevr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-d_002d_002deftypevr_005fname"><span 
class="category">c--ategory: </span><span><em>t--ype</em> 
<strong>d--eftypevr_name</strong><a 
href='#index-copying-d_002d_002deftypevr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypevr
 </p></dd></dl>
 
@@ -1884,42 +1889,42 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 
2}\left({x-\mu \over \sigma}\
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftp_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--eftp_name</strong> 
<em>a--ttributes...</em><a href='#index-copying-d_002d_002deftp_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-d_002d_002deftp_005fname"><span 
class="category">c--ategory: </span><span><strong>d--eftp_name</strong> 
<em>a--ttributes...</em><a href='#index-copying-d_002d_002deftp_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;eftp
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defun_005fname"><span 
class="category">Fonction&nbsp;: </span><span><strong>d--efun_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002defun_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-d_002d_002defun_005fname"><span 
class="category">Fonction: </span><span><strong>d--efun_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002defun_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efun
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defmac_005fname"><span 
class="category">Macro&nbsp;: </span><span><strong>d--efmac_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002defmac_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-d_002d_002defmac_005fname"><span class="category">Macro: 
</span><span><strong>d--efmac_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002defmac_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efmac
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defspec_005fname"><span class="category">Forme 
Sp&eacute;ciale&nbsp;: </span><span><strong>d--efspec_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002defspec_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-d_002d_002defspec_005fname"><span class="category">Forme 
Sp&eacute;ciale: </span><span><strong>d--efspec_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002defspec_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efspec
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defvar_005fname"><span 
class="category">Variable&nbsp;: </span><span><strong>d--efvar_name</strong> 
<em>argvar argvar1</em><a href='#index-copying-d_002d_002defvar_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-d_002d_002defvar_005fname"><span 
class="category">Variable: </span><span><strong>d--efvar_name</strong> 
<em>argvar argvar1</em><a href='#index-copying-d_002d_002defvar_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efvar
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defopt_005fname"><span class="category">Option 
de l'utilisateur&nbsp;: </span><span><strong>d--efopt_name</strong><a 
href='#index-copying-d_002d_002defopt_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-d_002d_002defopt_005fname"><span class="category">Option 
de l'utilisateur: </span><span><strong>d--efopt_name</strong><a 
href='#index-copying-d_002d_002defopt_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efopt
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftypefun_005fname"><span 
class="category">Fonction&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypefun_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypefun_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-d_002d_002deftypefun_005fname"><span 
class="category">Fonction: </span><span><em>t--ype</em> 
<strong>d--eftypefun_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypefun_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypefun
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftypevar_005fname"><span 
class="category">Variable&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypevar_name</strong><a 
href='#index-copying-d_002d_002deftypevar_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-d_002d_002deftypevar_005fname"><span 
class="category">Variable: </span><span><em>t--ype</em> 
<strong>d--eftypevar_name</strong><a 
href='#index-copying-d_002d_002deftypevar_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypevar
 </p></dd></dl>
 
@@ -2056,16 +2061,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2120,14 +2130,14 @@ html ''
 </li></ul>
 
 <dl class="def">
-<dt><span class="category">fun&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt id="index-copying-machin-2"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-copying-machin-2' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-machin-3"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-copying-machin-3' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-machin-4"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-copying-machin-4' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-machin-5"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-copying-machin-5' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-followed-1"><span class="category">truc&nbsp;: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-copying-followed-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">fun: </span><span><strong></strong></span></dt>
+<dt id="index-copying-machin-2"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-copying-machin-2' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-machin-3"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-copying-machin-3' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-machin-4"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-copying-machin-4' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-machin-5"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-copying-machin-5' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-followed-1"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-copying-followed-1' class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>Various deff lines
-</p></dd><dt id="index-copying-after"><span class="category">truc&nbsp;: 
</span><span><strong>after</strong> <em>a deff item</em><a 
href='#index-copying-after' class='copiable-anchor'> &para;</a></span></dt>
+</p></dd><dt id="index-copying-after"><span class="category">truc: 
</span><span><strong>after</strong> <em>a deff item</em><a 
href='#index-copying-after' class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <p><code>@ref{node}</code> &lsquo;node&rsquo;
@@ -2170,7 +2180,8 @@ html ''
 
 <hr>
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left"><img src="a_left_na.png" border="0" 
alt="Arri&egrave;re" align="middle"></td>
 <td valign="middle" align="left"><a href="#chapter" title="Section suivante 
dans l&rsquo;ordre de lecture"><img src="a_right.png" border="0" alt="Avant: 1 
chapter" align="middle"></a></td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -2178,7 +2189,8 @@ html ''
 <td valign="middle" align="left"><a href="#Top" title="Index"><img 
src="a_index.png" border="0" alt="Index: Top section" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"><img src="a_help.png" border="0" alt="A propos: A propos de ce 
document" align="middle"></a></td>
 </tr></table>
-<span id="Top-section"></span><h1 class="top">Top section</h1>
+<div class="node" id="Top-section">
+<h1 class="top">Top section</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#chapter">1 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top"></td></tr>
@@ -2584,62 +2596,62 @@ i&ndash;tem 1
 f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2</sup>
 </em></div>
 <dl class="def">
-<dt id="index-copying-d_002d_002deffn_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--effn_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002deffn_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-d_002d_002deffn_005fname"><span 
class="category">c--ategory: </span><span><strong>d--effn_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002deffn_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;effn
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-de_002d_002dffn_005fname"><span 
class="category">cate--gory&nbsp;: </span><span><strong>de--ffn_name</strong> 
<em>ar--guments    more args <br> even more so</em><a 
href='#index-copying-de_002d_002dffn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-de_002d_002dffn_005fname"><span 
class="category">cate--gory: </span><span><strong>de--ffn_name</strong> 
<em>ar--guments    more args <br> even more so</em><a 
href='#index-copying-de_002d_002dffn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>def&ndash;fn
 </p></dd></dl>
  
 <dl class="def">
-<dt id="index-copying-i"><span class="category">fset&nbsp;: 
</span><span><strong><var>i</var></strong> <em>a g</em><a 
href='#index-copying-i' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-i"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a 
href='#index-copying-i' class='copiable-anchor'> &para;</a></span></dt>
 <dd><span id="index-copying-index-entry-within-deffn"></span>
-</dd><dt id="index-copying-truc"><span class="category">cmde&nbsp;: 
</span><span><strong>truc</strong> <em></em><a href='#index-copying-truc' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-log-trap"><span class="category">Command&nbsp;: 
</span><span><strong>log trap</strong> <em></em><a 
href='#index-copying-log-trap' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-log-trap1"><span class="category">Command&nbsp;: 
</span><span><strong>log trap1</strong> <em></em><a 
href='#index-copying-log-trap1' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-log-trap2"><span class="category">Command&nbsp;: 
</span><span><strong>log trap2</strong> <em></em><a 
href='#index-copying-log-trap2' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-id-ule"><span class="category">cmde&nbsp;: 
</span><span><strong><b>id ule</b></strong> <em>truc</em><a 
href='#index-copying-id-ule' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-id-i-ule"><span class="category">cmde2&nbsp;: 
</span><span><strong><b>id &lsquo;<samp>i</samp>&rsquo; ule</b></strong> 
<em>truc</em><a href='#index-copying-id-i-ule' class='copiable-anchor'> 
&para;</a></span></dt>
-<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>&nbsp;: 
</span><span><strong></strong></span></dt>
+</dd><dt id="index-copying-truc"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-copying-truc' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-log-trap"><span class="category">Command: 
</span><span><strong>log trap</strong> <em></em><a 
href='#index-copying-log-trap' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-log-trap1"><span class="category">Command: 
</span><span><strong>log trap1</strong> <em></em><a 
href='#index-copying-log-trap1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-log-trap2"><span class="category">Command: 
</span><span><strong>log trap2</strong> <em></em><a 
href='#index-copying-log-trap2' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-id-ule"><span class="category">cmde: 
</span><span><strong><b>id ule</b></strong> <em>truc</em><a 
href='#index-copying-id-ule' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-id-i-ule"><span class="category">cmde2: 
</span><span><strong><b>id &lsquo;<samp>i</samp>&rsquo; ule</b></strong> 
<em>truc</em><a href='#index-copying-id-i-ule' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>: 
</span><span><strong></strong></span></dt>
 <dt><span><strong></strong></span></dt>
-<dt><span class="category">aaa&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt id="index-copying-machin"><span class="category">&nbsp;: 
</span><span><strong>machin</strong><a href='#index-copying-machin' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-bidule-machin"><span class="category">&nbsp;: 
</span><span><strong>bidule machin</strong><a 
href='#index-copying-bidule-machin' class='copiable-anchor'> 
&para;</a></span></dt>
-<dt id="index-copying-machin-1"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong><a href='#index-copying-machin-1' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt><span class="category">truc&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt id="index-copying-followed"><span class="category">truc&nbsp;: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-copying-followed' class='copiable-anchor'> &para;</a></span></dt>
-<dt><span class="category">truc&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt id="index-copying-a"><span class="category">truc&nbsp;: 
</span><span><strong>a</strong> <em>b c d e <b>f g</b> h i</em><a 
href='#index-copying-a' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-deffnx"><span class="category">truc&nbsp;: 
</span><span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-copying-deffnx' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">aaa: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-copying-machin"><span class="category">: 
</span><span><strong>machin</strong><a href='#index-copying-machin' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-bidule-machin"><span class="category">: 
</span><span><strong>bidule machin</strong><a 
href='#index-copying-bidule-machin' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-machin-1"><span class="category">truc: 
</span><span><strong>machin</strong><a href='#index-copying-machin-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt id="index-copying-followed"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-copying-followed' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-copying-a"><span class="category">truc: 
</span><span><strong>a</strong> <em>b c d e <b>f g</b> h i</em><a 
href='#index-copying-a' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-deffnx"><span class="category">truc: 
</span><span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-copying-deffnx' class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-copying-deffn"><span class="category">empty&nbsp;: 
</span><span><strong>deffn</strong><a href='#index-copying-deffn' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-deffn"><span class="category">empty: 
</span><span><strong>deffn</strong><a href='#index-copying-deffn' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-copying-deffn-1"><span class="category">empty&nbsp;: 
</span><span><strong>deffn</strong> <em>with deffnx</em><a 
href='#index-copying-deffn-1' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-deffnx-1"><span class="category">empty&nbsp;: 
</span><span><strong>deffnx</strong><a href='#index-copying-deffnx-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-deffn-1"><span class="category">empty: 
</span><span><strong>deffn</strong> <em>with deffnx</em><a 
href='#index-copying-deffn-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-deffnx-1"><span class="category">empty: 
</span><span><strong>deffnx</strong><a href='#index-copying-deffnx-1' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-copying-i-1"><span class="category">fset&nbsp;: 
</span><span><strong><var>i</var></strong> <em>a g</em><a 
href='#index-copying-i-1' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-truc-1"><span class="category">cmde&nbsp;: 
</span><span><strong>truc</strong> <em></em><a href='#index-copying-truc-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-i-1"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a 
href='#index-copying-i-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-truc-1"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-copying-truc-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>text in def item for second def item
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defvr_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--efvr_name</strong><a 
href='#index-copying-d_002d_002defvr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-d_002d_002defvr_005fname"><span 
class="category">c--ategory: </span><span><strong>d--efvr_name</strong><a 
href='#index-copying-d_002d_002defvr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efvr
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftypefn_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypefn_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypefn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-d_002d_002deftypefn_005fname"><span 
class="category">c--ategory: </span><span><em>t--ype</em> 
<strong>d--eftypefn_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypefn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypefn
 </p></dd></dl>
 
@@ -2649,7 +2661,7 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 
2}\left({x-\mu \over \sigma}\
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftypevr_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypevr_name</strong><a 
href='#index-copying-d_002d_002deftypevr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-d_002d_002deftypevr_005fname"><span 
class="category">c--ategory: </span><span><em>t--ype</em> 
<strong>d--eftypevr_name</strong><a 
href='#index-copying-d_002d_002deftypevr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypevr
 </p></dd></dl>
 
@@ -2664,42 +2676,42 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 
2}\left({x-\mu \over \sigma}\
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftp_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--eftp_name</strong> 
<em>a--ttributes...</em><a href='#index-copying-d_002d_002deftp_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-d_002d_002deftp_005fname"><span 
class="category">c--ategory: </span><span><strong>d--eftp_name</strong> 
<em>a--ttributes...</em><a href='#index-copying-d_002d_002deftp_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;eftp
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defun_005fname"><span 
class="category">Fonction&nbsp;: </span><span><strong>d--efun_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002defun_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-d_002d_002defun_005fname"><span 
class="category">Fonction: </span><span><strong>d--efun_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002defun_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efun
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defmac_005fname"><span 
class="category">Macro&nbsp;: </span><span><strong>d--efmac_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002defmac_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-d_002d_002defmac_005fname"><span class="category">Macro: 
</span><span><strong>d--efmac_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002defmac_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efmac
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defspec_005fname"><span class="category">Forme 
Sp&eacute;ciale&nbsp;: </span><span><strong>d--efspec_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002defspec_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-d_002d_002defspec_005fname"><span class="category">Forme 
Sp&eacute;ciale: </span><span><strong>d--efspec_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002defspec_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efspec
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defvar_005fname"><span 
class="category">Variable&nbsp;: </span><span><strong>d--efvar_name</strong> 
<em>argvar argvar1</em><a href='#index-copying-d_002d_002defvar_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-d_002d_002defvar_005fname"><span 
class="category">Variable: </span><span><strong>d--efvar_name</strong> 
<em>argvar argvar1</em><a href='#index-copying-d_002d_002defvar_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efvar
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defopt_005fname"><span class="category">Option 
de l'utilisateur&nbsp;: </span><span><strong>d--efopt_name</strong><a 
href='#index-copying-d_002d_002defopt_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-d_002d_002defopt_005fname"><span class="category">Option 
de l'utilisateur: </span><span><strong>d--efopt_name</strong><a 
href='#index-copying-d_002d_002defopt_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efopt
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftypefun_005fname"><span 
class="category">Fonction&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypefun_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypefun_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-d_002d_002deftypefun_005fname"><span 
class="category">Fonction: </span><span><em>t--ype</em> 
<strong>d--eftypefun_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypefun_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypefun
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftypevar_005fname"><span 
class="category">Variable&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypevar_name</strong><a 
href='#index-copying-d_002d_002deftypevar_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-d_002d_002deftypevar_005fname"><span 
class="category">Variable: </span><span><em>t--ype</em> 
<strong>d--eftypevar_name</strong><a 
href='#index-copying-d_002d_002deftypevar_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypevar
 </p></dd></dl>
 
@@ -2836,16 +2848,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2900,14 +2917,14 @@ html ''
 </li></ul>
 
 <dl class="def">
-<dt><span class="category">fun&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt id="index-copying-machin-2"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-copying-machin-2' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-machin-3"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-copying-machin-3' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-machin-4"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-copying-machin-4' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-machin-5"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-copying-machin-5' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-copying-followed-1"><span class="category">truc&nbsp;: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-copying-followed-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">fun: </span><span><strong></strong></span></dt>
+<dt id="index-copying-machin-2"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-copying-machin-2' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-machin-3"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-copying-machin-3' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-machin-4"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-copying-machin-4' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-machin-5"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-copying-machin-5' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-followed-1"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-copying-followed-1' class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>Various deff lines
-</p></dd><dt id="index-copying-after"><span class="category">truc&nbsp;: 
</span><span><strong>after</strong> <em>a deff item</em><a 
href='#index-copying-after' class='copiable-anchor'> &para;</a></span></dt>
+</p></dd><dt id="index-copying-after"><span class="category">truc: 
</span><span><strong>after</strong> <em>a deff item</em><a 
href='#index-copying-after' class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <p><code>@ref{node}</code> &lsquo;node&rsquo;
@@ -3339,62 +3356,62 @@ i&ndash;tem 1
 f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2</sup>
 </em></div>
 <dl class="def">
-<dt id="index-d_002d_002deffn_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--effn_name</strong> 
<em>a--rguments...</em><a href='#index-d_002d_002deffn_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-d_002d_002deffn_005fname"><span class="category">c--ategory: 
</span><span><strong>d--effn_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deffn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;effn
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-de_002d_002dffn_005fname"><span 
class="category">cate--gory&nbsp;: </span><span><strong>de--ffn_name</strong> 
<em>ar--guments    more args <br> even more so</em><a 
href='#index-de_002d_002dffn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-de_002d_002dffn_005fname"><span class="category">cate--gory: 
</span><span><strong>de--ffn_name</strong> <em>ar--guments    more args <br> 
even more so</em><a href='#index-de_002d_002dffn_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>def&ndash;fn
 </p></dd></dl>
  
 <dl class="def">
-<dt id="index-i"><span class="category">fset&nbsp;: 
</span><span><strong><var>i</var></strong> <em>a g</em><a href='#index-i' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-i"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a href='#index-i' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><span id="index-index-entry-within-deffn"></span>
-</dd><dt id="index-truc"><span class="category">cmde&nbsp;: 
</span><span><strong>truc</strong> <em></em><a href='#index-truc' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-log-trap"><span class="category">Command&nbsp;: 
</span><span><strong>log trap</strong> <em></em><a href='#index-log-trap' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-log-trap1"><span class="category">Command&nbsp;: 
</span><span><strong>log trap1</strong> <em></em><a href='#index-log-trap1' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-log-trap2"><span class="category">Command&nbsp;: 
</span><span><strong>log trap2</strong> <em></em><a href='#index-log-trap2' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-id-ule"><span class="category">cmde&nbsp;: 
</span><span><strong><b>id ule</b></strong> <em>truc</em><a 
href='#index-id-ule' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-id-i-ule"><span class="category">cmde2&nbsp;: 
</span><span><strong><b>id &lsquo;<samp>i</samp>&rsquo; ule</b></strong> 
<em>truc</em><a href='#index-id-i-ule' class='copiable-anchor'> 
&para;</a></span></dt>
-<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>&nbsp;: 
</span><span><strong></strong></span></dt>
+</dd><dt id="index-truc"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-truc' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-log-trap"><span class="category">Command: 
</span><span><strong>log trap</strong> <em></em><a href='#index-log-trap' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-log-trap1"><span class="category">Command: 
</span><span><strong>log trap1</strong> <em></em><a href='#index-log-trap1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-log-trap2"><span class="category">Command: 
</span><span><strong>log trap2</strong> <em></em><a href='#index-log-trap2' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-id-ule"><span class="category">cmde: </span><span><strong><b>id 
ule</b></strong> <em>truc</em><a href='#index-id-ule' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-id-i-ule"><span class="category">cmde2: 
</span><span><strong><b>id &lsquo;<samp>i</samp>&rsquo; ule</b></strong> 
<em>truc</em><a href='#index-id-i-ule' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>: 
</span><span><strong></strong></span></dt>
 <dt><span><strong></strong></span></dt>
-<dt><span class="category">aaa&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt id="index-machin"><span class="category">&nbsp;: 
</span><span><strong>machin</strong><a href='#index-machin' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-bidule-machin"><span class="category">&nbsp;: 
</span><span><strong>bidule machin</strong><a href='#index-bidule-machin' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-machin-1"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong><a href='#index-machin-1' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt><span class="category">truc&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt id="index-followed"><span class="category">truc&nbsp;: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed' class='copiable-anchor'> &para;</a></span></dt>
-<dt><span class="category">truc&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt id="index-a-1"><span class="category">truc&nbsp;: 
</span><span><strong>a</strong> <em>b c d e <b>f g</b> h i</em><a 
href='#index-a-1' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-deffnx"><span class="category">truc&nbsp;: 
</span><span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-deffnx' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">aaa: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-machin"><span class="category">: 
</span><span><strong>machin</strong><a href='#index-machin' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-bidule-machin"><span class="category">: 
</span><span><strong>bidule machin</strong><a href='#index-bidule-machin' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-1"><span class="category">truc: 
</span><span><strong>machin</strong><a href='#index-machin-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt id="index-followed"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-a-1"><span class="category">truc: 
</span><span><strong>a</strong> <em>b c d e <b>f g</b> h i</em><a 
href='#index-a-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-deffnx"><span class="category">truc: 
</span><span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-deffnx' class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-deffn"><span class="category">empty&nbsp;: 
</span><span><strong>deffn</strong><a href='#index-deffn' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-deffn"><span class="category">empty: 
</span><span><strong>deffn</strong><a href='#index-deffn' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-deffn-1"><span class="category">empty&nbsp;: 
</span><span><strong>deffn</strong> <em>with deffnx</em><a 
href='#index-deffn-1' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-deffnx-1"><span class="category">empty&nbsp;: 
</span><span><strong>deffnx</strong><a href='#index-deffnx-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-deffn-1"><span class="category">empty: 
</span><span><strong>deffn</strong> <em>with deffnx</em><a 
href='#index-deffn-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-deffnx-1"><span class="category">empty: 
</span><span><strong>deffnx</strong><a href='#index-deffnx-1' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-i-1"><span class="category">fset&nbsp;: 
</span><span><strong><var>i</var></strong> <em>a g</em><a href='#index-i-1' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-truc-1"><span class="category">cmde&nbsp;: 
</span><span><strong>truc</strong> <em></em><a href='#index-truc-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-i-1"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a href='#index-i-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-truc-1"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-truc-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>text in def item for second def item
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defvr_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--efvr_name</strong><a 
href='#index-d_002d_002defvr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-d_002d_002defvr_005fname"><span class="category">c--ategory: 
</span><span><strong>d--efvr_name</strong><a 
href='#index-d_002d_002defvr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efvr
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002deftypefn_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypefn_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deftypefn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-d_002d_002deftypefn_005fname"><span class="category">c--ategory: 
</span><span><em>t--ype</em> <strong>d--eftypefn_name</strong> 
<em>a--rguments...</em><a href='#index-d_002d_002deftypefn_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;eftypefn
 </p></dd></dl>
 
@@ -3404,7 +3421,7 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 
2}\left({x-\mu \over \sigma}\
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002deftypevr_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypevr_name</strong><a href='#index-d_002d_002deftypevr_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-d_002d_002deftypevr_005fname"><span class="category">c--ategory: 
</span><span><em>t--ype</em> <strong>d--eftypevr_name</strong><a 
href='#index-d_002d_002deftypevr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypevr
 </p></dd></dl>
 
@@ -3419,42 +3436,42 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 
2}\left({x-\mu \over \sigma}\
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002deftp_005fname"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--eftp_name</strong> 
<em>a--ttributes...</em><a href='#index-d_002d_002deftp_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-d_002d_002deftp_005fname"><span class="category">c--ategory: 
</span><span><strong>d--eftp_name</strong> <em>a--ttributes...</em><a 
href='#index-d_002d_002deftp_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftp
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defun_005fname"><span class="category">Fonction&nbsp;: 
</span><span><strong>d--efun_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defun_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-d_002d_002defun_005fname"><span class="category">Fonction: 
</span><span><strong>d--efun_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defun_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efun
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defmac_005fname"><span class="category">Macro&nbsp;: 
</span><span><strong>d--efmac_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defmac_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-d_002d_002defmac_005fname"><span class="category">Macro: 
</span><span><strong>d--efmac_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defmac_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efmac
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defspec_005fname"><span class="category">Forme 
Sp&eacute;ciale&nbsp;: </span><span><strong>d--efspec_name</strong> 
<em>a--rguments...</em><a href='#index-d_002d_002defspec_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-d_002d_002defspec_005fname"><span class="category">Forme 
Sp&eacute;ciale: </span><span><strong>d--efspec_name</strong> 
<em>a--rguments...</em><a href='#index-d_002d_002defspec_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efspec
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defvar_005fname"><span 
class="category">Variable&nbsp;: </span><span><strong>d--efvar_name</strong> 
<em>argvar argvar1</em><a href='#index-d_002d_002defvar_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-d_002d_002defvar_005fname"><span class="category">Variable: 
</span><span><strong>d--efvar_name</strong> <em>argvar argvar1</em><a 
href='#index-d_002d_002defvar_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efvar
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defopt_005fname"><span class="category">Option de 
l'utilisateur&nbsp;: </span><span><strong>d--efopt_name</strong><a 
href='#index-d_002d_002defopt_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-d_002d_002defopt_005fname"><span class="category">Option de 
l'utilisateur: </span><span><strong>d--efopt_name</strong><a 
href='#index-d_002d_002defopt_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efopt
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002deftypefun_005fname"><span 
class="category">Fonction&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypefun_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deftypefun_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-d_002d_002deftypefun_005fname"><span class="category">Fonction: 
</span><span><em>t--ype</em> <strong>d--eftypefun_name</strong> 
<em>a--rguments...</em><a href='#index-d_002d_002deftypefun_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;eftypefun
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002deftypevar_005fname"><span 
class="category">Variable&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypevar_name</strong><a 
href='#index-d_002d_002deftypevar_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-d_002d_002deftypevar_005fname"><span class="category">Variable: 
</span><span><em>t--ype</em> <strong>d--eftypevar_name</strong><a 
href='#index-d_002d_002deftypevar_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypevar
 </p></dd></dl>
 
@@ -3591,16 +3608,21 @@ html ''
 
 
 
-<span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-1"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-1"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-1">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-1">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-1">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-1">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -3655,14 +3677,14 @@ html ''
 </li></ul>
 
 <dl class="def">
-<dt><span class="category">fun&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt id="index-machin-2"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-machin-2' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-machin-3"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-machin-3' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-machin-4"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-machin-4' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-machin-5"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-machin-5' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-followed-1"><span class="category">truc&nbsp;: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">fun: </span><span><strong></strong></span></dt>
+<dt id="index-machin-2"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-machin-2' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-3"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-machin-3' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-4"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-machin-4' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-5"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-machin-5' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-followed-1"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed-1' class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>Various deff lines
-</p></dd><dt id="index-after"><span class="category">truc&nbsp;: 
</span><span><strong>after</strong> <em>a deff item</em><a href='#index-after' 
class='copiable-anchor'> &para;</a></span></dt>
+</p></dd><dt id="index-after"><span class="category">truc: 
</span><span><strong>after</strong> <em>a deff item</em><a href='#index-after' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <p><code>@ref{node}</code> &lsquo;node&rsquo;
@@ -4146,68 +4168,68 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 
2}\left({x-\mu \over \sigma}\
 </em></div><pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deffn_005fname-1"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--effn_name</strong> 
<em>a--rguments...</em><a href='#index-d_002d_002deffn_005fname-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-d_002d_002deffn_005fname-1"><span class="category">c--ategory: 
</span><span><strong>d--effn_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deffn_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--effn
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-de_002d_002dffn_005fname-1"><span 
class="category">cate--gory&nbsp;: </span><span><strong>de--ffn_name</strong> 
<em>ar--guments    more args 
+<dt id="index-de_002d_002dffn_005fname-1"><span class="category">cate--gory: 
</span><span><strong>de--ffn_name</strong> <em>ar--guments    more args 
  even more so</em><a href='#index-de_002d_002dffn_005fname-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">def--fn
 </pre></dd></dl>
 <pre class="example"> 
 </pre><dl class="def">
-<dt id="index-i-2"><span class="category">fset&nbsp;: 
</span><span><strong><var>i</var></strong> <em>a g</em><a href='#index-i-2' 
class='copiable-anchor'> &para;</a></span></dt>
-<dd><pre class="example"><span 
id="index-index-entry-within-deffn-1"></span></pre></dd><dt 
id="index-truc-2"><span class="category">cmde&nbsp;: 
</span><span><strong>truc</strong> <em></em><a href='#index-truc-2' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-log-trap-1"><span class="category">Command&nbsp;: 
</span><span><strong>log trap</strong> <em></em><a href='#index-log-trap-1' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-log-trap1-1"><span class="category">Command&nbsp;: 
</span><span><strong>log trap1</strong> <em></em><a href='#index-log-trap1-1' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-log-trap2-1"><span class="category">Command&nbsp;: 
</span><span><strong>log trap2</strong> <em></em><a href='#index-log-trap2-1' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-id-ule-1"><span class="category">cmde&nbsp;: 
</span><span><strong><b>id ule</b></strong> <em>truc</em><a 
href='#index-id-ule-1' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-id-i-ule-1"><span class="category">cmde2&nbsp;: 
</span><span><strong><b>id &lsquo;<samp>i</samp>&rsquo; ule</b></strong> 
<em>truc</em><a href='#index-id-i-ule-1' class='copiable-anchor'> 
&para;</a></span></dt>
-<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>&nbsp;: 
</span><span><strong></strong></span></dt>
+<dt id="index-i-2"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a href='#index-i-2' 
class='copiable-anchor'> &para;</a></span></dt>
+<dd><pre class="example"><span 
id="index-index-entry-within-deffn-1"></span></pre></dd><dt 
id="index-truc-2"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-truc-2' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-log-trap-1"><span class="category">Command: 
</span><span><strong>log trap</strong> <em></em><a href='#index-log-trap-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-log-trap1-1"><span class="category">Command: 
</span><span><strong>log trap1</strong> <em></em><a href='#index-log-trap1-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-log-trap2-1"><span class="category">Command: 
</span><span><strong>log trap2</strong> <em></em><a href='#index-log-trap2-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-id-ule-1"><span class="category">cmde: 
</span><span><strong><b>id ule</b></strong> <em>truc</em><a 
href='#index-id-ule-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-id-i-ule-1"><span class="category">cmde2: 
</span><span><strong><b>id &lsquo;<samp>i</samp>&rsquo; ule</b></strong> 
<em>truc</em><a href='#index-id-i-ule-1' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>: 
</span><span><strong></strong></span></dt>
 <dt><span><strong></strong></span></dt>
-<dt><span class="category">aaa&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt id="index-machin-6"><span class="category">&nbsp;: 
</span><span><strong>machin</strong><a href='#index-machin-6' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-bidule-machin-1"><span class="category">&nbsp;: 
</span><span><strong>bidule machin</strong><a href='#index-bidule-machin-1' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-machin-7"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong><a href='#index-machin-7' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt><span class="category">truc&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt id="index-followed-2"><span class="category">truc&nbsp;: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed-2' class='copiable-anchor'> &para;</a></span></dt>
-<dt><span class="category">truc&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt><span class="category">&nbsp;: </span><span><strong></strong></span></dt>
-<dt id="index-a-3"><span class="category">truc&nbsp;: 
</span><span><strong>a</strong> <em>b c d e <b>f g</b> h i</em><a 
href='#index-a-3' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-deffnx-2"><span class="category">truc&nbsp;: 
</span><span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-deffnx-2' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">aaa: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-machin-6"><span class="category">: 
</span><span><strong>machin</strong><a href='#index-machin-6' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-bidule-machin-1"><span class="category">: 
</span><span><strong>bidule machin</strong><a href='#index-bidule-machin-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-7"><span class="category">truc: 
</span><span><strong>machin</strong><a href='#index-machin-7' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt id="index-followed-2"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed-2' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-a-3"><span class="category">truc: 
</span><span><strong>a</strong> <em>b c d e <b>f g</b> h i</em><a 
href='#index-a-3' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-deffnx-2"><span class="category">truc: 
</span><span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-deffnx-2' class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-deffn-2"><span class="category">empty&nbsp;: 
</span><span><strong>deffn</strong><a href='#index-deffn-2' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-deffn-2"><span class="category">empty: 
</span><span><strong>deffn</strong><a href='#index-deffn-2' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-deffn-3"><span class="category">empty&nbsp;: 
</span><span><strong>deffn</strong> <em>with deffnx</em><a 
href='#index-deffn-3' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-deffnx-3"><span class="category">empty&nbsp;: 
</span><span><strong>deffnx</strong><a href='#index-deffnx-3' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-deffn-3"><span class="category">empty: 
</span><span><strong>deffn</strong> <em>with deffnx</em><a 
href='#index-deffn-3' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-deffnx-3"><span class="category">empty: 
</span><span><strong>deffnx</strong><a href='#index-deffnx-3' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-i-3"><span class="category">fset&nbsp;: 
</span><span><strong><var>i</var></strong> <em>a g</em><a href='#index-i-3' 
class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-truc-3"><span class="category">cmde&nbsp;: 
</span><span><strong>truc</strong> <em></em><a href='#index-truc-3' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-i-3"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a href='#index-i-3' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-truc-3"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-truc-3' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">text in def item for second def item
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defvr_005fname-1"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--efvr_name</strong><a 
href='#index-d_002d_002defvr_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-d_002d_002defvr_005fname-1"><span class="category">c--ategory: 
</span><span><strong>d--efvr_name</strong><a 
href='#index-d_002d_002defvr_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--efvr
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deftypefn_005fname-1"><span 
class="category">c--ategory&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypefn_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deftypefn_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-d_002d_002deftypefn_005fname-1"><span 
class="category">c--ategory: </span><span><em>t--ype</em> 
<strong>d--eftypefn_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deftypefn_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--eftypefn
 </pre></dd></dl>
 <pre class="example">
@@ -4219,7 +4241,7 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 
2}\left({x-\mu \over \sigma}\
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deftypevr_005fname-1"><span 
class="category">c--ategory&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypevr_name</strong><a 
href='#index-d_002d_002deftypevr_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-d_002d_002deftypevr_005fname-1"><span 
class="category">c--ategory: </span><span><em>t--ype</em> 
<strong>d--eftypevr_name</strong><a 
href='#index-d_002d_002deftypevr_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--eftypevr
 </pre></dd></dl>
 <pre class="example">
@@ -4237,49 +4259,49 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e<sup>-{1 \over 
2}\left({x-\mu \over \sigma}\
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deftp_005fname-1"><span 
class="category">c--ategory&nbsp;: </span><span><strong>d--eftp_name</strong> 
<em>a--ttributes...</em><a href='#index-d_002d_002deftp_005fname-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-d_002d_002deftp_005fname-1"><span class="category">c--ategory: 
</span><span><strong>d--eftp_name</strong> <em>a--ttributes...</em><a 
href='#index-d_002d_002deftp_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--eftp
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defun_005fname-1"><span 
class="category">Fonction&nbsp;: </span><span><strong>d--efun_name</strong> 
<em>a--rguments...</em><a href='#index-d_002d_002defun_005fname-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-d_002d_002defun_005fname-1"><span class="category">Fonction: 
</span><span><strong>d--efun_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defun_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--efun
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defmac_005fname-1"><span class="category">Macro&nbsp;: 
</span><span><strong>d--efmac_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defmac_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-d_002d_002defmac_005fname-1"><span class="category">Macro: 
</span><span><strong>d--efmac_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defmac_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--efmac
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defspec_005fname-1"><span class="category">Forme 
Sp&eacute;ciale&nbsp;: </span><span><strong>d--efspec_name</strong> 
<em>a--rguments...</em><a href='#index-d_002d_002defspec_005fname-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-d_002d_002defspec_005fname-1"><span class="category">Forme 
Sp&eacute;ciale: </span><span><strong>d--efspec_name</strong> 
<em>a--rguments...</em><a href='#index-d_002d_002defspec_005fname-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">d--efspec
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defvar_005fname-1"><span 
class="category">Variable&nbsp;: </span><span><strong>d--efvar_name</strong> 
<em>argvar argvar1</em><a href='#index-d_002d_002defvar_005fname-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-d_002d_002defvar_005fname-1"><span class="category">Variable: 
</span><span><strong>d--efvar_name</strong> <em>argvar argvar1</em><a 
href='#index-d_002d_002defvar_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--efvar
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defopt_005fname-1"><span class="category">Option de 
l'utilisateur&nbsp;: </span><span><strong>d--efopt_name</strong><a 
href='#index-d_002d_002defopt_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-d_002d_002defopt_005fname-1"><span class="category">Option de 
l'utilisateur: </span><span><strong>d--efopt_name</strong><a 
href='#index-d_002d_002defopt_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--efopt
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deftypefun_005fname-1"><span 
class="category">Fonction&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypefun_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deftypefun_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-d_002d_002deftypefun_005fname-1"><span 
class="category">Fonction: </span><span><em>t--ype</em> 
<strong>d--eftypefun_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deftypefun_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--eftypefun
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deftypevar_005fname-1"><span 
class="category">Variable&nbsp;: </span><span><em>t--ype</em> 
<strong>d--eftypevar_name</strong><a 
href='#index-d_002d_002deftypevar_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-d_002d_002deftypevar_005fname-1"><span 
class="category">Variable: </span><span><em>t--ype</em> 
<strong>d--eftypevar_name</strong><a 
href='#index-d_002d_002deftypevar_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--eftypevar
 </pre></dd></dl>
 <pre class="example">
@@ -4430,20 +4452,25 @@ html ''
 
 
 
-</pre><span id="majorheading-2"></span><strong>majorheading</strong>
-<pre class="example">
+</pre><div class="majorheading" id="majorheading-2">
+<strong>majorheading</strong>
+</div><pre class="example">
 
-</pre><span id="chapheading-2"></span><strong>chapheading</strong>
-<pre class="example">
+</pre><div class="chapheading" id="chapheading-2">
+<strong>chapheading</strong>
+</div><pre class="example">
 
-</pre><span id="heading-2"></span><strong>heading</strong>
-<pre class="example">
+</pre><div class="heading" id="heading-2">
+<strong>heading</strong>
+</div><pre class="example">
 
-</pre><span id="subheading-2"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-2">
+<strong>subheading</strong>
+</div><pre class="example">
 
-</pre><span id="subsubheading-2"></span><strong>subsubheading</strong>
-<pre class="example">
+</pre><div class="subsubheading" id="subsubheading-2">
+<strong>subsubheading</strong>
+</div><pre class="example">
 
 
 <code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym title="an 
accronym , ...">--a</acronym> (an accronym , ...)
@@ -4505,14 +4532,14 @@ Invalid use of @':
 <pre class="example">
 
 </pre><dl class="def">
-<dt><span class="category">fun&nbsp;: 
</span><span><strong></strong></span></dt>
-<dt id="index-machin-8"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-machin-8' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-machin-9"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-machin-9' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-machin-10"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-machin-10' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-machin-11"><span class="category">truc&nbsp;: 
</span><span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-machin-11' class='copiable-anchor'> &para;</a></span></dt>
-<dt id="index-followed-3"><span class="category">truc&nbsp;: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed-3' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">fun: </span><span><strong></strong></span></dt>
+<dt id="index-machin-8"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-machin-8' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-9"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-machin-9' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-10"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-machin-10' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-11"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-machin-11' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-followed-3"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed-3' class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">Various deff lines
-</pre></dd><dt id="index-after-1"><span class="category">truc&nbsp;: 
</span><span><strong>after</strong> <em>a deff item</em><a 
href='#index-after-1' class='copiable-anchor'> &para;</a></span></dt>
+</pre></dd><dt id="index-after-1"><span class="category">truc: 
</span><span><strong>after</strong> <em>a deff item</em><a 
href='#index-after-1' class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 <pre class="example">
 
@@ -4982,8 +5009,9 @@ Invalid use of @':
 
 
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left"><a href="#Top" title="D&eacute;but de ce 
chapitre ou chapitre pr&eacute;c&eacute;dent"><img src="a_leftdouble.png" 
border="0" alt="RetourRapide: Top section" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#Top" title="Section 
pr&eacute;c&eacute;dente dans l&rsquo;ordre de lecture"><img src="a_left.png" 
border="0" alt="Arri&egrave;re: Top section" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#Top" title="Section 
sup&eacute;rieure"><img src="a_up.png" border="0" alt="Monter: Top section" 
align="middle"></a></td>
@@ -4998,7 +5026,8 @@ Invalid use of @':
 <td valign="middle" align="left"><a href="#Top" title="Index"><img 
src="a_index.png" border="0" alt="Index: Top section" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"><img src="a_help.png" border="0" alt="A propos: A propos de ce 
document" align="middle"></a></td>
 </tr></table>
-<span id="chapter-1"></span><h1 class="chapter">1 chapter</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <p><a id="DOCF9" href="#FOOT9"><sup>11</sup></a>
 </p>
@@ -5014,8 +5043,9 @@ Menu comment
 </pre></td></tr></table>
 </div>
 
-<hr>
-<span id="s_002d_002dect_002cion"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="s_002d_002dect_002cion">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left"><a href="#chapter" title="D&eacute;but de 
ce chapitre ou chapitre pr&eacute;c&eacute;dent"><img src="a_leftdouble.png" 
border="0" alt="RetourRapide: 1 chapter" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#chapter" title="Section 
pr&eacute;c&eacute;dente dans l&rsquo;ordre de lecture"><img src="a_left.png" 
border="0" alt="Arri&egrave;re: 1 chapter" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#chapter" title="Section 
sup&eacute;rieure"><img src="a_up.png" border="0" alt="Monter: 1 chapter" 
align="middle"></a></td>
@@ -5030,7 +5060,8 @@ Menu comment
 <td valign="middle" align="left"><a href="#Top" title="Index"><img 
src="a_index.png" border="0" alt="Index: Top section" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"><img src="a_help.png" border="0" alt="A propos: A propos de ce 
document" align="middle"></a></td>
 </tr></table>
-<span id="A-section"></span><h2 class="section">1.1 A section</h2>
+<div class="node" id="A-section">
+<h2 class="section">1.1 A section</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#subsection">1.1.1 
subsection</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -5045,8 +5076,9 @@ Menu comment
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left"><a href="#chapter" title="D&eacute;but de 
ce chapitre ou chapitre pr&eacute;c&eacute;dent"><img src="a_leftdouble.png" 
border="0" alt="RetourRapide: 1 chapter" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#s_002d_002dect_002cion" 
title="Section pr&eacute;c&eacute;dente dans l&rsquo;ordre de lecture"><img 
src="a_left.png" border="0" alt="Arri&egrave;re: 1.1 A section" 
align="middle"></a></td>
 <td valign="middle" align="left"><a href="#s_002d_002dect_002cion" 
title="Section sup&eacute;rieure"><img src="a_up.png" border="0" alt="Monter: 
1.1 A section" align="middle"></a></td>
@@ -5061,7 +5093,8 @@ Menu comment
 <td valign="middle" align="left"><a href="#Top" title="Index"><img 
src="a_index.png" border="0" alt="Index: Top section" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"><img src="a_help.png" border="0" alt="A propos: A propos de ce 
document" align="middle"></a></td>
 </tr></table>
-<span id="subsection-1"></span><h3 class="subsection">1.1.1 subsection</h3>
+<div class="node" id="subsection-1">
+<h3 class="subsection">1.1.1 subsection</h3>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d">1.1.1.1 
subsubsection &ldquo;simple-double&ndash;</a></td><td>&nbsp;&nbsp;</td><td 
align="left" valign="top">
@@ -5071,8 +5104,9 @@ Menu comment
 </table>
 
 <span id="anchor"></span>
-<hr>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d"></span><table 
class="header" cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+<div class="subsubsection" 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left"><a href="#chapter" title="D&eacute;but de 
ce chapitre ou chapitre pr&eacute;c&eacute;dent"><img src="a_leftdouble.png" 
border="0" alt="RetourRapide: 1 chapter" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#subsection" title="Section 
pr&eacute;c&eacute;dente dans l&rsquo;ordre de lecture"><img src="a_left.png" 
border="0" alt="Arri&egrave;re: 1.1.1 subsection" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#subsection" title="Section 
sup&eacute;rieure"><img src="a_up.png" border="0" alt="Monter: 1.1.1 
subsection" align="middle"></a></td>
@@ -5087,10 +5121,13 @@ Menu comment
 <td valign="middle" align="left"><a href="#Top" title="Index"><img 
src="a_index.png" border="0" alt="Index: Top section" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"><img src="a_help.png" border="0" alt="A propos: A propos de ce 
document" align="middle"></a></td>
 </tr></table>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1"></span><h4 
class="subsubsection">1.1.1.1 subsubsection &ldquo;simple-double&ndash;</h4>
+<div class="node" id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1">
+<h4 class="subsubsection">1.1.1.1 subsubsection 
&ldquo;simple-double&ndash;</h4>
 
-<hr>
-<span 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><table
 class="header" cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="subsubsection" 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left"><a href="#chapter" title="D&eacute;but de 
ce chapitre ou chapitre pr&eacute;c&eacute;dent"><img src="a_leftdouble.png" 
border="0" alt="RetourRapide: 1 chapter" align="middle"></a></td>
 <td valign="middle" align="left"><a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d" title="Section 
pr&eacute;c&eacute;dente dans l&rsquo;ordre de lecture"><img src="a_left.png" 
border="0" alt="Arri&egrave;re: 1.1.1.1 subsubsection 
&ldquo;simple-double&ndash;" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#subsection" title="Section 
sup&eacute;rieure"><img src="a_up.png" border="0" alt="Monter: 1.1.1 
subsection" align="middle"></a></td>
@@ -5105,10 +5142,16 @@ Menu comment
 <td valign="middle" align="left"><a href="#Top" title="Index"><img 
src="a_index.png" border="0" alt="Index: Top section" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"><img src="a_help.png" border="0" alt="A propos: A propos de ce 
document" align="middle"></a></td>
 </tr></table>
-<span id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><h4 
class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
+<div class="node" id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<h4 class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
 
-<hr>
-<span id="chapter2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+</div>
+</div>
+</div>
+<div class="centerchap" id="chapter2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left"><a href="#chapter" title="D&eacute;but de 
ce chapitre ou chapitre pr&eacute;c&eacute;dent"><img src="a_leftdouble.png" 
border="0" alt="RetourRapide: 1 chapter" align="middle"></a></td>
 <td valign="middle" align="left"><a 
href="#subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027" 
title="Section pr&eacute;c&eacute;dente dans l&rsquo;ordre de lecture"><img 
src="a_left.png" border="0" alt="Arri&egrave;re: 1.1.1.2 
three&mdash;four&mdash;-&rdquo;" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#Top" title="Section 
sup&eacute;rieure"><img src="a_up.png" border="0" alt="Monter: Top section" 
align="middle"></a></td>
@@ -5123,7 +5166,8 @@ Menu comment
 <td valign="middle" align="left"><a href="#Top" title="Index"><img 
src="a_index.png" border="0" alt="Index: Top section" align="middle"></a></td>
 <td valign="middle" align="left"><a href="#SEC_About" title="A propos (page 
d&rsquo;aide)"><img src="a_help.png" border="0" alt="A propos: A propos de ce 
document" align="middle"></a></td>
 </tr></table>
-<span id="chapter-2"></span><h1 class="centerchap" align="center">chapter 
2</h1>
+<div class="node" id="chapter-2">
+<h1 class="centerchap" align="center">chapter 2</h1>
 
 <table><tr><th valign="top">Aller &agrave;: &nbsp; </th><td><a 
class="summary-letter" href="#chapter-2_cp_symbol-1"><b>&quot;</b></a>
  &nbsp; 
@@ -5446,8 +5490,10 @@ Menu comment
  &nbsp; 
 </td></tr></table>
 
-<hr size="6">
-<span id="SEC_Foot"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left"><a href="#Top" title="Couverture (top) du 
document"><img src="a_top.png" border="0" alt="Racine: Top section" 
align="middle"></a></td>
 <td valign="middle" align="left"><a href="#SEC_Contents" title="Table des 
mati&egrave;res"><img src="a_tableofcon.png" border="0" alt="Table des 
mati&egrave;res: Table des mati&egrave;res" align="middle"></a></td>
@@ -5478,8 +5524,8 @@ Menu comment
 <p>in footnote2</p>
 <h5><a id="FOOT9" href="#DOCF9">(11)</a></h5>
 <p>in footnote</p>
-<hr>
-<span id="SEC_Contents"></span>
+</div><hr>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left"><a href="#Top" title="Couverture (top) du 
document"><img src="a_top.png" border="0" alt="Racine: Top section" 
align="middle"></a></td>
 <td valign="middle" align="left"><a href="#SEC_Contents" title="Table des 
mati&egrave;res"><img src="a_tableofcon.png" border="0" alt="Table des 
mati&egrave;res: Table des mati&egrave;res" align="middle"></a></td>
@@ -5505,8 +5551,8 @@ Menu comment
   <li><a id="toc-chapter-2" href="#chapter2" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_Overview"></span>
+</div><hr>
+<div class="Overview_element" id="SEC_Overview">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left"><a href="#Top" title="Couverture (top) du 
document"><img src="a_top.png" border="0" alt="Racine: Top section" 
align="middle"></a></td>
 <td valign="middle" align="left"><a href="#SEC_Contents" title="Table des 
mati&egrave;res"><img src="a_tableofcon.png" border="0" alt="Table des 
mati&egrave;res: Table des mati&egrave;res" align="middle"></a></td>
@@ -5521,8 +5567,8 @@ Menu comment
 <li><a id="stoc-chapter-2" href="#chapter2" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left"><a href="#Top" title="Couverture (top) du 
document"><img src="a_top.png" border="0" alt="Racine: Top section" 
align="middle"></a></td>
 <td valign="middle" align="left"><a href="#SEC_Contents" title="Table des 
mati&egrave;res"><img src="a_tableofcon.png" border="0" alt="Table des 
mati&egrave;res: Table des mati&egrave;res" align="middle"></a></td>
@@ -5631,7 +5677,7 @@ Menu comment
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   Ce document a &eacute;t&eacute; g&eacute;n&eacute;r&eacute; <em>a sunny 
day</em> en utilisant <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_html/formatting.html 
b/tp/tests/layout/res_parser/formatting_html/formatting.html
index bf153cb..226a919 100644
--- a/tp/tests/layout/res_parser/formatting_html/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_html/formatting.html
@@ -1300,16 +1300,21 @@ html ''
 
 
 
-<span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-3"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-3"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-3">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-3">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-3">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-3">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2056,16 +2061,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2170,7 +2180,8 @@ html ''
 
 <hr>
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -2178,7 +2189,8 @@ html ''
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Top-section"></span><h1 class="top">Top section</h1>
+<div class="node" id="Top-section">
+<h1 class="top">Top section</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#chapter">1 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top"></td></tr>
@@ -2836,16 +2848,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -3591,16 +3608,21 @@ html ''
 
 
 
-<span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-1"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-1"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-1">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-1">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-1">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-1">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -4430,20 +4452,25 @@ html ''
 
 
 
-</pre><span id="majorheading-2"></span><strong>majorheading</strong>
-<pre class="example">
+</pre><div class="majorheading" id="majorheading-2">
+<strong>majorheading</strong>
+</div><pre class="example">
 
-</pre><span id="chapheading-2"></span><strong>chapheading</strong>
-<pre class="example">
+</pre><div class="chapheading" id="chapheading-2">
+<strong>chapheading</strong>
+</div><pre class="example">
 
-</pre><span id="heading-2"></span><strong>heading</strong>
-<pre class="example">
+</pre><div class="heading" id="heading-2">
+<strong>heading</strong>
+</div><pre class="example">
 
-</pre><span id="subheading-2"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-2">
+<strong>subheading</strong>
+</div><pre class="example">
 
-</pre><span id="subsubheading-2"></span><strong>subsubheading</strong>
-<pre class="example">
+</pre><div class="subsubheading" id="subsubheading-2">
+<strong>subsubheading</strong>
+</div><pre class="example">
 
 
 <code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym title="an 
accronym , ...">--a</acronym> (an accronym , ...)
@@ -4982,8 +5009,9 @@ Invalid use of @':
 
 
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -4998,7 +5026,8 @@ Invalid use of @':
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-1"></span><h1 class="chapter">1 chapter</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <p><a id="DOCF9" href="#FOOT9"><sup>11</sup></a>
 </p>
@@ -5014,8 +5043,9 @@ Menu comment
 </pre></td></tr></table>
 </div>
 
-<hr>
-<span id="s_002d_002dect_002cion"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="s_002d_002dect_002cion">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -5030,7 +5060,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="A-section"></span><h2 class="section">1.1 A section</h2>
+<div class="node" id="A-section">
+<h2 class="section">1.1 A section</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#subsection">1.1.1 
subsection</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -5045,8 +5076,9 @@ Menu comment
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#s_002d_002dect_002cion" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#s_002d_002dect_002cion" title="Up 
section"> Up </a>]</td>
@@ -5061,7 +5093,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="subsection-1"></span><h3 class="subsection">1.1.1 subsection</h3>
+<div class="node" id="subsection-1">
+<h3 class="subsection">1.1.1 subsection</h3>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d">1.1.1.1 
subsubsection &ldquo;simple-double&ndash;</a></td><td>&nbsp;&nbsp;</td><td 
align="left" valign="top">
@@ -5071,8 +5104,9 @@ Menu comment
 </table>
 
 <span id="anchor"></span>
-<hr>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d"></span><table 
class="header" cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+<div class="subsubsection" 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Up section"> Up 
</a>]</td>
@@ -5087,10 +5121,13 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1"></span><h4 
class="subsubsection">1.1.1.1 subsubsection &ldquo;simple-double&ndash;</h4>
+<div class="node" id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1">
+<h4 class="subsubsection">1.1.1.1 subsubsection 
&ldquo;simple-double&ndash;</h4>
 
-<hr>
-<span 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><table
 class="header" cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="subsubsection" 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Up section"> Up 
</a>]</td>
@@ -5105,10 +5142,16 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><h4 
class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
+<div class="node" id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<h4 class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
 
-<hr>
-<span id="chapter2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+</div>
+</div>
+</div>
+<div class="centerchap" id="chapter2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="#subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -5123,7 +5166,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-2"></span><h1 class="centerchap" align="center">chapter 
2</h1>
+<div class="node" id="chapter-2">
+<h1 class="centerchap" align="center">chapter 2</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#chapter-2_cp_symbol-1"><b>&quot;</b></a>
  &nbsp; 
@@ -5446,8 +5490,10 @@ Menu comment
  &nbsp; 
 </td></tr></table>
 
-<hr size="6">
-<span id="SEC_Foot"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5478,8 +5524,8 @@ Menu comment
 <p>in footnote2</p>
 <h5><a id="FOOT9" href="#DOCF9">(11)</a></h5>
 <p>in footnote</p>
-<hr>
-<span id="SEC_Contents"></span>
+</div><hr>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5505,8 +5551,8 @@ Menu comment
   <li><a id="toc-chapter-2" href="#chapter2" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_Overview"></span>
+</div><hr>
+<div class="Overview_element" id="SEC_Overview">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5521,8 +5567,8 @@ Menu comment
 <li><a id="stoc-chapter-2" href="#chapter2" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5631,7 +5677,7 @@ Menu comment
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_html32/formatting.html 
b/tp/tests/layout/res_parser/formatting_html32/formatting.html
index 26bff7e..ae0444c 100644
--- a/tp/tests/layout/res_parser/formatting_html32/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_html32/formatting.html
@@ -1264,16 +1264,21 @@ html ''
 
 
 
-<span id="majorheading-3"></span><h1>majorheading</h1>
-
-<span id="chapheading-3"></span><h1>chapheading</h1>
-
-<span id="heading-3"></span><h2>heading</h2>
-
-<span id="subheading-3"></span><h3>subheading</h3>
-
-<span id="subsubheading-3"></span><h4>subsubheading</h4>
-
+<div class="majorheading" id="majorheading-3">
+<h1>majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-3">
+<h1>chapheading</h1>
+</div>
+<div class="heading" id="heading-3">
+<h2>heading</h2>
+</div>
+<div class="subheading" id="subheading-3">
+<h3>subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-3">
+<h4>subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> -a (an accronym 
, <small>...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> 
&Eacute;-. ,A. (&Eacute;tude-, <b>Autonome</b>)
@@ -2003,16 +2008,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1>majorheading</h1>
-
-<span id="chapheading"></span><h1>chapheading</h1>
-
-<span id="heading"></span><h2>heading</h2>
-
-<span id="subheading"></span><h3>subheading</h3>
-
-<span id="subsubheading"></span><h4>subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1>majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1>chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2>heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3>subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4>subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> -a (an accronym 
, <small>...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> 
&Eacute;-. ,A. (&Eacute;tude-, <b>Autonome</b>)
@@ -2117,7 +2127,8 @@ html ''
 
 <hr>
 
-<span id="Top"></span><table cellpadding="1" cellspacing="1" border="0">
+<div class="top" id="Top">
+<table cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -2125,7 +2136,8 @@ html ''
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Top-section"></span><h1>Top section</h1>
+<div class="node" id="Top-section">
+<h1>Top section</h1>
 
 <table border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#chapter">1 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top"></td></tr>
@@ -2766,16 +2778,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1>majorheading</h1>
-
-<span id="chapheading"></span><h1>chapheading</h1>
-
-<span id="heading"></span><h2>heading</h2>
-
-<span id="subheading"></span><h3>subheading</h3>
-
-<span id="subsubheading"></span><h4>subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1>majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1>chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2>heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3>subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4>subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> -a (an accronym 
, <small>...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> 
&Eacute;-. ,A. (&Eacute;tude-, <b>Autonome</b>)
@@ -3504,16 +3521,21 @@ html ''
 
 
 
-<span id="majorheading-1"></span><h1>majorheading</h1>
-
-<span id="chapheading-1"></span><h1>chapheading</h1>
-
-<span id="heading-1"></span><h2>heading</h2>
-
-<span id="subheading-1"></span><h3>subheading</h3>
-
-<span id="subsubheading-1"></span><h4>subsubheading</h4>
-
+<div class="majorheading" id="majorheading-1">
+<h1>majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-1">
+<h1>chapheading</h1>
+</div>
+<div class="heading" id="heading-1">
+<h2>heading</h2>
+</div>
+<div class="subheading" id="subheading-1">
+<h3>subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-1">
+<h4>subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> -a (an accronym 
, <small>...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> 
&Eacute;-. ,A. (&Eacute;tude-, <b>Autonome</b>)
@@ -4325,20 +4347,25 @@ html ''
 
 
 
-</pre><span id="majorheading-2"></span><strong>majorheading</strong>
-<pre>
+</pre><div class="majorheading" id="majorheading-2">
+<strong>majorheading</strong>
+</div><pre>
 
-</pre><span id="chapheading-2"></span><strong>chapheading</strong>
-<pre>
+</pre><div class="chapheading" id="chapheading-2">
+<strong>chapheading</strong>
+</div><pre>
 
-</pre><span id="heading-2"></span><strong>heading</strong>
-<pre>
+</pre><div class="heading" id="heading-2">
+<strong>heading</strong>
+</div><pre>
 
-</pre><span id="subheading-2"></span><strong>subheading</strong>
-<pre>
+</pre><div class="subheading" id="subheading-2">
+<strong>subheading</strong>
+</div><pre>
 
-</pre><span id="subsubheading-2"></span><strong>subsubheading</strong>
-<pre>
+</pre><div class="subsubheading" id="subsubheading-2">
+<strong>subsubheading</strong>
+</div><pre>
 
 
 <code>@acronym{--a,an accronym @comma{} @enddots{}}</code> --a (an accronym , 
...)
@@ -4877,8 +4904,9 @@ Invalid use of @':
 
 
 
-<hr size="6">
-<span id="chapter"></span><table cellpadding="1" cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -4893,7 +4921,8 @@ Invalid use of @':
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-1"></span><h1>1 chapter</h1>
+<div class="node" id="chapter-1">
+<h1>1 chapter</h1>
 
 <p><a id="DOCF9" href="#FOOT9"><sup>11</sup></a>
 </p>
@@ -4908,8 +4937,9 @@ Menu comment
 </pre></td></tr></table>
 
 
-<hr>
-<span id="s_002d_002dect_002cion"></span><table cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="s_002d_002dect_002cion">
+<table cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -4924,7 +4954,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="A-section"></span><h2>1.1 A section</h2>
+<div class="node" id="A-section">
+<h2>1.1 A section</h2>
 
 <table border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#subsection">1.1.1 
subsection</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -4939,8 +4970,9 @@ Menu comment
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><table cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection">
+<table cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#s_002d_002dect_002cion" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#s_002d_002dect_002cion" title="Up 
section"> Up </a>]</td>
@@ -4955,7 +4987,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="subsection-1"></span><h3>1.1.1 subsection</h3>
+<div class="node" id="subsection-1">
+<h3>1.1.1 subsection</h3>
 
 <table border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d">1.1.1.1 
subsubsection &#34;simple-double-</a></td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
@@ -4965,8 +4998,9 @@ Menu comment
 </table>
 
 <span id="anchor"></span>
-<hr>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d"></span><table 
cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+<div class="subsubsection" 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d">
+<table cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Up section"> Up 
</a>]</td>
@@ -4981,10 +5015,13 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1"></span><h4>1.1.1.1 
subsubsection &#34;simple-double-</h4>
+<div class="node" id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1">
+<h4>1.1.1.1 subsubsection &#34;simple-double-</h4>
 
-<hr>
-<span 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><table
 cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="subsubsection" 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<table cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Up section"> Up 
</a>]</td>
@@ -4999,10 +5036,16 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span 
id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><h4>1.1.1.2 
three--four---&#34;</h4>
+<div class="node" id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<h4>1.1.1.2 three--four---&#34;</h4>
 
-<hr>
-<span id="chapter2"></span><table cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+</div>
+</div>
+</div>
+</div>
+<div class="centerchap" id="chapter2">
+<table cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="#subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -5017,7 +5060,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-2"></span><h1 align="center">chapter 2</h1>
+<div class="node" id="chapter-2">
+<h1 align="center">chapter 2</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a 
href="#chapter-2_cp_symbol-1"><b>&#34;</b></a>
  &nbsp; 
@@ -5340,8 +5384,10 @@ Menu comment
  &nbsp; 
 </td></tr></table>
 
-<hr size="6">
-<span id="SEC_Foot"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Footnotes_element" id="SEC_Foot">
 <table cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5372,8 +5418,8 @@ Menu comment
 <p>in footnote2</p>
 <h5><a id="FOOT9" href="#DOCF9">(11)</a></h5>
 <p>in footnote</p>
-<hr>
-<span id="SEC_Contents"></span>
+</div><hr>
+<div class="Contents_element" id="SEC_Contents">
 <table cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5396,8 +5442,8 @@ Menu comment
     </ul></li>
   </ul></li>
   <li><a id="toc-chapter-2" href="#chapter2" rel="index">chapter 2</a></li>
-</ul><hr>
-<span id="SEC_Overview"></span>
+</ul></div><hr>
+<div class="Overview_element" id="SEC_Overview">
 <table cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5409,8 +5455,8 @@ Menu comment
 <ul>
 <li><a id="stoc-chapter-1" href="#chapter">1 chapter</a></li>
 <li><a id="stoc-chapter-2" href="#chapter2" rel="index">chapter 2</a></li>
-</ul><hr>
-<span id="SEC_About"></span>
+</ul></div><hr>
+<div class="About_element" id="SEC_About">
 <table cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5519,7 +5565,7 @@ Menu comment
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_html_nodes/chapter.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/chapter.html
index 33852d4..e31d2df 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/chapter.html
@@ -653,7 +653,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -669,7 +670,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="chapter-1"></span><h1 class="chapter">1 chapter</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <p><a id="DOCF9" href="formatting_fot.html#FOOT9"><sup>11</sup></a>
 </p>
@@ -685,7 +687,8 @@ Menu comment
 </pre></td></tr></table>
 </div>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_html_nodes/chapter2.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/chapter2.html
index 793e965..f5b92a3 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/chapter2.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/chapter2.html
@@ -653,7 +653,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="centerchap" id="chapter2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html"
 title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -669,7 +670,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="chapter-2"></span><h1 class="centerchap" align="center">chapter 
2</h1>
+<div class="node" id="chapter-2">
+<h1 class="centerchap" align="center">chapter 2</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#chapter-2_cp_symbol-1"><b>&quot;</b></a>
  &nbsp; 
@@ -992,7 +994,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html"
 title="Previous section in reading order"> &lt; </a>]</td>
@@ -1008,6 +1010,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_abt.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_abt.html
index 3ac3248..b89954f 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_abt.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_abt.html
@@ -653,7 +653,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -763,7 +763,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git 
a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_fot.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_fot.html
index 2a1dd96..2608929 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_fot.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_fot.html
@@ -653,7 +653,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Foot"></span>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -685,7 +685,7 @@ ul.no-bullet {list-style: none}
 <p>in footnote2</p>
 <h5><a id="FOOT9" href="chapter.html#DOCF9">(11)</a></h5>
 <p>in footnote</p>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git 
a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_ovr.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_ovr.html
index 35baba0..1d93b94 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_ovr.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_ovr.html
@@ -653,7 +653,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Overview"></span>
+<div class="Overview_element" id="SEC_Overview">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -669,7 +669,7 @@ ul.no-bullet {list-style: none}
 <li><a id="stoc-chapter-2" href="chapter2.html" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git 
a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_toc.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_toc.html
index 76a6af2..af4176b 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_toc.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_toc.html
@@ -653,7 +653,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -680,7 +680,7 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-chapter-2" href="chapter2.html" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/tests/layout/res_parser/formatting_html_nodes/index.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/index.html
index d94e9f4..82f7b42 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/index.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/index.html
@@ -1300,16 +1300,21 @@ html ''
 
 
 
-<span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-3"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-3"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-3">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-3">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-3">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-3">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2056,16 +2061,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2170,7 +2180,8 @@ html ''
 
 <hr>
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -2179,7 +2190,8 @@ html ''
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Top-section"></span><h1 class="top">Top section</h1>
+<div class="node" id="Top-section">
+<h1 class="top">Top section</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html">1 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top"></td></tr>
@@ -2837,16 +2849,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -3592,16 +3609,21 @@ html ''
 
 
 
-<span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-1"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-1"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-1">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-1">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-1">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-1">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -4431,20 +4453,25 @@ html ''
 
 
 
-</pre><span id="majorheading-2"></span><strong>majorheading</strong>
-<pre class="example">
+</pre><div class="majorheading" id="majorheading-2">
+<strong>majorheading</strong>
+</div><pre class="example">
 
-</pre><span id="chapheading-2"></span><strong>chapheading</strong>
-<pre class="example">
+</pre><div class="chapheading" id="chapheading-2">
+<strong>chapheading</strong>
+</div><pre class="example">
 
-</pre><span id="heading-2"></span><strong>heading</strong>
-<pre class="example">
+</pre><div class="heading" id="heading-2">
+<strong>heading</strong>
+</div><pre class="example">
 
-</pre><span id="subheading-2"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-2">
+<strong>subheading</strong>
+</div><pre class="example">
 
-</pre><span id="subsubheading-2"></span><strong>subsubheading</strong>
-<pre class="example">
+</pre><div class="subsubheading" id="subsubheading-2">
+<strong>subsubheading</strong>
+</div><pre class="example">
 
 
 <code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym title="an 
accronym , ...">--a</acronym> (an accronym , ...)
@@ -4983,7 +5010,7 @@ Invalid use of @':
 
 
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -4992,6 +5019,7 @@ Invalid use of @':
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/layout/res_parser/formatting_html_nodes/s_002d_002dect_002cion.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/s_002d_002dect_002cion.html
index 39787da..95ed1f1 100644
--- 
a/tp/tests/layout/res_parser/formatting_html_nodes/s_002d_002dect_002cion.html
+++ 
b/tp/tests/layout/res_parser/formatting_html_nodes/s_002d_002dect_002cion.html
@@ -653,7 +653,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="s_002d_002dect_002cion"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="s_002d_002dect_002cion">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Up section"> 
Up </a>]</td>
@@ -669,7 +670,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="A-section"></span><h2 class="section">1.1 A section</h2>
+<div class="node" id="A-section">
+<h2 class="section">1.1 A section</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="subsection.html">1.1.1 
subsection</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -684,7 +686,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_html_nodes/subsection.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/subsection.html
index 1638517..bb9bd5d 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/subsection.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/subsection.html
@@ -653,7 +653,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="s_002d_002dect_002cion.html" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="s_002d_002dect_002cion.html" 
title="Up section"> Up </a>]</td>
@@ -669,7 +670,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="subsection-1"></span><h3 class="subsection">1.1.1 subsection</h3>
+<div class="node" id="subsection-1">
+<h3 class="subsection">1.1.1 subsection</h3>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a 
href="subsubsection-_0060_0060simple_002ddouble_002d_002d.html">1.1.1.1 
subsubsection &ldquo;simple-double&ndash;</a></td><td>&nbsp;&nbsp;</td><td 
align="left" valign="top">
@@ -679,7 +681,8 @@ ul.no-bullet {list-style: none}
 </table>
 
 <span id="anchor"></span>
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
 
b/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
index 15b46e7..5530fae 100644
--- 
a/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
+++ 
b/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
@@ -653,7 +653,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d"></span><table 
class="header" cellpadding="1" cellspacing="1" border="0">
+<div class="subsubsection" 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="subsection.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="subsection.html" title="Up 
section"> Up </a>]</td>
@@ -669,9 +670,11 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1"></span><h4 
class="subsubsection">1.1.1.1 subsubsection &ldquo;simple-double&ndash;</h4>
+<div class="node" id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1">
+<h4 class="subsubsection">1.1.1.1 subsubsection 
&ldquo;simple-double&ndash;</h4>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
 
b/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
index c2447aa..138e79f 100644
--- 
a/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
+++ 
b/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
@@ -653,7 +653,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><table
 class="header" cellpadding="1" cellspacing="1" border="0">
+<div class="subsubsection" 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="subsubsection-_0060_0060simple_002ddouble_002d_002d.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="subsection.html" title="Up 
section"> Up </a>]</td>
@@ -669,9 +670,11 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><h4 
class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
+<div class="node" id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<h4 class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_mathjax/formatting.html 
b/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
index 0609127..aea0656 100644
--- a/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
@@ -1310,16 +1310,21 @@ html ''
 
 
 
-<span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-3"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-3"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-3">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-3">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-3">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-3">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2066,16 +2071,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2180,7 +2190,8 @@ html ''
 
 <hr>
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -2188,7 +2199,8 @@ html ''
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Top-section"></span><h1 class="top">Top section</h1>
+<div class="node" id="Top-section">
+<h1 class="top">Top section</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#chapter">1 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top"></td></tr>
@@ -2846,16 +2858,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -3601,16 +3618,21 @@ html ''
 
 
 
-<span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-1"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-1"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-1">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-1">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-1">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-1">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -4440,20 +4462,25 @@ html ''
 
 
 
-</pre><span id="majorheading-2"></span><strong>majorheading</strong>
-<pre class="example">
+</pre><div class="majorheading" id="majorheading-2">
+<strong>majorheading</strong>
+</div><pre class="example">
 
-</pre><span id="chapheading-2"></span><strong>chapheading</strong>
-<pre class="example">
+</pre><div class="chapheading" id="chapheading-2">
+<strong>chapheading</strong>
+</div><pre class="example">
 
-</pre><span id="heading-2"></span><strong>heading</strong>
-<pre class="example">
+</pre><div class="heading" id="heading-2">
+<strong>heading</strong>
+</div><pre class="example">
 
-</pre><span id="subheading-2"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-2">
+<strong>subheading</strong>
+</div><pre class="example">
 
-</pre><span id="subsubheading-2"></span><strong>subsubheading</strong>
-<pre class="example">
+</pre><div class="subsubheading" id="subsubheading-2">
+<strong>subsubheading</strong>
+</div><pre class="example">
 
 
 <code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym title="an 
accronym , ...">--a</acronym> (an accronym , ...)
@@ -4992,8 +5019,9 @@ Invalid use of @':
 
 
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -5008,7 +5036,8 @@ Invalid use of @':
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-1"></span><h1 class="chapter">1 chapter</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <p><a id="DOCF9" href="#FOOT9"><sup>11</sup></a>
 </p>
@@ -5024,8 +5053,9 @@ Menu comment
 </pre></td></tr></table>
 </div>
 
-<hr>
-<span id="s_002d_002dect_002cion"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="s_002d_002dect_002cion">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -5040,7 +5070,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="A-section"></span><h2 class="section">1.1 A section</h2>
+<div class="node" id="A-section">
+<h2 class="section">1.1 A section</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#subsection">1.1.1 
subsection</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -5055,8 +5086,9 @@ Menu comment
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#s_002d_002dect_002cion" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#s_002d_002dect_002cion" title="Up 
section"> Up </a>]</td>
@@ -5071,7 +5103,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="subsection-1"></span><h3 class="subsection">1.1.1 subsection</h3>
+<div class="node" id="subsection-1">
+<h3 class="subsection">1.1.1 subsection</h3>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d">1.1.1.1 
subsubsection &ldquo;simple-double&ndash;</a></td><td>&nbsp;&nbsp;</td><td 
align="left" valign="top">
@@ -5081,8 +5114,9 @@ Menu comment
 </table>
 
 <span id="anchor"></span>
-<hr>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d"></span><table 
class="header" cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+<div class="subsubsection" 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Up section"> Up 
</a>]</td>
@@ -5097,10 +5131,13 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1"></span><h4 
class="subsubsection">1.1.1.1 subsubsection &ldquo;simple-double&ndash;</h4>
+<div class="node" id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1">
+<h4 class="subsubsection">1.1.1.1 subsubsection 
&ldquo;simple-double&ndash;</h4>
 
-<hr>
-<span 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><table
 class="header" cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="subsubsection" 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Up section"> Up 
</a>]</td>
@@ -5115,10 +5152,16 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><h4 
class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
+<div class="node" id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<h4 class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
 
-<hr>
-<span id="chapter2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+</div>
+</div>
+</div>
+<div class="centerchap" id="chapter2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="#subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -5133,7 +5176,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-2"></span><h1 class="centerchap" align="center">chapter 
2</h1>
+<div class="node" id="chapter-2">
+<h1 class="centerchap" align="center">chapter 2</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#chapter-2_cp_symbol-1"><b>&quot;</b></a>
  &nbsp; 
@@ -5456,8 +5500,10 @@ Menu comment
  &nbsp; 
 </td></tr></table>
 
-<hr size="6">
-<span id="SEC_Foot"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5488,8 +5534,8 @@ Menu comment
 <p>in footnote2</p>
 <h5><a id="FOOT9" href="#DOCF9">(11)</a></h5>
 <p>in footnote</p>
-<hr>
-<span id="SEC_Contents"></span>
+</div><hr>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5515,8 +5561,8 @@ Menu comment
   <li><a id="toc-chapter-2" href="#chapter2" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_Overview"></span>
+</div><hr>
+<div class="Overview_element" id="SEC_Overview">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5531,8 +5577,8 @@ Menu comment
 <li><a id="stoc-chapter-2" href="#chapter2" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5641,7 +5687,7 @@ Menu comment
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_nodes/chapter.html 
b/tp/tests/layout/res_parser/formatting_nodes/chapter.html
index 33852d4..e31d2df 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/chapter.html
@@ -653,7 +653,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -669,7 +670,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="chapter-1"></span><h1 class="chapter">1 chapter</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <p><a id="DOCF9" href="formatting_fot.html#FOOT9"><sup>11</sup></a>
 </p>
@@ -685,7 +687,8 @@ Menu comment
 </pre></td></tr></table>
 </div>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_nodes/chapter2.html 
b/tp/tests/layout/res_parser/formatting_nodes/chapter2.html
index 793e965..f5b92a3 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/chapter2.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/chapter2.html
@@ -653,7 +653,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="centerchap" id="chapter2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html"
 title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="index.html" title="Up section"> Up 
</a>]</td>
@@ -669,7 +670,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="chapter-2"></span><h1 class="centerchap" align="center">chapter 
2</h1>
+<div class="node" id="chapter-2">
+<h1 class="centerchap" align="center">chapter 2</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#chapter-2_cp_symbol-1"><b>&quot;</b></a>
  &nbsp; 
@@ -992,7 +994,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html"
 title="Previous section in reading order"> &lt; </a>]</td>
@@ -1008,6 +1010,7 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="index.html" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_nodes/formatting_abt.html 
b/tp/tests/layout/res_parser/formatting_nodes/formatting_abt.html
index 3ac3248..b89954f 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/formatting_abt.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/formatting_abt.html
@@ -653,7 +653,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -763,7 +763,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git a/tp/tests/layout/res_parser/formatting_nodes/formatting_fot.html 
b/tp/tests/layout/res_parser/formatting_nodes/formatting_fot.html
index 2a1dd96..2608929 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/formatting_fot.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/formatting_fot.html
@@ -653,7 +653,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Foot"></span>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -685,7 +685,7 @@ ul.no-bullet {list-style: none}
 <p>in footnote2</p>
 <h5><a id="FOOT9" href="chapter.html#DOCF9">(11)</a></h5>
 <p>in footnote</p>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git a/tp/tests/layout/res_parser/formatting_nodes/formatting_ovr.html 
b/tp/tests/layout/res_parser/formatting_nodes/formatting_ovr.html
index 35baba0..1d93b94 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/formatting_ovr.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/formatting_ovr.html
@@ -653,7 +653,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Overview"></span>
+<div class="Overview_element" id="SEC_Overview">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -669,7 +669,7 @@ ul.no-bullet {list-style: none}
 <li><a id="stoc-chapter-2" href="chapter2.html" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git a/tp/tests/layout/res_parser/formatting_nodes/formatting_toc.html 
b/tp/tests/layout/res_parser/formatting_nodes/formatting_toc.html
index 76a6af2..af4176b 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/formatting_toc.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/formatting_toc.html
@@ -653,7 +653,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -680,7 +680,7 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-chapter-2" href="chapter2.html" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="index.html" title="Cover (top) 
of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/tests/layout/res_parser/formatting_nodes/index.html 
b/tp/tests/layout/res_parser/formatting_nodes/index.html
index d94e9f4..82f7b42 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/index.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/index.html
@@ -1300,16 +1300,21 @@ html ''
 
 
 
-<span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-3"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-3"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-3">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-3">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-3">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-3">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2056,16 +2061,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2170,7 +2180,8 @@ html ''
 
 <hr>
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -2179,7 +2190,8 @@ html ''
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Top-section"></span><h1 class="top">Top section</h1>
+<div class="node" id="Top-section">
+<h1 class="top">Top section</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html">1 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top"></td></tr>
@@ -2837,16 +2849,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -3592,16 +3609,21 @@ html ''
 
 
 
-<span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-1"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-1"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-1">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-1">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-1">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-1">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -4431,20 +4453,25 @@ html ''
 
 
 
-</pre><span id="majorheading-2"></span><strong>majorheading</strong>
-<pre class="example">
+</pre><div class="majorheading" id="majorheading-2">
+<strong>majorheading</strong>
+</div><pre class="example">
 
-</pre><span id="chapheading-2"></span><strong>chapheading</strong>
-<pre class="example">
+</pre><div class="chapheading" id="chapheading-2">
+<strong>chapheading</strong>
+</div><pre class="example">
 
-</pre><span id="heading-2"></span><strong>heading</strong>
-<pre class="example">
+</pre><div class="heading" id="heading-2">
+<strong>heading</strong>
+</div><pre class="example">
 
-</pre><span id="subheading-2"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-2">
+<strong>subheading</strong>
+</div><pre class="example">
 
-</pre><span id="subsubheading-2"></span><strong>subsubheading</strong>
-<pre class="example">
+</pre><div class="subsubheading" id="subsubheading-2">
+<strong>subsubheading</strong>
+</div><pre class="example">
 
 
 <code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym title="an 
accronym , ...">--a</acronym> (an accronym , ...)
@@ -4983,7 +5010,7 @@ Invalid use of @':
 
 
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
@@ -4992,6 +5019,7 @@ Invalid use of @':
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/layout/res_parser/formatting_nodes/s_002d_002dect_002cion.html 
b/tp/tests/layout/res_parser/formatting_nodes/s_002d_002dect_002cion.html
index 39787da..95ed1f1 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/s_002d_002dect_002cion.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/s_002d_002dect_002cion.html
@@ -653,7 +653,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="s_002d_002dect_002cion"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="section" id="s_002d_002dect_002cion">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Up section"> 
Up </a>]</td>
@@ -669,7 +670,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="A-section"></span><h2 class="section">1.1 A section</h2>
+<div class="node" id="A-section">
+<h2 class="section">1.1 A section</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="subsection.html">1.1.1 
subsection</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -684,7 +686,8 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_nodes/subsection.html 
b/tp/tests/layout/res_parser/formatting_nodes/subsection.html
index 1638517..bb9bd5d 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/subsection.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/subsection.html
@@ -653,7 +653,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="s_002d_002dect_002cion.html" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="s_002d_002dect_002cion.html" 
title="Up section"> Up </a>]</td>
@@ -669,7 +670,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="subsection-1"></span><h3 class="subsection">1.1.1 subsection</h3>
+<div class="node" id="subsection-1">
+<h3 class="subsection">1.1.1 subsection</h3>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a 
href="subsubsection-_0060_0060simple_002ddouble_002d_002d.html">1.1.1.1 
subsubsection &ldquo;simple-double&ndash;</a></td><td>&nbsp;&nbsp;</td><td 
align="left" valign="top">
@@ -679,7 +681,8 @@ ul.no-bullet {list-style: none}
 </table>
 
 <span id="anchor"></span>
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/layout/res_parser/formatting_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
 
b/tp/tests/layout/res_parser/formatting_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
index 15b46e7..5530fae 100644
--- 
a/tp/tests/layout/res_parser/formatting_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
+++ 
b/tp/tests/layout/res_parser/formatting_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
@@ -653,7 +653,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d"></span><table 
class="header" cellpadding="1" cellspacing="1" border="0">
+<div class="subsubsection" 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="subsection.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="subsection.html" title="Up 
section"> Up </a>]</td>
@@ -669,9 +670,11 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1"></span><h4 
class="subsubsection">1.1.1.1 subsubsection &ldquo;simple-double&ndash;</h4>
+<div class="node" id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1">
+<h4 class="subsubsection">1.1.1.1 subsubsection 
&ldquo;simple-double&ndash;</h4>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/layout/res_parser/formatting_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
 
b/tp/tests/layout/res_parser/formatting_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
index c2447aa..138e79f 100644
--- 
a/tp/tests/layout/res_parser/formatting_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
+++ 
b/tp/tests/layout/res_parser/formatting_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
@@ -653,7 +653,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><table
 class="header" cellpadding="1" cellspacing="1" border="0">
+<div class="subsubsection" 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="subsubsection-_0060_0060simple_002ddouble_002d_002d.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="subsection.html" title="Up 
section"> Up </a>]</td>
@@ -669,9 +670,11 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="formatting_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><h4 
class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
+<div class="node" id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<h4 class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
 
-<hr>
+</div><hr>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/layout/res_parser/formatting_regions/formatting_regions.html 
b/tp/tests/layout/res_parser/formatting_regions/formatting_regions.html
index 63ff532..716566a 100644
--- a/tp/tests/layout/res_parser/formatting_regions/formatting_regions.html
+++ b/tp/tests/layout/res_parser/formatting_regions/formatting_regions.html
@@ -1300,16 +1300,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2055,16 +2060,21 @@ html ''
 
 
 
-<span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-1"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-1"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-1">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-1">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-1">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-1">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2171,7 +2181,8 @@ html ''
 </p><hr>
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#constructs" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -2179,9 +2190,11 @@ html ''
 <td valign="middle" align="left">[<a href="#constructs" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Top-section"></span><h1 class="top">Top section</h1>
-<hr size="6">
-<span id="constructs"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="node" id="Top-section">
+<h1 class="top">Top section</h1>
+</div><hr size="6">
+<div class="chapter" id="constructs">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -2196,7 +2209,8 @@ html ''
 <td valign="middle" align="left">[<a href="#constructs" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="constructs-1"></span><h1 class="chapter">1 constructs</h1>
+<div class="node" id="constructs-1">
+<h1 class="chapter">1 constructs</h1>
 
 
 
@@ -2842,16 +2856,21 @@ html ''
 
 
 
-<span id="majorheading-2"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-2"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-2"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-2"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-2"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-2">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-2">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-2">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-2">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-2">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -3680,20 +3699,25 @@ html ''
 
 
 
-</pre><span id="majorheading-3"></span><strong>majorheading</strong>
-<pre class="example">
+</pre><div class="majorheading" id="majorheading-3">
+<strong>majorheading</strong>
+</div><pre class="example">
 
-</pre><span id="chapheading-3"></span><strong>chapheading</strong>
-<pre class="example">
+</pre><div class="chapheading" id="chapheading-3">
+<strong>chapheading</strong>
+</div><pre class="example">
 
-</pre><span id="heading-3"></span><strong>heading</strong>
-<pre class="example">
+</pre><div class="heading" id="heading-3">
+<strong>heading</strong>
+</div><pre class="example">
 
-</pre><span id="subheading-3"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-3">
+<strong>subheading</strong>
+</div><pre class="example">
 
-</pre><span id="subsubheading-3"></span><strong>subsubheading</strong>
-<pre class="example">
+</pre><div class="subsubheading" id="subsubheading-3">
+<strong>subsubheading</strong>
+</div><pre class="example">
 
 
 <code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym title="an 
accronym , ...">--a</acronym> (an accronym , ...)
@@ -4448,16 +4472,21 @@ html ''
 
 
 
-<span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-1"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-1"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-1">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-1">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-1">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-1">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -4987,8 +5016,10 @@ html ''
 
 
 
-<hr>
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#constructs" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#constructs" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -5003,7 +5034,8 @@ html ''
 <td valign="middle" align="left">[<a href="#constructs" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-1"></span><h1 class="chapter">2 chapter</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">2 chapter</h1>
 
 <p><a id="DOCF9" href="#FOOT9"><sup>11</sup></a>
 </p>
@@ -5019,8 +5051,9 @@ Menu comment
 </pre></td></tr></table>
 </div>
 
-<hr>
-<span id="s_002d_002dect_002cion"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="s_002d_002dect_002cion">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -5035,15 +5068,17 @@ Menu comment
 <td valign="middle" align="left">[<a href="#constructs" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="A-section"></span><h2 class="section">2.1 A section</h2>
+<div class="node" id="A-section">
+<h2 class="section">2.1 A section</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#subsection">2.1.1 
subsection</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#s_002d_002dect_002cion" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#s_002d_002dect_002cion" title="Up 
section"> Up </a>]</td>
@@ -5058,7 +5093,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#constructs" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="subsection-1"></span><h3 class="subsection">2.1.1 subsection</h3>
+<div class="node" id="subsection-1">
+<h3 class="subsection">2.1.1 subsection</h3>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#subsubsection">2.1.1.1 
subsubsection</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -5066,8 +5102,9 @@ Menu comment
 </table>
 
 <span id="anchor"></span>
-<hr>
-<span id="subsubsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsubsection" id="subsubsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Up section"> Up 
</a>]</td>
@@ -5082,10 +5119,16 @@ Menu comment
 <td valign="middle" align="left">[<a href="#constructs" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="subsubsection-1"></span><h4 class="subsubsection">2.1.1.1 
subsubsection</h4>
+<div class="node" id="subsubsection-1">
+<h4 class="subsubsection">2.1.1.1 subsubsection</h4>
 
-<hr>
-<span id="chapter2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+</div>
+</div>
+</div>
+<div class="centerchap" id="chapter2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsubsection" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -5100,7 +5143,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#constructs" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-2"></span><h1 class="centerchap" align="center">chapter 
2</h1>
+<div class="node" id="chapter-2">
+<h1 class="centerchap" align="center">chapter 2</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#chapter-2_cp_symbol-1"><b>&quot;</b></a>
  &nbsp; 
@@ -5423,8 +5467,10 @@ Menu comment
  &nbsp; 
 </td></tr></table>
 
-<hr size="6">
-<span id="SEC_Foot"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5455,8 +5501,8 @@ Menu comment
 <p>in footnote2</p>
 <h5><a id="FOOT9" href="#DOCF9">(11)</a></h5>
 <p>in footnote</p>
-<hr>
-<span id="SEC_Contents"></span>
+</div><hr>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5482,8 +5528,8 @@ Menu comment
   <li><a id="toc-chapter-2" href="#chapter2" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_Overview"></span>
+</div><hr>
+<div class="Overview_element" id="SEC_Overview">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5499,8 +5545,8 @@ Menu comment
 <li><a id="stoc-chapter-2" href="#chapter2" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5609,7 +5655,7 @@ Menu comment
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html 
b/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
index 0681758..52af53a 100644
--- a/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
@@ -1300,16 +1300,21 @@ html ''
 
 
 
-<span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-3"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-3"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-3">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-3">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-3">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-3">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2056,16 +2061,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2170,7 +2180,8 @@ html ''
 
 <hr>
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -2178,7 +2189,8 @@ html ''
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Top-section"></span><h1 class="top">Top section</h1>
+<div class="node" id="Top-section">
+<h1 class="top">Top section</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#chapter">1 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top"></td></tr>
@@ -2836,16 +2848,21 @@ html ''
 
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -3591,16 +3608,21 @@ html ''
 
 
 
-<span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-1"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-1"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-1">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-1">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-1">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-1">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -4430,20 +4452,25 @@ html ''
 
 
 
-</pre><span id="majorheading-2"></span><strong>majorheading</strong>
-<pre class="example">
+</pre><div class="majorheading" id="majorheading-2">
+<strong>majorheading</strong>
+</div><pre class="example">
 
-</pre><span id="chapheading-2"></span><strong>chapheading</strong>
-<pre class="example">
+</pre><div class="chapheading" id="chapheading-2">
+<strong>chapheading</strong>
+</div><pre class="example">
 
-</pre><span id="heading-2"></span><strong>heading</strong>
-<pre class="example">
+</pre><div class="heading" id="heading-2">
+<strong>heading</strong>
+</div><pre class="example">
 
-</pre><span id="subheading-2"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-2">
+<strong>subheading</strong>
+</div><pre class="example">
 
-</pre><span id="subsubheading-2"></span><strong>subsubheading</strong>
-<pre class="example">
+</pre><div class="subsubheading" id="subsubheading-2">
+<strong>subsubheading</strong>
+</div><pre class="example">
 
 
 <code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym title="an 
accronym , ...">--a</acronym> (an accronym , ...)
@@ -4982,8 +5009,9 @@ Invalid use of @':
 
 
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -4998,7 +5026,8 @@ Invalid use of @':
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-1"></span><h1 class="chapter">1 chapter</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <p><a id="DOCF9" href="#FOOT9"><sup>11</sup></a>
 </p>
@@ -5014,8 +5043,9 @@ Menu comment
 </pre></td></tr></table>
 </div>
 
-<hr>
-<span id="s_002d_002dect_002cion"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="section" id="s_002d_002dect_002cion">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Previous section 
in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Up section"> Up 
</a>]</td>
@@ -5030,7 +5060,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="A-section"></span><h2 class="section">1.1 A section</h2>
+<div class="node" id="A-section">
+<h2 class="section">1.1 A section</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#subsection">1.1.1 
subsection</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -5045,8 +5076,9 @@ Menu comment
 </td></tr>
 </table>
 
-<hr>
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#s_002d_002dect_002cion" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#s_002d_002dect_002cion" title="Up 
section"> Up </a>]</td>
@@ -5061,7 +5093,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="subsection-1"></span><h3 class="subsection">1.1.1 subsection</h3>
+<div class="node" id="subsection-1">
+<h3 class="subsection">1.1.1 subsection</h3>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d">1.1.1.1 
subsubsection &ldquo;simple-double&ndash;</a></td><td>&nbsp;&nbsp;</td><td 
align="left" valign="top">
@@ -5071,8 +5104,9 @@ Menu comment
 </table>
 
 <span id="anchor"></span>
-<hr>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d"></span><table 
class="header" cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+<div class="subsubsection" 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Up section"> Up 
</a>]</td>
@@ -5087,10 +5121,13 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1"></span><h4 
class="subsubsection">1.1.1.1 subsubsection &ldquo;simple-double&ndash;</h4>
+<div class="node" id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1">
+<h4 class="subsubsection">1.1.1.1 subsubsection 
&ldquo;simple-double&ndash;</h4>
 
-<hr>
-<span 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><table
 class="header" cellpadding="1" cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="subsubsection" 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="#subsubsection-_0060_0060simple_002ddouble_002d_002d" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#subsection" title="Up section"> Up 
</a>]</td>
@@ -5105,10 +5142,16 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><h4 
class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
+<div class="node" id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<h4 class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
 
-<hr>
-<span id="chapter2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+</div>
+</div>
+</div>
+<div class="centerchap" id="chapter2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#chapter" title="Beginning of 
this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a 
href="#subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -5123,7 +5166,8 @@ Menu comment
 <td valign="middle" align="left">[<a href="#Top" title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-2"></span><h1 class="centerchap" align="center">chapter 
2</h1>
+<div class="node" id="chapter-2">
+<h1 class="centerchap" align="center">chapter 2</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#chapter-2_cp_symbol-1"><b>&quot;</b></a>
  &nbsp; 
@@ -5446,8 +5490,10 @@ Menu comment
  &nbsp; 
 </td></tr></table>
 
-<hr size="6">
-<span id="SEC_Foot"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5478,8 +5524,8 @@ Menu comment
 <p>in footnote2</p>
 <h5><a id="FOOT9" href="#DOCF9">(11)</a></h5>
 <p>in footnote</p>
-<hr>
-<span id="SEC_Contents"></span>
+</div><hr>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5505,8 +5551,8 @@ Menu comment
   <li><a id="toc-chapter-2" href="#chapter2" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_Overview"></span>
+</div><hr>
+<div class="Overview_element" id="SEC_Overview">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5521,8 +5567,8 @@ Menu comment
 <li><a id="stoc-chapter-2" href="#chapter2" rel="index">chapter 2</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -5631,7 +5677,7 @@ Menu comment
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/layout/res_parser/navigation_test_misc_file_collision/chapter.html 
b/tp/tests/layout/res_parser/navigation_test_misc_file_collision/chapter.html
index de74b2b..d158b30 100644
--- 
a/tp/tests/layout/res_parser/navigation_test_misc_file_collision/chapter.html
+++ 
b/tp/tests/layout/res_parser/navigation_test_misc_file_collision/chapter.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="navigation_abt.html#Top" 
title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#Top" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#Top" title="Up 
section"> Up </a>]</td>
@@ -50,14 +51,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="First-chapter"></span><h1 class="chapter">1 First chapter</h1>
+<div class="node" id="First-chapter">
+<h1 class="chapter">1 First chapter</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="navigation_abt.html#section">1.1 
Section in chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
+</div><hr>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/layout/res_parser/navigation_test_misc_file_collision/navigation_abt.html
 
b/tp/tests/layout/res_parser/navigation_test_misc_file_collision/navigation_abt.html
index f46ff7b..6193d10 100644
--- 
a/tp/tests/layout/res_parser/navigation_test_misc_file_collision/navigation_abt.html
+++ 
b/tp/tests/layout/res_parser/navigation_test_misc_file_collision/navigation_abt.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Next section 
in reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -44,15 +45,17 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
 <hr>
-<span id="File-used-for-navigation-testing"></span><h1 class="top">File used 
for navigation testing</h1>
+<div class="node" id="File-used-for-navigation-testing">
+<h1 class="top">File used for navigation testing</h1>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html">1 First 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="section"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="section" id="section">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Previous 
section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="chapter.html" title="Up section"> 
Up </a>]</td>
@@ -67,7 +70,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Section-in-chapter"></span><h2 class="section">1.1 Section in 
chapter</h2>
+<div class="node" id="Section-in-chapter">
+<h2 class="section">1.1 Section in chapter</h2>
 
 <p>AAAA
 </p>
@@ -101,8 +105,8 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
 </td></tr>
 </table>
 
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="navigation_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
@@ -212,7 +216,7 @@ b b b b b b b b b b b b b b b b  b b b b b bb b b b b b b  
bb  b bb.
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="navigation_toc.html#SEC_Contents" 
title="Table of contents">Contents</a>]</td>
diff --git 
a/tp/tests/layout/res_parser/navigation_test_misc_file_collision/navigation_toc.html
 
b/tp/tests/layout/res_parser/navigation_test_misc_file_collision/navigation_toc.html
index 18459f3..78af75f 100644
--- 
a/tp/tests/layout/res_parser/navigation_test_misc_file_collision/navigation_toc.html
+++ 
b/tp/tests/layout/res_parser/navigation_test_misc_file_collision/navigation_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="navigation_abt.html#Top" 
title="Cover (top) of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -56,7 +56,7 @@ ul.no-bullet {list-style: none}
   </ul></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="navigation_abt.html#Top" 
title="Cover (top) of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/layout/res_parser/navigation_test_misc_file_collision/subsection.html
 
b/tp/tests/layout/res_parser/navigation_test_misc_file_collision/subsection.html
index 0ce922a..e98af5d 100644
--- 
a/tp/tests/layout/res_parser/navigation_test_misc_file_collision/subsection.html
+++ 
b/tp/tests/layout/res_parser/navigation_test_misc_file_collision/subsection.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="subsection"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+<div class="subsection" id="subsection">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="chapter.html" title="Beginning 
of this chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#section" 
title="Previous section in reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="navigation_abt.html#section" 
title="Up section"> Up </a>]</td>
@@ -50,10 +51,13 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="navigation_abt.html#SEC_About" 
title="About (help)"> ? </a>]</td>
 </tr></table>
 <hr>
-<span id="Sub-section-in-section"></span><h3 class="subsection">1.1.1 Sub 
section in section</h3>
+<div class="node" id="Sub-section-in-section">
+<h3 class="subsection">1.1.1 Sub section in section</h3>
 
 
-<hr>
+</div><hr>
+</div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/layout/res_parser/no_monolithic_only_toc_out/no_monolithic.html 
b/tp/tests/layout/res_parser/no_monolithic_only_toc_out/no_monolithic.html
index 9b13206..5b9ac14 100644
--- a/tp/tests/layout/res_parser/no_monolithic_only_toc_out/no_monolithic.html
+++ b/tp/tests/layout/res_parser/no_monolithic_only_toc_out/no_monolithic.html
@@ -35,7 +35,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -43,7 +44,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#chapter" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Not-monolithic"></span><h1 class="top">Not monolithic</h1>
+<div class="node" id="Not-monolithic">
+<h1 class="top">Not monolithic</h1>
 
 <p>Not monolitic manual<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>.
 </p>
@@ -54,8 +56,9 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -70,7 +73,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[<a href="#chapter" 
title="Index">Index</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Chapter"></span><h1 class="chapter">1 Chapter</h1>
+<div class="node" id="Chapter">
+<h1 class="chapter">1 Chapter</h1>
 
 <p>Chapter.
 </p>
@@ -88,8 +92,10 @@ ul.no-bullet {list-style: none}
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Chapter_cp_letter-T"><b>T</b></a>
  &nbsp; 
 </td></tr></table>
-<hr size="6">
-<span id="SEC_Foot"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="Footnotes_element" id="SEC_Foot">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="no_monolithic_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -100,8 +106,8 @@ ul.no-bullet {list-style: none}
 
 <h5><a id="FOOT1" href="#DOCF1">(1)</a></h5>
 <p>my footnote</p>
-<hr>
-<span id="SEC_Overview"></span>
+</div><hr>
+<div class="Overview_element" id="SEC_Overview">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="no_monolithic_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -115,8 +121,8 @@ ul.no-bullet {list-style: none}
 <li><a id="stoc-Chapter" href="#chapter" rel="index">1 Chapter</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="no_monolithic_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -225,7 +231,7 @@ ul.no-bullet {list-style: none}
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[<a 
href="no_monolithic_toc.html#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git 
a/tp/tests/layout/res_parser/no_monolithic_only_toc_out/no_monolithic_toc.html 
b/tp/tests/layout/res_parser/no_monolithic_only_toc_out/no_monolithic_toc.html
index 68b2dab..2b70f63 100644
--- 
a/tp/tests/layout/res_parser/no_monolithic_only_toc_out/no_monolithic_toc.html
+++ 
b/tp/tests/layout/res_parser/no_monolithic_only_toc_out/no_monolithic_toc.html
@@ -34,7 +34,7 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="no_monolithic.html#Top" 
title="Cover (top) of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
@@ -49,7 +49,7 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-Chapter" href="no_monolithic.html#chapter" rel="index">1 
Chapter</a></li>
 </ul>
 </div>
-<hr>
+</div><hr>
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="no_monolithic.html#Top" 
title="Cover (top) of document">Top</a>]</td>
 <td valign="middle" align="left">[<a href="#SEC_Contents" title="Table of 
contents">Contents</a>]</td>
diff --git a/tp/tests/many_input_files/tex_l2h_res/tex.html 
b/tp/tests/many_input_files/tex_l2h_res/tex.html
index 09449df..e61c5e0 100644
--- a/tp/tests/many_input_files/tex_l2h_res/tex.html
+++ b/tp/tests/many_input_files/tex_l2h_res/tex.html
@@ -12,8 +12,7 @@
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -26,6 +25,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -34,7 +34,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="Tests"></span><h1 class="top">Tests</h1>
+<div class="top" id="Top">
+<div class="node" id="Tests">
+<h1 class="top">Tests</h1>
 
 <p>Now tex on the same line 
 <P>
@@ -121,7 +123,8 @@ Here some <!-- MATH
 $">
 </DIV>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/many_input_files/tex_l2h_res/tex_complex.html 
b/tp/tests/many_input_files/tex_l2h_res/tex_complex.html
index 57c9a53..fd387a6 100644
--- a/tp/tests/many_input_files/tex_l2h_res/tex_complex.html
+++ b/tp/tests/many_input_files/tex_l2h_res/tex_complex.html
@@ -16,8 +16,7 @@ Some (I-D) \varphi(t) math. -->
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -30,6 +29,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -63,7 +63,9 @@ $">
 </p><hr>
 
 
-<span id="Top"></span><span id="The-title"></span><h1 class="top">The 
title</h1>
+<div class="top" id="Top">
+<div class="node" id="The-title">
+<h1 class="top">The title</h1>
 
 <DIV CLASS="displaymath">
 <!-- MATH
@@ -107,7 +109,7 @@ $">
 </p>
 <p>Now there is a footnote<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h3 class="footnotes-heading">Footnotes</h3>
 
@@ -134,7 +136,8 @@ $">
  ALT="$h \dot \psi^\phi$"></SPAN>.
 </p>
 </div>
-<hr>
+<hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/many_input_files/tex_t4ht_res/tex.html 
b/tp/tests/many_input_files/tex_t4ht_res/tex.html
index 38c3f28..152266c 100644
--- a/tp/tests/many_input_files/tex_t4ht_res/tex.html
+++ b/tp/tests/many_input_files/tex_t4ht_res/tex.html
@@ -16,8 +16,7 @@
 @import "tex_tex4ht_math.css";
 @import "tex_tex4ht_tex.css";
 
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -30,6 +29,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -38,7 +38,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="Tests"></span><h1 class="top">Tests</h1>
+<div class="top" id="Top">
+<div class="node" id="Tests">
+<h1 class="top">Tests</h1>
 
 <p>Now tex on the same line 
 <!--l. 5--><p class="indent" >
@@ -112,7 +114,8 @@ src="tex_tex4ht_displaymath0x.png" alt="                    
    (      )2
 " class="math-display" ></div>
 <!--l. 7--><p class="indent" >     
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/many_input_files/tex_t4ht_res/tex_complex.html 
b/tp/tests/many_input_files/tex_t4ht_res/tex_complex.html
index 0df58a6..f3fff0a 100644
--- a/tp/tests/many_input_files/tex_t4ht_res/tex_complex.html
+++ b/tp/tests/many_input_files/tex_t4ht_res/tex_complex.html
@@ -19,8 +19,7 @@ Some (I-D) \varphi(t) math. -->
 @import "tex_complex_tex4ht_math.css";
 @import "tex_complex_tex4ht_tex.css";
 
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -33,6 +32,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -59,7 +59,9 @@ class="cmmi-10">t</span>)  math.
 </p><hr>
 
 
-<span id="Top"></span><span id="The-title"></span><h1 class="top">The 
title</h1>
+<div class="top" id="Top">
+<div class="node" id="The-title">
+<h1 class="top">The title</h1>
 
 
     <div class="math-display" >
@@ -90,7 +92,7 @@ class="cmmi-7">t</span></sup> .
 </p>
 <p>Now there is a footnote<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h3 class="footnotes-heading">Footnotes</h3>
 
@@ -108,7 +110,8 @@ src="tex_complex_tex4ht_math0x.png" alt="&#x03C8;&#x02D9;"  
class="dot" ><sup><s
 class="cmmi-7">&#x03D5;</span></sup> .
 </p>
 </div>
-<hr>
+<hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/nested_formats/res_parser/nested_cartouche/nested_formats.html 
b/tp/tests/nested_formats/res_parser/nested_cartouche/nested_formats.html
index fc4cf0b..f9f10ac 100644
--- a/tp/tests/nested_formats/res_parser/nested_cartouche/nested_formats.html
+++ b/tp/tests/nested_formats/res_parser/nested_cartouche/nested_formats.html
@@ -48,7 +48,9 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><span id="Test-nested-cartouche"></span><h1 
class="top">Test nested cartouche</h1>
+<div class="top" id="Top">
+<div class="node" id="Test-nested-cartouche">
+<h1 class="top">Test nested cartouche</h1>
 
 
 <p>Call macro
@@ -88,8 +90,9 @@ in macro
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -230,8 +233,9 @@ html
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -373,8 +377,9 @@ html
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-2"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-2">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -514,8 +519,9 @@ in macro
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -656,8 +662,9 @@ Call macro in itemize in format_command
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-4"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-4">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -800,8 +807,9 @@ html
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-5"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-5">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -941,8 +949,9 @@ in macro
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-6"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-6">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1083,8 +1092,9 @@ Call macro in enumerate in format_command
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-7"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-7">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1229,8 +1239,9 @@ after item</td></tr>
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-8"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-8">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1369,8 +1380,9 @@ in macro
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-9"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-9">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1510,8 +1522,9 @@ Call macro in mutitable in format_command
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-10"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-10">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1660,8 +1673,9 @@ Something2
 </td></tr></table>
 <pre class="example">
 
-</pre><span id="subheading-11"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-11">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1832,8 +1846,9 @@ Something2
 </td></tr></table>
 <pre class="example">
 
-</pre><span id="subheading-12"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-12">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2005,8 +2020,9 @@ Something2
 </td></tr></table>
 <pre class="example">
 
-</pre><span id="subheading-13"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-13">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2179,8 +2195,9 @@ in macro
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-14"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-14">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2321,8 +2338,9 @@ call macro in deffn in format_command
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-15"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-15">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2466,8 +2484,9 @@ html
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-16"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-16">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2610,8 +2629,9 @@ in macro
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-17"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-17">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2752,8 +2772,9 @@ html
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-18"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-18">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2895,8 +2916,9 @@ html
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-19"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-19">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3040,8 +3062,9 @@ html
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-20"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-20">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3181,8 +3204,9 @@ in macro
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-21"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-21">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3322,8 +3346,9 @@ html
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-22"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-22">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3465,8 +3490,9 @@ in macro
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-23"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-23">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3607,8 +3633,9 @@ call macro in flushleft in format_command
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-24"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-24">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3748,8 +3775,9 @@ html
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-25"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-25">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3889,8 +3917,9 @@ html
 </p></blockquote>
 </td></tr></table>
 
-<span id="subheading-26"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-26">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3994,7 +4023,8 @@ html
 
 </td></tr></table>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/nested_formats/res_parser/nested_deffn/nested_formats.html 
b/tp/tests/nested_formats/res_parser/nested_deffn/nested_formats.html
index 83e507a..cb33ea8 100644
--- a/tp/tests/nested_formats/res_parser/nested_deffn/nested_formats.html
+++ b/tp/tests/nested_formats/res_parser/nested_deffn/nested_formats.html
@@ -48,7 +48,9 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><span id="Test-nested-deffn"></span><h1 class="top">Test 
nested deffn</h1>
+<div class="top" id="Top">
+<div class="node" id="Test-nested-deffn">
+<h1 class="top">Test nested deffn</h1>
 
 
 <p>Call macro
@@ -102,8 +104,9 @@ in macro
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -260,8 +263,9 @@ html
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -418,8 +422,9 @@ html
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-2"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-2">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -574,8 +579,9 @@ in macro
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -732,8 +738,9 @@ Call macro in itemize in format_command
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-4"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-4">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -891,8 +898,9 @@ html
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-5"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-5">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1047,8 +1055,9 @@ in macro
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-6"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-6">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1205,8 +1214,9 @@ Call macro in enumerate in format_command
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-7"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-7">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1366,8 +1376,9 @@ after item</td></tr>
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-8"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-8">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1521,8 +1532,9 @@ in macro
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-9"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-9">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1678,8 +1690,9 @@ Call macro in mutitable in format_command
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-10"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-10">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1843,8 +1856,9 @@ Something2
 </dd></dl>
 <pre class="example">
 
-</pre><span id="subheading-11"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-11">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2030,8 +2044,9 @@ Something2
 </dd></dl>
 <pre class="example">
 
-</pre><span id="subheading-12"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-12">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2219,8 +2234,9 @@ Something2
 </dd></dl>
 <pre class="example">
 
-</pre><span id="subheading-13"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-13">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2408,8 +2424,9 @@ in macro
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-14"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-14">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2566,8 +2583,9 @@ call macro in deffn in format_command
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-15"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-15">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2726,8 +2744,9 @@ html
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-16"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-16">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2885,8 +2904,9 @@ in macro
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-17"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-17">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3042,8 +3062,9 @@ html
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-18"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-18">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3201,8 +3222,9 @@ html
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-19"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-19">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3361,8 +3383,9 @@ html
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-20"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-20">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3517,8 +3540,9 @@ in macro
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-21"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-21">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3674,8 +3698,9 @@ html
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-22"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-22">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3832,8 +3857,9 @@ in macro
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-23"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-23">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3990,8 +4016,9 @@ call macro in flushleft in format_command
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-24"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-24">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -4146,8 +4173,9 @@ html
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-25"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-25">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -4303,8 +4331,9 @@ html
 </p></blockquote>
 </dd></dl>
 
-<span id="subheading-26"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-26">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -4409,7 +4438,8 @@ html
 
 </dd></dl>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/nested_formats/res_parser/nested_enumerate/nested_formats.html 
b/tp/tests/nested_formats/res_parser/nested_enumerate/nested_formats.html
index 573b9a9..bcc5939 100644
--- a/tp/tests/nested_formats/res_parser/nested_enumerate/nested_formats.html
+++ b/tp/tests/nested_formats/res_parser/nested_enumerate/nested_formats.html
@@ -48,7 +48,9 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><span id="Test-nested-enumerate"></span><h1 
class="top">Test nested enumerate</h1>
+<div class="top" id="Top">
+<div class="node" id="Test-nested-enumerate">
+<h1 class="top">Test nested enumerate</h1>
 
 
 <p>Call macro
@@ -88,8 +90,9 @@ in macro
 </p></blockquote>
 </li></ol>
 
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -230,8 +233,9 @@ html
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -373,8 +377,9 @@ html
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-2"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-2">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -514,8 +519,9 @@ in macro
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -656,8 +662,9 @@ Call macro in itemize in format_command
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-4"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-4">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -800,8 +807,9 @@ html
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-5"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-5">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -941,8 +949,9 @@ in macro
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-6"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-6">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1083,8 +1092,9 @@ Call macro in enumerate in format_command
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-7"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-7">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1229,8 +1239,9 @@ after item</td></tr>
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-8"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-8">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1369,8 +1380,9 @@ in macro
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-9"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-9">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1510,8 +1522,9 @@ Call macro in mutitable in format_command
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-10"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-10">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1660,8 +1673,9 @@ Something2
 </li></ol>
 <pre class="example">
 
-</pre><span id="subheading-11"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-11">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1832,8 +1846,9 @@ Something2
 </li></ol>
 <pre class="example">
 
-</pre><span id="subheading-12"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-12">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2005,8 +2020,9 @@ Something2
 </li></ol>
 <pre class="example">
 
-</pre><span id="subheading-13"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-13">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2179,8 +2195,9 @@ in macro
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-14"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-14">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2321,8 +2338,9 @@ call macro in deffn in format_command
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-15"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-15">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2466,8 +2484,9 @@ html
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-16"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-16">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2610,8 +2629,9 @@ in macro
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-17"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-17">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2752,8 +2772,9 @@ html
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-18"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-18">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2895,8 +2916,9 @@ html
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-19"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-19">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3040,8 +3062,9 @@ html
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-20"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-20">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3181,8 +3204,9 @@ in macro
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-21"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-21">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3322,8 +3346,9 @@ html
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-22"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-22">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3465,8 +3490,9 @@ in macro
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-23"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-23">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3607,8 +3633,9 @@ call macro in flushleft in format_command
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-24"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-24">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3748,8 +3775,9 @@ html
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-25"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-25">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3889,8 +3917,9 @@ html
 </p></blockquote>
 </li></ol>
 
-<span id="subheading-26"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-26">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3994,7 +4023,8 @@ html
 
 </li></ol>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/nested_formats/res_parser/nested_example/nested_formats.html 
b/tp/tests/nested_formats/res_parser/nested_example/nested_formats.html
index 3698ceb..9db194d 100644
--- a/tp/tests/nested_formats/res_parser/nested_example/nested_formats.html
+++ b/tp/tests/nested_formats/res_parser/nested_example/nested_formats.html
@@ -48,7 +48,9 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><span id="Test-nested-example"></span><h1 
class="top">Test nested example</h1>
+<div class="top" id="Top">
+<div class="node" id="Test-nested-example">
+<h1 class="top">Test nested example</h1>
 
 
 <p>Call macro
@@ -88,8 +90,9 @@ in macro
 </pre></blockquote>
 </div>
 
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -246,8 +249,9 @@ Something2
 </div>
 <pre class="example">
 
-</pre><span id="subheading-1"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-1">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -413,8 +417,9 @@ html
 </pre></blockquote>
 </div>
 
-<span id="subheading-2"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-2">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -564,8 +569,9 @@ in macro
 </pre></blockquote>
 </div>
 
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -722,8 +728,9 @@ Something2
 </div>
 <pre class="example">
 
-</pre><span id="subheading-4"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-4">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -890,8 +897,9 @@ html
 </pre></blockquote>
 </div>
 
-<span id="subheading-5"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-5">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1041,8 +1049,9 @@ in macro
 </pre></blockquote>
 </div>
 
-<span id="subheading-6"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-6">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1199,8 +1208,9 @@ Something2
 </div>
 <pre class="example">
 
-</pre><span id="subheading-7"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-7">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1369,8 +1379,9 @@ after item</td></tr>
 </pre></blockquote>
 </div>
 
-<span id="subheading-8"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-8">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1519,8 +1530,9 @@ in macro
 </pre></blockquote>
 </div>
 
-<span id="subheading-9"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-9">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1676,8 +1688,9 @@ Something2
 </div>
 <pre class="example">
 
-</pre><span id="subheading-10"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-10">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1850,8 +1863,9 @@ Something2
 </div>
 <pre class="example">
 
-</pre><span id="subheading-11"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-11">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2022,8 +2036,9 @@ Something2
 </div>
 <pre class="example">
 
-</pre><span id="subheading-12"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-12">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2195,8 +2210,9 @@ Something2
 </div>
 <pre class="example">
 
-</pre><span id="subheading-13"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-13">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2369,8 +2385,9 @@ in macro
 </pre></blockquote>
 </div>
 
-<span id="subheading-14"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-14">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2527,8 +2544,9 @@ Something2
 </div>
 <pre class="example">
 
-</pre><span id="subheading-15"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-15">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2696,8 +2714,9 @@ html
 </pre></blockquote>
 </div>
 
-<span id="subheading-16"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-16">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2850,8 +2869,9 @@ in macro
 </pre></blockquote>
 </div>
 
-<span id="subheading-17"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-17">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3002,8 +3022,9 @@ html
 </pre></blockquote>
 </div>
 
-<span id="subheading-18"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-18">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3161,8 +3182,9 @@ Something2
 </div>
 <pre class="example">
 
-</pre><span id="subheading-19"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-19">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -3330,8 +3352,9 @@ html
 </pre></blockquote>
 </div>
 
-<span id="subheading-20"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-20">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3481,8 +3504,9 @@ in macro
 </pre></blockquote>
 </div>
 
-<span id="subheading-21"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-21">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3638,8 +3662,9 @@ Something2
 </div>
 <pre class="example">
 
-</pre><span id="subheading-22"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-22">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -3805,8 +3830,9 @@ in macro
 </pre></blockquote>
 </div>
 
-<span id="subheading-23"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-23">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3963,8 +3989,9 @@ Something2
 </div>
 <pre class="example">
 
-</pre><span id="subheading-24"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-24">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -4128,8 +4155,9 @@ html
 </pre></blockquote>
 </div>
 
-<span id="subheading-25"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-25">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -4285,8 +4313,9 @@ Something2
 </div>
 <pre class="example">
 
-</pre><span id="subheading-26"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-26">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -4414,7 +4443,8 @@ html
 
 </pre></div>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/nested_formats/res_parser/nested_flushright/nested_formats.html 
b/tp/tests/nested_formats/res_parser/nested_flushright/nested_formats.html
index 1344382..1d72632 100644
--- a/tp/tests/nested_formats/res_parser/nested_flushright/nested_formats.html
+++ b/tp/tests/nested_formats/res_parser/nested_flushright/nested_formats.html
@@ -48,7 +48,9 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><span id="Test-nested-flushright"></span><h1 
class="top">Test nested flushright</h1>
+<div class="top" id="Top">
+<div class="node" id="Test-nested-flushright">
+<h1 class="top">Test nested flushright</h1>
 
 
 <p>Call macro
@@ -78,8 +80,9 @@ in macro
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -207,8 +210,9 @@ html
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -337,8 +341,9 @@ html
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-2"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-2">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -466,8 +471,9 @@ in macro
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -595,8 +601,9 @@ Call macro in itemize in format_command
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-4"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-4">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -726,8 +733,9 @@ html
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-5"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-5">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -855,8 +863,9 @@ in macro
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-6"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-6">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -984,8 +993,9 @@ Call macro in enumerate in format_command
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-7"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-7">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1117,8 +1127,9 @@ after item</td></tr>
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-8"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-8">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1246,8 +1257,9 @@ in macro
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-9"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-9">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1375,8 +1387,9 @@ Call macro in mutitable in format_command
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-10"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-10">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1512,8 +1525,9 @@ Something2
 </pre></blockquote>
 <pre class="example">
 
-</pre><span id="subheading-11"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-11">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1672,8 +1686,9 @@ Something2
 </pre></blockquote>
 <pre class="example">
 
-</pre><span id="subheading-12"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-12">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1832,8 +1847,9 @@ Something2
 </pre></blockquote>
 <pre class="example">
 
-</pre><span id="subheading-13"></span><h3 class="subheading">subheading</h3>
-<pre class="example">
+</pre><div class="subheading" id="subheading-13">
+<h3 class="subheading">subheading</h3>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1993,8 +2009,9 @@ in macro
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-14"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-14">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2122,8 +2139,9 @@ call macro in deffn in format_command
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-15"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-15">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2254,8 +2272,9 @@ html
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-16"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-16">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2386,8 +2405,9 @@ in macro
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-17"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-17">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2516,8 +2536,9 @@ html
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-18"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-18">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2646,8 +2667,9 @@ html
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-19"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-19">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2778,8 +2800,9 @@ html
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-20"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-20">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2907,8 +2930,9 @@ in macro
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-21"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-21">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3035,8 +3059,9 @@ html
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-22"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-22">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3165,8 +3190,9 @@ in macro
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-23"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-23">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3294,8 +3320,9 @@ call macro in flushleft in format_command
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-24"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-24">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3422,8 +3449,9 @@ html
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-25"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-25">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3550,8 +3578,9 @@ html
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-26"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-26">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3652,7 +3681,8 @@ html
 <div align="center">ce&ndash;ntered line
 </div>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/nested_formats/res_parser/nested_group/nested_formats.html 
b/tp/tests/nested_formats/res_parser/nested_group/nested_formats.html
index 4aff75f..52a3066 100644
--- a/tp/tests/nested_formats/res_parser/nested_group/nested_formats.html
+++ b/tp/tests/nested_formats/res_parser/nested_group/nested_formats.html
@@ -48,7 +48,9 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><span id="Test-nested-group"></span><h1 class="top">Test 
nested group</h1>
+<div class="top" id="Top">
+<div class="node" id="Test-nested-group">
+<h1 class="top">Test nested group</h1>
 
 
 <p>Call macro
@@ -78,8 +80,9 @@ in macro
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -207,8 +210,9 @@ html
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -337,8 +341,9 @@ html
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-2"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-2">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -466,8 +471,9 @@ in macro
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -595,8 +601,9 @@ Call macro in itemize in format_command
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-4"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-4">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -726,8 +733,9 @@ html
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-5"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-5">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -855,8 +863,9 @@ in macro
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-6"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-6">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -984,8 +993,9 @@ Call macro in enumerate in format_command
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-7"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-7">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1117,8 +1127,9 @@ after item</td></tr>
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-8"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-8">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1246,8 +1257,9 @@ in macro
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-9"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-9">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1375,8 +1387,9 @@ Call macro in mutitable in format_command
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-10"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-10">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1512,8 +1525,9 @@ Something2
 </pre></blockquote>
 <pre class="example">
 
-</pre><span id="subheading-11"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-11">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1672,8 +1686,9 @@ Something2
 </pre></blockquote>
 <pre class="example">
 
-</pre><span id="subheading-12"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-12">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1832,8 +1847,9 @@ Something2
 </pre></blockquote>
 <pre class="example">
 
-</pre><span id="subheading-13"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-13">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1993,8 +2009,9 @@ in macro
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-14"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-14">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2122,8 +2139,9 @@ call macro in deffn in format_command
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-15"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-15">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2254,8 +2272,9 @@ html
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-16"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-16">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2386,8 +2405,9 @@ in macro
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-17"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-17">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2516,8 +2536,9 @@ html
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-18"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-18">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2646,8 +2667,9 @@ html
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-19"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-19">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2778,8 +2800,9 @@ html
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-20"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-20">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2907,8 +2930,9 @@ in macro
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-21"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-21">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3035,8 +3059,9 @@ html
 <p>A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-22"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-22">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3165,8 +3190,9 @@ in macro
 <p align="left">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-23"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-23">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3294,8 +3320,9 @@ call macro in flushleft in format_command
 <p align="left">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-24"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-24">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3422,8 +3449,9 @@ html
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-25"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-25">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3550,8 +3578,9 @@ html
 <p align="right">A quot&mdash;ation
 </p></blockquote>
 
-<span id="subheading-26"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-26">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3652,7 +3681,8 @@ html
 <div align="center">ce&ndash;ntered line
 </div>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/nested_formats/res_parser/nested_itemize/nested_formats.html 
b/tp/tests/nested_formats/res_parser/nested_itemize/nested_formats.html
index 701de69..8edadd4 100644
--- a/tp/tests/nested_formats/res_parser/nested_itemize/nested_formats.html
+++ b/tp/tests/nested_formats/res_parser/nested_itemize/nested_formats.html
@@ -48,7 +48,9 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><span id="Test-nested-itemize"></span><h1 
class="top">Test nested itemize</h1>
+<div class="top" id="Top">
+<div class="node" id="Test-nested-itemize">
+<h1 class="top">Test nested itemize</h1>
 
 
 <p>Call macro
@@ -94,8 +96,9 @@ in macro
 </p></blockquote>
 </li></ul>
 
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -242,8 +245,9 @@ html
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -391,8 +395,9 @@ html
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-2"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-2">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -538,8 +543,9 @@ in macro
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -686,8 +692,9 @@ Call macro in itemize in format_command
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-4"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-4">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -836,8 +843,9 @@ html
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-5"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-5">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -983,8 +991,9 @@ in macro
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-6"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-6">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1131,8 +1140,9 @@ Call macro in enumerate in format_command
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-7"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-7">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1283,8 +1293,9 @@ after item</td></tr>
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-8"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-8">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1429,8 +1440,9 @@ in macro
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-9"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-9">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1576,8 +1588,9 @@ Call macro in mutitable in format_command
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-10"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-10">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1732,8 +1745,9 @@ Something2
 </li></ul>
 <pre class="example">
 
-</pre><span id="subheading-11"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-11">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1910,8 +1924,9 @@ Something2
 </li></ul>
 <pre class="example">
 
-</pre><span id="subheading-12"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-12">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2089,8 +2104,9 @@ Something2
 </li></ul>
 <pre class="example">
 
-</pre><span id="subheading-13"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-13">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2269,8 +2285,9 @@ in macro
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-14"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-14">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2417,8 +2434,9 @@ call macro in deffn in format_command
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-15"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-15">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2568,8 +2586,9 @@ html
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-16"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-16">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2718,8 +2737,9 @@ in macro
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-17"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-17">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2866,8 +2886,9 @@ html
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-18"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-18">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3015,8 +3036,9 @@ html
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-19"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-19">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3166,8 +3188,9 @@ html
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-20"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-20">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3313,8 +3336,9 @@ in macro
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-21"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-21">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3460,8 +3484,9 @@ html
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-22"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-22">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3609,8 +3634,9 @@ in macro
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-23"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-23">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3757,8 +3783,9 @@ call macro in flushleft in format_command
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-24"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-24">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3904,8 +3931,9 @@ html
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-25"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-25">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -4051,8 +4079,9 @@ html
 </p></blockquote>
 </li></ul>
 
-<span id="subheading-26"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-26">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -4156,7 +4185,8 @@ html
 
 </li></ul>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/nested_formats/res_parser/nested_menu/nested_formats.html 
b/tp/tests/nested_formats/res_parser/nested_menu/nested_formats.html
index a592cc3..7d72c06 100644
--- a/tp/tests/nested_formats/res_parser/nested_menu/nested_formats.html
+++ b/tp/tests/nested_formats/res_parser/nested_menu/nested_formats.html
@@ -48,7 +48,9 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><span id="Test-nested-menu"></span><h1 class="top">Test 
nested menu</h1>
+<div class="top" id="Top">
+<div class="node" id="Test-nested-menu">
+<h1 class="top">Test nested menu</h1>
 
 
 <p>Call macro
@@ -88,8 +90,9 @@ in macro
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -246,8 +249,9 @@ Something2
 </th></tr></table>
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
-</pre><span id="subheading-1"></span><strong>subheading</strong>
-<pre class="menu-comment">
+</pre><div class="subheading" id="subheading-1">
+<strong>subheading</strong>
+</div><pre class="menu-comment">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="menu-comment">
@@ -413,8 +417,9 @@ html
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading-2"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-2">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -564,8 +569,9 @@ in macro
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -722,8 +728,9 @@ Something2
 </th></tr></table>
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
-</pre><span id="subheading-4"></span><strong>subheading</strong>
-<pre class="menu-comment">
+</pre><div class="subheading" id="subheading-4">
+<strong>subheading</strong>
+</div><pre class="menu-comment">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="menu-comment">
@@ -890,8 +897,9 @@ html
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading-5"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-5">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1041,8 +1049,9 @@ in macro
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading-6"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-6">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1199,8 +1208,9 @@ Something2
 </th></tr></table>
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
-</pre><span id="subheading-7"></span><strong>subheading</strong>
-<pre class="menu-comment">
+</pre><div class="subheading" id="subheading-7">
+<strong>subheading</strong>
+</div><pre class="menu-comment">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="menu-comment">
@@ -1369,8 +1379,9 @@ after item</td></tr>
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading-8"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-8">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1519,8 +1530,9 @@ in macro
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading-9"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-9">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1676,8 +1688,9 @@ Something2
 </th></tr></table>
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
-</pre><span id="subheading-10"></span><strong>subheading</strong>
-<pre class="menu-comment">
+</pre><div class="subheading" id="subheading-10">
+<strong>subheading</strong>
+</div><pre class="menu-comment">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="menu-comment">
@@ -1850,8 +1863,9 @@ Something2
 </td></tr></table>
 <pre class="example">
 
-</pre><span id="subheading-11"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-11">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2022,8 +2036,9 @@ Something2
 </td></tr></table>
 <pre class="example">
 
-</pre><span id="subheading-12"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-12">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2195,8 +2210,9 @@ Something2
 </td></tr></table>
 <pre class="menu-preformatted">
 
-</pre><span id="subheading-13"></span><strong>subheading</strong>
-<pre class="menu-preformatted">
+</pre><div class="subheading" id="subheading-13">
+<strong>subheading</strong>
+</div><pre class="menu-preformatted">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="menu-preformatted">
@@ -2369,8 +2385,9 @@ in macro
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading-14"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-14">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2527,8 +2544,9 @@ Something2
 </th></tr></table>
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
-</pre><span id="subheading-15"></span><strong>subheading</strong>
-<pre class="menu-comment">
+</pre><div class="subheading" id="subheading-15">
+<strong>subheading</strong>
+</div><pre class="menu-comment">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="menu-comment">
@@ -2696,8 +2714,9 @@ html
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading-16"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-16">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2850,8 +2869,9 @@ in macro
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading-17"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-17">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3002,8 +3022,9 @@ html
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading-18"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-18">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3161,8 +3182,9 @@ Something2
 </th></tr></table>
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
-</pre><span id="subheading-19"></span><strong>subheading</strong>
-<pre class="menu-comment">
+</pre><div class="subheading" id="subheading-19">
+<strong>subheading</strong>
+</div><pre class="menu-comment">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="menu-comment">
@@ -3330,8 +3352,9 @@ html
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading-20"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-20">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3481,8 +3504,9 @@ in macro
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading-21"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-21">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3638,8 +3662,9 @@ Something2
 </th></tr></table>
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
-</pre><span id="subheading-22"></span><strong>subheading</strong>
-<pre class="menu-comment">
+</pre><div class="subheading" id="subheading-22">
+<strong>subheading</strong>
+</div><pre class="menu-comment">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="menu-comment">
@@ -3805,8 +3830,9 @@ in macro
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading-23"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-23">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3963,8 +3989,9 @@ Something2
 </th></tr></table>
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
-</pre><span id="subheading-24"></span><strong>subheading</strong>
-<pre class="menu-comment">
+</pre><div class="subheading" id="subheading-24">
+<strong>subheading</strong>
+</div><pre class="menu-comment">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="menu-comment">
@@ -4128,8 +4155,9 @@ html
 </pre></blockquote>
 </th></tr></table>
 
-<span id="subheading-25"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-25">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -4285,8 +4313,9 @@ Something2
 </th></tr></table>
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
-</pre><span id="subheading-26"></span><strong>subheading</strong>
-<pre class="menu-comment">
+</pre><div class="subheading" id="subheading-26">
+<strong>subheading</strong>
+</div><pre class="menu-comment">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="menu-comment">
@@ -4414,7 +4443,8 @@ html
 
 </pre></th></tr></table>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/nested_formats/res_parser/nested_multitable/nested_formats.html 
b/tp/tests/nested_formats/res_parser/nested_multitable/nested_formats.html
index 192c03b..0a44b1b 100644
--- a/tp/tests/nested_formats/res_parser/nested_multitable/nested_formats.html
+++ b/tp/tests/nested_formats/res_parser/nested_multitable/nested_formats.html
@@ -48,7 +48,9 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><span id="Test-nested-multitable"></span><h1 
class="top">Test nested multitable</h1>
+<div class="top" id="Top">
+<div class="node" id="Test-nested-multitable">
+<h1 class="top">Test nested multitable</h1>
 
 
 <p>Call macro
@@ -88,8 +90,9 @@ in macro
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -231,8 +234,9 @@ html
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -374,8 +378,9 @@ html
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-2"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-2">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -516,8 +521,9 @@ in macro
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -659,8 +665,9 @@ Call macro in itemize in format_command
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-4"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-4">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -803,8 +810,9 @@ html
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-5"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-5">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -945,8 +953,9 @@ in macro
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-6"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-6">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1088,8 +1097,9 @@ Call macro in enumerate in format_command
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-7"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-7">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1234,8 +1244,9 @@ after item</td></tr>
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-8"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-8">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1375,8 +1386,9 @@ in macro
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-9"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-9">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1517,8 +1529,9 @@ Call macro in mutitable in format_command
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-10"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-10">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1667,8 +1680,9 @@ Something2
 </table>
 <pre class="example">
 
-</pre><span id="subheading-11"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-11">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1819,8 +1833,9 @@ Something2
 </table>
 <pre class="example">
 
-</pre><span id="subheading-12"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-12">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1949,8 +1964,9 @@ Something2</pre><table>
 <pre class="example">A quot---ation
 </pre></blockquote></td></tr>
 </table>
-<pre class="example"></pre><span 
id="subheading-13"></span><strong>subheading</strong>
-<pre class="example"></pre><pre class="verbatim">in verbatim
+<pre class="example"></pre><div class="subheading" id="subheading-13">
+<strong>subheading</strong>
+</div><pre class="example"></pre><pre class="verbatim">in verbatim
 </pre><pre class="example">html</pre><ul>
 <li> <pre class="example">i--tem 1
 </pre></li><li> <pre class="example">i--tem 2
@@ -2072,8 +2088,9 @@ in macro
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-14"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-14">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2215,8 +2232,9 @@ call macro in deffn in format_command
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-15"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-15">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2360,8 +2378,9 @@ html
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-16"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-16">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2505,8 +2524,9 @@ in macro
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-17"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-17">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2648,8 +2668,9 @@ html
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-18"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-18">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2792,8 +2813,9 @@ html
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-19"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-19">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2937,8 +2959,9 @@ html
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-20"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-20">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3079,8 +3102,9 @@ in macro
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-21"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-21">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3221,8 +3245,9 @@ html
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-22"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-22">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3364,8 +3389,9 @@ in macro
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-23"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-23">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3507,8 +3533,9 @@ call macro in flushleft in format_command
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-24"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-24">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3648,8 +3675,9 @@ html
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-25"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-25">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3790,8 +3818,9 @@ html
 </p></blockquote></td></tr>
 </table>
 
-<span id="subheading-26"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-26">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3895,7 +3924,8 @@ html
 </table></td></tr>
 </table>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/nested_formats/res_parser/nested_quotation/nested_formats.html 
b/tp/tests/nested_formats/res_parser/nested_quotation/nested_formats.html
index 24337fb..a3cb73d 100644
--- a/tp/tests/nested_formats/res_parser/nested_quotation/nested_formats.html
+++ b/tp/tests/nested_formats/res_parser/nested_quotation/nested_formats.html
@@ -48,7 +48,9 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><span id="Test-nested-quotation"></span><h1 
class="top">Test nested quotation</h1>
+<div class="top" id="Top">
+<div class="node" id="Test-nested-quotation">
+<h1 class="top">Test nested quotation</h1>
 
 
 <p>Call macro
@@ -94,8 +96,9 @@ in macro
 </p></blockquote>
 </blockquote>
 
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -242,8 +245,9 @@ html
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -391,8 +395,9 @@ html
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-2"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-2">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -538,8 +543,9 @@ in macro
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -686,8 +692,9 @@ Call macro in itemize in format_command
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-4"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-4">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -836,8 +843,9 @@ html
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-5"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-5">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -983,8 +991,9 @@ in macro
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-6"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-6">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1131,8 +1140,9 @@ Call macro in enumerate in format_command
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-7"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-7">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1283,8 +1293,9 @@ after item</td></tr>
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-8"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-8">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1429,8 +1440,9 @@ in macro
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-9"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-9">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1576,8 +1588,9 @@ Call macro in mutitable in format_command
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-10"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-10">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1732,8 +1745,9 @@ Something2
 </blockquote>
 <pre class="example">
 
-</pre><span id="subheading-11"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-11">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1910,8 +1924,9 @@ Something2
 </blockquote>
 <pre class="example">
 
-</pre><span id="subheading-12"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-12">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2089,8 +2104,9 @@ Something2
 </blockquote>
 <pre class="example">
 
-</pre><span id="subheading-13"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-13">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2269,8 +2285,9 @@ in macro
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-14"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-14">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2417,8 +2434,9 @@ call macro in deffn in format_command
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-15"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-15">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2568,8 +2586,9 @@ html
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-16"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-16">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2718,8 +2737,9 @@ in macro
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-17"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-17">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2866,8 +2886,9 @@ html
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-18"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-18">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3015,8 +3036,9 @@ html
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-19"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-19">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3166,8 +3188,9 @@ html
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-20"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-20">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3313,8 +3336,9 @@ in macro
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-21"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-21">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3460,8 +3484,9 @@ html
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-22"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-22">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3609,8 +3634,9 @@ in macro
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-23"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-23">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3757,8 +3783,9 @@ call macro in flushleft in format_command
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-24"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-24">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3904,8 +3931,9 @@ html
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-25"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-25">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -4051,8 +4079,9 @@ html
 </p></blockquote>
 </blockquote>
 
-<span id="subheading-26"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-26">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -4156,7 +4185,8 @@ html
 
 </blockquote>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/nested_formats/res_parser/nested_table/nested_formats.html 
b/tp/tests/nested_formats/res_parser/nested_table/nested_formats.html
index ed2d590..a3f5a57 100644
--- a/tp/tests/nested_formats/res_parser/nested_table/nested_formats.html
+++ b/tp/tests/nested_formats/res_parser/nested_table/nested_formats.html
@@ -48,7 +48,9 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><span id="Test-nested-table"></span><h1 class="top">Test 
nested table</h1>
+<div class="top" id="Top">
+<div class="node" id="Test-nested-table">
+<h1 class="top">Test nested table</h1>
 
 
 <p>Call macro
@@ -93,8 +95,9 @@ in macro
 </dd>
 </dl>
 
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -241,8 +244,9 @@ html
 </dd>
 </dl>
 
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -391,8 +395,9 @@ html
 </dd>
 </dl>
 
-<span id="subheading-2"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-2">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -538,8 +543,9 @@ in macro
 </dd>
 </dl>
 
-<span id="subheading-3"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-3">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -686,8 +692,9 @@ Call macro in itemize in format_command
 </dd>
 </dl>
 
-<span id="subheading-4"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-4">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -837,8 +844,9 @@ html
 </dd>
 </dl>
 
-<span id="subheading-5"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-5">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -984,8 +992,9 @@ in macro
 </dd>
 </dl>
 
-<span id="subheading-6"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-6">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1132,8 +1141,9 @@ Call macro in enumerate in format_command
 </dd>
 </dl>
 
-<span id="subheading-7"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-7">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1285,8 +1295,9 @@ after item</td></tr>
 </dd>
 </dl>
 
-<span id="subheading-8"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-8">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1431,8 +1442,9 @@ in macro
 </dd>
 </dl>
 
-<span id="subheading-9"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-9">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1578,8 +1590,9 @@ Call macro in mutitable in format_command
 </dd>
 </dl>
 
-<span id="subheading-10"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-10">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -1735,8 +1748,9 @@ Something2
 </dl>
 <pre class="example">
 
-</pre><span id="subheading-11"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-11">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -1913,8 +1927,9 @@ Something2
 </dl>
 <pre class="example">
 
-</pre><span id="subheading-12"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-12">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2092,8 +2107,9 @@ Something2
 </dl>
 <pre class="example">
 
-</pre><span id="subheading-13"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-13">
+<strong>subheading</strong>
+</div><pre class="example">
 
 </pre><pre class="verbatim">in verbatim
 </pre><pre class="example">
@@ -2273,8 +2289,9 @@ in macro
 </dd>
 </dl>
 
-<span id="subheading-14"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-14">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2421,8 +2438,9 @@ call macro in deffn in format_command
 </dd>
 </dl>
 
-<span id="subheading-15"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-15">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2573,8 +2591,9 @@ html
 </dd>
 </dl>
 
-<span id="subheading-16"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-16">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2723,8 +2742,9 @@ in macro
 </dd>
 </dl>
 
-<span id="subheading-17"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-17">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -2871,8 +2891,9 @@ html
 </dd>
 </dl>
 
-<span id="subheading-18"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-18">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3020,8 +3041,9 @@ html
 </dd>
 </dl>
 
-<span id="subheading-19"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-19">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3172,8 +3194,9 @@ html
 </dd>
 </dl>
 
-<span id="subheading-20"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-20">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3319,8 +3342,9 @@ in macro
 </dd>
 </dl>
 
-<span id="subheading-21"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-21">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3466,8 +3490,9 @@ html
 </dd>
 </dl>
 
-<span id="subheading-22"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-22">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3616,8 +3641,9 @@ in macro
 </dd>
 </dl>
 
-<span id="subheading-23"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-23">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3764,8 +3790,9 @@ call macro in flushleft in format_command
 </dd>
 </dl>
 
-<span id="subheading-24"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-24">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -3912,8 +3939,9 @@ html
 </dd>
 </dl>
 
-<span id="subheading-25"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-25">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -4059,8 +4087,9 @@ html
 </dd>
 </dl>
 
-<span id="subheading-26"></span><h3 class="subheading">subheading</h3>
-
+<div class="subheading" id="subheading-26">
+<h3 class="subheading">subheading</h3>
+</div>
 <pre class="verbatim">in verbatim
 </pre>
 
@@ -4166,7 +4195,8 @@ html
 </dd>
 </dl>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git 
a/tp/tests/sectioning/res_parser/sectioning_directions/sectioning.html 
b/tp/tests/sectioning/res_parser/sectioning_directions/sectioning.html
index 1c45d32..330f5b1 100644
--- a/tp/tests/sectioning/res_parser/sectioning_directions/sectioning.html
+++ b/tp/tests/sectioning/res_parser/sectioning_directions/sectioning.html
@@ -34,7 +34,8 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">|</td>
 <td valign="middle" align="left">node-Up</td>
 <td valign="middle" align="left"></td>
@@ -140,7 +141,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left"></td>
 <td valign="middle" align="left">|</td>
 </tr></table>
-<span id="SEC_Top"></span><table class="menu" border="0" cellspacing="0">
+<div class="node" id="SEC_Top">
+<table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#First-node">1 first node 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">node 1
   explaination no heading ?
 * and here ?
@@ -173,8 +175,9 @@ description here
 
 </pre></th></tr></table>
 
-<hr size="6">
-<span id="First-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="First-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">|</td>
 <td valign="middle" align="left">node-Up</td>
 <td valign="middle" align="left">Top</td>
@@ -280,7 +283,8 @@ description here
 <td valign="middle" align="left"></td>
 <td valign="middle" align="left">|</td>
 </tr></table>
-<span id="first-node-chapter"></span><h1 class="chapter">1 first node 
chapter</h1>
+<div class="node" id="first-node-chapter">
+<h1 class="chapter">1 first node chapter</h1>
 
 <p>first node chapter text
 </p><table class="menu" border="0" cellspacing="0">
@@ -294,8 +298,9 @@ description here
 
 </pre></th></tr></table>
 
-<hr>
-<span id="unnumbered"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="unnumberedsec" id="unnumbered">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">|</td>
 <td valign="middle" align="left">node-Up</td>
 <td valign="middle" align="left">First node</td>
@@ -401,7 +406,8 @@ description here
 <td valign="middle" align="left">1 first node chapter</td>
 <td valign="middle" align="left">|</td>
 </tr></table>
-<span id="unnumbered-section"></span><h2 class="unnumberedsec">unnumbered 
section</h2>
+<div class="node" id="unnumbered-section">
+<h2 class="unnumberedsec">unnumbered section</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#unnumbered-sub">unnumbered 
subsection</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">un
@@ -414,8 +420,9 @@ description here
 </td></tr>
 </table>
 
-<hr>
-<span id="unnumbered-sub"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="unnumberedsubsec" id="unnumbered-sub">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">|</td>
 <td valign="middle" align="left">node-Up</td>
 <td valign="middle" align="left">unnumbered</td>
@@ -521,10 +528,13 @@ description here
 <td valign="middle" align="left">unnumbered section</td>
 <td valign="middle" align="left">|</td>
 </tr></table>
-<span id="unnumbered-subsection"></span><h3 
class="unnumberedsubsec">unnumbered subsection</h3>
+<div class="node" id="unnumbered-subsection">
+<h3 class="unnumberedsubsec">unnumbered subsection</h3>
 
-<hr>
-<span id="numbered-sub"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">|</td>
 <td valign="middle" align="left">node-Up</td>
 <td valign="middle" align="left">unnumbered</td>
@@ -630,10 +640,13 @@ description here
 <td valign="middle" align="left">unnumbered subsection</td>
 <td valign="middle" align="left">|</td>
 </tr></table>
-<span id="numbered-subsection"></span><h3 class="subsection">numbered 
subsection</h3>
+<div class="node" id="numbered-subsection">
+<h3 class="subsection">numbered subsection</h3>
 
-<hr>
-<span id="unnumbered-sub2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="unnumberedsubsec" id="unnumbered-sub2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">|</td>
 <td valign="middle" align="left">node-Up</td>
 <td valign="middle" align="left">unnumbered</td>
@@ -739,10 +752,13 @@ description here
 <td valign="middle" align="left">numbered subsection</td>
 <td valign="middle" align="left">|</td>
 </tr></table>
-<span id="unnumbered-subsection2"></span><h3 
class="unnumberedsubsec">unnumbered subsection2</h3>
+<div class="node" id="unnumbered-subsection2">
+<h3 class="unnumberedsubsec">unnumbered subsection2</h3>
 
-<hr>
-<span id="numbered-sub2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="subsection" id="numbered-sub2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">|</td>
 <td valign="middle" align="left">node-Up</td>
 <td valign="middle" align="left">unnumbered</td>
@@ -848,10 +864,14 @@ description here
 <td valign="middle" align="left">unnumbered subsection2</td>
 <td valign="middle" align="left">|</td>
 </tr></table>
-<span id="numbered-subsection2"></span><h3 class="subsection">numbered 
subsection2</h3>
+<div class="node" id="numbered-subsection2">
+<h3 class="subsection">numbered subsection2</h3>
 
-<hr>
-<span id="unnumbered2"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+</div>
+<div class="unnumberedsec" id="unnumbered2">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">|</td>
 <td valign="middle" align="left">node-Up</td>
 <td valign="middle" align="left">First node</td>
@@ -957,15 +977,17 @@ description here
 <td valign="middle" align="left">numbered subsection2</td>
 <td valign="middle" align="left">|</td>
 </tr></table>
-<span id="unnumbered-section2"></span><h2 class="unnumberedsec">unnumbered 
section2</h2>
+<div class="node" id="unnumbered-section2">
+<h2 class="unnumberedsec">unnumbered section2</h2>
 
 <table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="#numbered-sub3">numbered 
subsection3</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 </table>
 
-<hr>
-<span id="numbered-sub3"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+<div class="subsection" id="numbered-sub3">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">|</td>
 <td valign="middle" align="left">node-Up</td>
 <td valign="middle" align="left">unnumbered2</td>
@@ -1071,11 +1093,15 @@ description here
 <td valign="middle" align="left">unnumbered section2</td>
 <td valign="middle" align="left">|</td>
 </tr></table>
-<span id="numbered-subsection3"></span><h3 class="subsection">numbered 
subsection3</h3>
+<div class="node" id="numbered-subsection3">
+<h3 class="subsection">numbered subsection3</h3>
 
 
-<hr>
-<span id="numbered"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+</div>
+<div class="section" id="numbered">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">|</td>
 <td valign="middle" align="left">node-Up</td>
 <td valign="middle" align="left">First node</td>
@@ -1181,13 +1207,18 @@ description here
 <td valign="middle" align="left">numbered subsection3</td>
 <td valign="middle" align="left">|</td>
 </tr></table>
-<span id="numbered-section"></span><h2 class="section">1.1 numbered 
section</h2>
+<div class="node" id="numbered-section">
+<h2 class="section">1.1 numbered section</h2>
+
+</div><div class="node" id="between-node">
 
-<span id="between-node"></span>
 <p>between node, node without sectioning node
 </p>
-<hr>
-<span id="Second-node"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+</div>
+<div class="chapter" id="Second-node">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">|</td>
 <td valign="middle" align="left">node-Up</td>
 <td valign="middle" align="left">Top</td>
@@ -1296,12 +1327,15 @@ description here
 
 <p>Second node text
 </p>
-<span id="second-node-chapter"></span><h1 class="chapter">2 second node 
chapter</h1>
+<div class="node" id="second-node-chapter">
+<h1 class="chapter">2 second node chapter</h1>
 
 <p>second node chapter text.
 </p>
-<hr>
-<span id="Third-node-unnumbered"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr>
+</div>
+<div class="unnumbered" id="Third-node-unnumbered">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">|</td>
 <td valign="middle" align="left">node-Up</td>
 <td valign="middle" align="left">Top</td>
@@ -1407,14 +1441,18 @@ description here
 <td valign="middle" align="left">2 second node chapter</td>
 <td valign="middle" align="left">|</td>
 </tr></table>
-<span id="unnumbered-chapter"></span><h1 class="unnumbered">unnumbered 
chapter</h1>
+<div class="node" id="unnumbered-chapter">
+<h1 class="unnumbered">unnumbered chapter</h1>
 
 <p>unnumbered chapter text.
 </p>
 
-<span id="Last-node-no-description"></span>
-<hr size="6">
-<span id="SEC_Contents"></span>
+</div><div class="node" id="Last-node-no-description">
+
+</div><hr size="6">
+</div>
+</div>
+<div class="Contents_element" id="SEC_Contents">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">|</td>
 <td valign="middle" align="left">node-Up</td>
@@ -1545,8 +1583,8 @@ description here
   <li><a id="toc-unnumbered-chapter" href="#Third-node-unnumbered">unnumbered 
chapter</a></li>
 </ul>
 </div>
-<hr>
-<span id="SEC_About"></span>
+</div><hr>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">|</td>
 <td valign="middle" align="left">node-Up</td>
@@ -1701,7 +1739,7 @@ description here
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/tex_html/res_parser/block_EOL_tex/block_EOL.html 
b/tp/tests/tex_html/res_parser/block_EOL_tex/block_EOL.html
index fab4f1a..39614b4 100644
--- a/tp/tests/tex_html/res_parser/block_EOL_tex/block_EOL.html
+++ b/tp/tests/tex_html/res_parser/block_EOL_tex/block_EOL.html
@@ -12,8 +12,7 @@
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -26,6 +25,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -35,10 +35,13 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span><span 
id="Test-for-end-of-lines-and-block-commands"></span><h1 class="top">Test for 
end of lines and block commands</h1>
-
-<span id="html"></span><h2 class="heading">html</h2>
+<div class="top" id="Top">
+<div class="node" id="Test-for-end-of-lines-and-block-commands">
+<h1 class="top">Test for end of lines and block commands</h1>
 
+<div class="heading" id="html">
+<h2 class="heading">html</h2>
+</div>
 Surrounded by empty lines.
 
 <p>Block commands on a line
@@ -61,8 +64,9 @@ end commands on a line.
 </p>
 <p>Before the opening command in block
 </p>
-<span id="tex"></span><h2 class="heading">tex</h2>
-
+<div class="heading" id="tex">
+<h2 class="heading">tex</h2>
+</div>
 Surrounded by empty lines.
 
 <p>Block commands on a line
@@ -80,8 +84,9 @@ end commands on a line.
 <p>Before the opening command in block
 </p>
 
-<span id="verbatim"></span><h2 class="heading">verbatim</h2>
-
+<div class="heading" id="verbatim">
+<h2 class="heading">verbatim</h2>
+</div>
 <pre class="verbatim">Surrounded by empty lines.
 </pre>
 <p>Block commands on a line
@@ -100,7 +105,8 @@ end commands on a line.
 <p>Before the opening command </p><pre class="verbatim">in block
 </pre><p>. A symbol after the closing command.
 </p>
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/anchor.html 
b/tp/tests/tex_html/res_parser/formatting_singular/anchor.html
index 515faa1..b91dce7 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/anchor.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/anchor.html
@@ -633,8 +633,7 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -647,6 +646,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/chapter.html 
b/tp/tests/tex_html/res_parser/formatting_singular/chapter.html
index 944a87a..c7e6242 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/chapter.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/chapter.html
@@ -632,8 +632,7 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -646,6 +645,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -655,7 +655,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en"  background="../singular_images/Mybg.png">
 
-<span id="chapter"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="chapter" id="chapter">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -695,7 +696,8 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="chapter-1"></span><h1 class="chapter">1 chapter</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <p><a id="DOCF9" href="sing_fot.htm#FOOT9"><sup>7</sup></a>
 </p>
@@ -711,7 +713,7 @@ Menu comment
 </pre></table></blockquote>
 </div>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html 
b/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html
index 096fb49..c0e567e 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html
@@ -632,8 +632,7 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -646,6 +645,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -655,7 +655,12 @@ ul.no-bullet {list-style: none}
 
 <body lang="en"  background="../singular_images/Mybg.png">
 
-<span id="chapter2"></span><table border="0" cellpadding="0" cellspacing="0">
+</div>
+</div>
+</div>
+</div>
+<div class="centerchap" id="chapter2">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -695,7 +700,8 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="chapter-2"></span><h1 class="centerchap" align="center">chapter 
2</h1>
+<div class="node" id="chapter-2">
+<h1 class="centerchap" align="center">chapter 2</h1>
 
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#chapter-2_cp_symbol-1"><b>&quot;</b></a>
  &nbsp; 
@@ -1018,7 +1024,7 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/index.htm 
b/tp/tests/tex_html/res_parser/formatting_singular/index.htm
index 42313e3..7a61cde 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/index.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/index.htm
@@ -632,8 +632,7 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -646,6 +645,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -656,7 +656,8 @@ ul.no-bullet {list-style: none}
 <body lang="en"  background="../singular_images/Mybg.png">
 
 
-<span id="Top"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="top" id="Top">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -681,7 +682,8 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="Top-section"></span><h1 class="top">Top section</h1>
+<div class="node" id="Top-section">
+<h1 class="top">Top section</h1>
 
 <blockquote><table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="chapter.html">1 
chapter</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top"></td></tr>
@@ -1104,142 +1106,142 @@ $">
 </DIV>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deffn_005fname"><span 
class="category">c--ategory: </span><strong>d--effn_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002deffn_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-d_002d_002deffn_005fname"><span 
class="category">c--ategory: </span><span><strong>d--effn_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002deffn_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;effn
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-de_002d_002dffn_005fname"><span 
class="category">cate--gory: </span><strong>de--ffn_name</strong> 
<em>ar--guments    more args <br> even more so</em><a 
href='#index-copying-de_002d_002dffn_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-de_002d_002dffn_005fname"><span 
class="category">cate--gory: </span><span><strong>de--ffn_name</strong> 
<em>ar--guments    more args <br> even more so</em><a 
href='#index-copying-de_002d_002dffn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>def&ndash;fn
 </p></dd></dl>
  
 <dl class="def">
-<dt id="index-copying-i"><span class="category">fset: 
</span><strong><var>i</var></strong> <em>a g</em><a href='#index-copying-i' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-i"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a 
href='#index-copying-i' class='copiable-anchor'> &para;</a></span></dt>
 <dd><span id="index-copying-index-entry-within-deffn"></span>
-</dd><dt id="index-copying-truc"><span class="category">cmde: 
</span><strong>truc</strong> <em></em><a href='#index-copying-truc' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-copying-log-trap"><span class="category">Command: 
</span><strong>log trap</strong> <em></em><a href='#index-copying-log-trap' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-copying-log-trap1"><span class="category">Command: 
</span><strong>log trap1</strong> <em></em><a href='#index-copying-log-trap1' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-copying-log-trap2"><span class="category">Command: 
</span><strong>log trap2</strong> <em></em><a href='#index-copying-log-trap2' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-copying-id-ule"><span class="category">cmde: 
</span><strong><b>id ule</b></strong> <em>truc</em><a 
href='#index-copying-id-ule' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-copying-id-i-ule"><span class="category">cmde2: 
</span><strong><b>id &lsquo;<samp>i</samp>&rsquo; ule</b></strong> 
<em>truc</em><a href='#index-copying-id-i-ule' 
class='copiable-anchor'>&para;</a></dt>
-<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>: 
</span><strong></strong></dt>
-<dt><strong></strong></dt>
-<dt><span class="category">aaa: </span><strong></strong></dt>
-<dt><span class="category">: </span><strong></strong></dt>
-<dt><span class="category">: </span><strong></strong></dt>
-<dt id="index-copying-machin"><span class="category">: 
</span><strong>machin</strong><a href='#index-copying-machin' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-copying-bidule-machin"><span class="category">: 
</span><strong>bidule machin</strong><a href='#index-copying-bidule-machin' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-copying-machin-1"><span class="category">truc: 
</span><strong>machin</strong><a href='#index-copying-machin-1' 
class='copiable-anchor'>&para;</a></dt>
-<dt><span class="category">truc: </span><strong></strong></dt>
-<dt id="index-copying-followed"><span class="category">truc: 
</span><strong>followed</strong> <em>by a comment</em><a 
href='#index-copying-followed' class='copiable-anchor'>&para;</a></dt>
-<dt><span class="category">truc: </span><strong></strong></dt>
-<dt><span class="category">: </span><strong></strong></dt>
-<dt id="index-copying-a"><span class="category">truc: 
</span><strong>a</strong> <em>b c d e <b>f g</b> h i</em><a 
href='#index-copying-a' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-copying-deffnx"><span class="category">truc: 
</span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-copying-deffnx' class='copiable-anchor'>&para;</a></dt>
+</dd><dt id="index-copying-truc"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-copying-truc' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-log-trap"><span class="category">Command: 
</span><span><strong>log trap</strong> <em></em><a 
href='#index-copying-log-trap' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-log-trap1"><span class="category">Command: 
</span><span><strong>log trap1</strong> <em></em><a 
href='#index-copying-log-trap1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-log-trap2"><span class="category">Command: 
</span><span><strong>log trap2</strong> <em></em><a 
href='#index-copying-log-trap2' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-id-ule"><span class="category">cmde: 
</span><span><strong><b>id ule</b></strong> <em>truc</em><a 
href='#index-copying-id-ule' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-id-i-ule"><span class="category">cmde2: 
</span><span><strong><b>id &lsquo;<samp>i</samp>&rsquo; ule</b></strong> 
<em>truc</em><a href='#index-copying-id-i-ule' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>: 
</span><span><strong></strong></span></dt>
+<dt><span><strong></strong></span></dt>
+<dt><span class="category">aaa: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-copying-machin"><span class="category">: 
</span><span><strong>machin</strong><a href='#index-copying-machin' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-bidule-machin"><span class="category">: 
</span><span><strong>bidule machin</strong><a 
href='#index-copying-bidule-machin' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-copying-machin-1"><span class="category">truc: 
</span><span><strong>machin</strong><a href='#index-copying-machin-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt id="index-copying-followed"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-copying-followed' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-copying-a"><span class="category">truc: 
</span><span><strong>a</strong> <em>b c d e <b>f g</b> h i</em><a 
href='#index-copying-a' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-deffnx"><span class="category">truc: 
</span><span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-copying-deffnx' class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-copying-deffn"><span class="category">empty: 
</span><strong>deffn</strong><a href='#index-copying-deffn' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-deffn"><span class="category">empty: 
</span><span><strong>deffn</strong><a href='#index-copying-deffn' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-copying-deffn-1"><span class="category">empty: 
</span><strong>deffn</strong> <em>with deffnx</em><a 
href='#index-copying-deffn-1' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-copying-deffnx-1"><span class="category">empty: 
</span><strong>deffnx</strong><a href='#index-copying-deffnx-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-deffn-1"><span class="category">empty: 
</span><span><strong>deffn</strong> <em>with deffnx</em><a 
href='#index-copying-deffn-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-deffnx-1"><span class="category">empty: 
</span><span><strong>deffnx</strong><a href='#index-copying-deffnx-1' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-copying-i-1"><span class="category">fset: 
</span><strong><var>i</var></strong> <em>a g</em><a href='#index-copying-i-1' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-copying-truc-1"><span class="category">cmde: 
</span><strong>truc</strong> <em></em><a href='#index-copying-truc-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-i-1"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a 
href='#index-copying-i-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-truc-1"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-copying-truc-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>text in def item for second def item
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defvr_005fname"><span 
class="category">c--ategory: </span><strong>d--efvr_name</strong><a 
href='#index-copying-d_002d_002defvr_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-d_002d_002defvr_005fname"><span 
class="category">c--ategory: </span><span><strong>d--efvr_name</strong><a 
href='#index-copying-d_002d_002defvr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efvr
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftypefn_005fname"><span 
class="category">c--ategory: </span><em>t--ype</em> 
<strong>d--eftypefn_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypefn_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-d_002d_002deftypefn_005fname"><span 
class="category">c--ategory: </span><span><em>t--ype</em> 
<strong>d--eftypefn_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypefn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypefn
 </p></dd></dl>
 
 <dl class="def">
-<dt 
id="index-copying-d_002d_002deftypeop_005fname-on-c_002d_002dlass">c--ategory 
on c--lass: <em>t--ype</em> <strong>d--eftypeop_name</strong> 
<em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypeop_005fname-on-c_002d_002dlass' 
class='copiable-anchor'>&para;</a></dt>
+<dt 
id="index-copying-d_002d_002deftypeop_005fname-on-c_002d_002dlass"><span>c--ategory
 on c--lass: <em>t--ype</em> <strong>d--eftypeop_name</strong> 
<em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypeop_005fname-on-c_002d_002dlass' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;eftypeop
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftypevr_005fname"><span 
class="category">c--ategory: </span><em>t--ype</em> 
<strong>d--eftypevr_name</strong><a 
href='#index-copying-d_002d_002deftypevr_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-d_002d_002deftypevr_005fname"><span 
class="category">c--ategory: </span><span><em>t--ype</em> 
<strong>d--eftypevr_name</strong><a 
href='#index-copying-d_002d_002deftypevr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypevr
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defcv_005fname">c--ategory of c--lass: 
<strong>d--efcv_name</strong><a href='#index-copying-d_002d_002defcv_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-d_002d_002defcv_005fname"><span>c--ategory of c--lass: 
<strong>d--efcv_name</strong><a href='#index-copying-d_002d_002defcv_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efcv
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defop_005fname-on-c_002d_002dlass">c--ategory 
on c--lass: <strong>d--efop_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002defop_005fname-on-c_002d_002dlass' 
class='copiable-anchor'>&para;</a></dt>
+<dt 
id="index-copying-d_002d_002defop_005fname-on-c_002d_002dlass"><span>c--ategory 
on c--lass: <strong>d--efop_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002defop_005fname-on-c_002d_002dlass' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efop
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftp_005fname"><span 
class="category">c--ategory: </span><strong>d--eftp_name</strong> 
<em>a--ttributes...</em><a href='#index-copying-d_002d_002deftp_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-d_002d_002deftp_005fname"><span 
class="category">c--ategory: </span><span><strong>d--eftp_name</strong> 
<em>a--ttributes...</em><a href='#index-copying-d_002d_002deftp_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;eftp
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defun_005fname"><span 
class="category">Function: </span><strong>d--efun_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002defun_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-d_002d_002defun_005fname"><span 
class="category">Function: </span><span><strong>d--efun_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002defun_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efun
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defmac_005fname"><span class="category">Macro: 
</span><strong>d--efmac_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002defmac_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-d_002d_002defmac_005fname"><span class="category">Macro: 
</span><span><strong>d--efmac_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002defmac_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efmac
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defspec_005fname"><span 
class="category">Special Form: </span><strong>d--efspec_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002defspec_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-d_002d_002defspec_005fname"><span 
class="category">Special Form: </span><span><strong>d--efspec_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002defspec_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efspec
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defvar_005fname"><span 
class="category">Variable: </span><strong>d--efvar_name</strong> <em>argvar 
argvar1</em><a href='#index-copying-d_002d_002defvar_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-d_002d_002defvar_005fname"><span 
class="category">Variable: </span><span><strong>d--efvar_name</strong> 
<em>argvar argvar1</em><a href='#index-copying-d_002d_002defvar_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efvar
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defopt_005fname"><span class="category">User 
Option: </span><strong>d--efopt_name</strong><a 
href='#index-copying-d_002d_002defopt_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-d_002d_002defopt_005fname"><span class="category">User 
Option: </span><span><strong>d--efopt_name</strong><a 
href='#index-copying-d_002d_002defopt_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efopt
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftypefun_005fname"><span 
class="category">Function: </span><em>t--ype</em> 
<strong>d--eftypefun_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypefun_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-d_002d_002deftypefun_005fname"><span 
class="category">Function: </span><span><em>t--ype</em> 
<strong>d--eftypefun_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypefun_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypefun
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002deftypevar_005fname"><span 
class="category">Variable: </span><em>t--ype</em> 
<strong>d--eftypevar_name</strong><a 
href='#index-copying-d_002d_002deftypevar_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-copying-d_002d_002deftypevar_005fname"><span 
class="category">Variable: </span><span><em>t--ype</em> 
<strong>d--eftypevar_name</strong><a 
href='#index-copying-d_002d_002deftypevar_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypevar
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defivar_005fname-of-c_002d_002dlass">Instance 
Variable of c--lass: <strong>d--efivar_name</strong><a 
href='#index-copying-d_002d_002defivar_005fname-of-c_002d_002dlass' 
class='copiable-anchor'>&para;</a></dt>
+<dt 
id="index-copying-d_002d_002defivar_005fname-of-c_002d_002dlass"><span>Instance 
Variable of c--lass: <strong>d--efivar_name</strong><a 
href='#index-copying-d_002d_002defivar_005fname-of-c_002d_002dlass' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efivar
 </p></dd></dl>
 
 <dl class="def">
-<dt 
id="index-copying-d_002d_002deftypeivar_005fname-of-c_002d_002dlass">Instance 
Variable of c--lass: <em>t--ype</em> <strong>d--eftypeivar_name</strong><a 
href='#index-copying-d_002d_002deftypeivar_005fname-of-c_002d_002dlass' 
class='copiable-anchor'>&para;</a></dt>
+<dt 
id="index-copying-d_002d_002deftypeivar_005fname-of-c_002d_002dlass"><span>Instance
 Variable of c--lass: <em>t--ype</em> <strong>d--eftypeivar_name</strong><a 
href='#index-copying-d_002d_002deftypeivar_005fname-of-c_002d_002dlass' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;eftypeivar
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-copying-d_002d_002defmethod_005fname-on-c_002d_002dlass">Method 
on c--lass: <strong>d--efmethod_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002defmethod_005fname-on-c_002d_002dlass' 
class='copiable-anchor'>&para;</a></dt>
+<dt 
id="index-copying-d_002d_002defmethod_005fname-on-c_002d_002dlass"><span>Method 
on c--lass: <strong>d--efmethod_name</strong> <em>a--rguments...</em><a 
href='#index-copying-d_002d_002defmethod_005fname-on-c_002d_002dlass' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efmethod
 </p></dd></dl>
 
 <dl class="def">
-<dt 
id="index-copying-d_002d_002deftypemethod_005fname-on-c_002d_002dlass">Method 
on c--lass: <em>t--ype</em> <strong>d--eftypemethod_name</strong> 
<em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypemethod_005fname-on-c_002d_002dlass' 
class='copiable-anchor'>&para;</a></dt>
+<dt 
id="index-copying-d_002d_002deftypemethod_005fname-on-c_002d_002dlass"><span>Method
 on c--lass: <em>t--ype</em> <strong>d--eftypemethod_name</strong> 
<em>a--rguments...</em><a 
href='#index-copying-d_002d_002deftypemethod_005fname-on-c_002d_002dlass' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;eftypemethod
 </p></dd></dl>
 
@@ -1306,23 +1308,23 @@ ref</a>
 </p>
 
 <dl compact="compact">
-<dt>a</dt>
+<dt><span>a</span></dt>
 <dd><p>l&ndash;ine
 </p></dd>
 </dl>
 
 <dl compact="compact">
-<dt id='index-copying-a-2'>a<a href='#index-copying-a-2' 
class='copiable-anchor'>&para;</a></dt>
-<dt id='index-copying-b-1'>b<a href='#index-copying-b-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id='index-copying-a-2'><span>a<a href='#index-copying-a-2' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id='index-copying-b-1'><span>b<a href='#index-copying-b-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>l&ndash;ine
 </p></dd>
 </dl>
 
 <dl compact="compact">
-<dt id='index-copying-a-1'>a<a href='#index-copying-a-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id='index-copying-a-1'><span>a<a href='#index-copying-a-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><span id="index-copying-index-entry-between-item-and-itemx"></span>
 </dd>
-<dt id='index-copying-b'>b<a href='#index-copying-b' 
class='copiable-anchor'>&para;</a></dt>
+<dt id='index-copying-b'><span>b<a href='#index-copying-b' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>l&ndash;ine
 </p></dd>
 </dl>
@@ -1368,16 +1370,21 @@ html ''
  &rdquo;
 
 
-<span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading"></span><h2 class="heading">heading</h2>
-
-<span id="subheading"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -1437,14 +1444,14 @@ html ''
 </li></ul>
 
 <dl class="def">
-<dt><span class="category">fun: </span><strong></strong></dt>
-<dt id="index-copying-machin-2"><span class="category">truc: 
</span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-copying-machin-2' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-copying-machin-3"><span class="category">truc: 
</span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-copying-machin-3' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-copying-machin-4"><span class="category">truc: 
</span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-copying-machin-4' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-copying-machin-5"><span class="category">truc: 
</span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-copying-machin-5' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-copying-followed-1"><span class="category">truc: 
</span><strong>followed</strong> <em>by a comment</em><a 
href='#index-copying-followed-1' class='copiable-anchor'>&para;</a></dt>
+<dt><span class="category">fun: </span><span><strong></strong></span></dt>
+<dt id="index-copying-machin-2"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-copying-machin-2' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-machin-3"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-copying-machin-3' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-machin-4"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-copying-machin-4' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-machin-5"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-copying-machin-5' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-copying-followed-1"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-copying-followed-1' class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>Various deff lines
-</p></dd><dt id="index-copying-after"><span class="category">truc: 
</span><strong>after</strong> <em>a deff item</em><a 
href='#index-copying-after' class='copiable-anchor'>&para;</a></dt>
+</p></dd><dt id="index-copying-after"><span class="category">truc: 
</span><span><strong>after</strong> <em>a deff item</em><a 
href='#index-copying-after' class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <p><code>@ref{node}</code> &lsquo;node&rsquo;
@@ -1893,142 +1900,142 @@ $">
 </DIV>
 
 <dl class="def">
-<dt id="index-d_002d_002deffn_005fname"><span class="category">c--ategory: 
</span><strong>d--effn_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deffn_005fname' class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002deffn_005fname"><span class="category">c--ategory: 
</span><span><strong>d--effn_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deffn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;effn
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-de_002d_002dffn_005fname"><span class="category">cate--gory: 
</span><strong>de--ffn_name</strong> <em>ar--guments    more args <br> even 
more so</em><a href='#index-de_002d_002dffn_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-de_002d_002dffn_005fname"><span class="category">cate--gory: 
</span><span><strong>de--ffn_name</strong> <em>ar--guments    more args <br> 
even more so</em><a href='#index-de_002d_002dffn_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>def&ndash;fn
 </p></dd></dl>
  
 <dl class="def">
-<dt id="index-i"><span class="category">fset: 
</span><strong><var>i</var></strong> <em>a g</em><a href='#index-i' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-i"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a href='#index-i' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><span id="index-index-entry-within-deffn"></span>
-</dd><dt id="index-truc"><span class="category">cmde: 
</span><strong>truc</strong> <em></em><a href='#index-truc' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-log-trap"><span class="category">Command: </span><strong>log 
trap</strong> <em></em><a href='#index-log-trap' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-log-trap1"><span class="category">Command: </span><strong>log 
trap1</strong> <em></em><a href='#index-log-trap1' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-log-trap2"><span class="category">Command: </span><strong>log 
trap2</strong> <em></em><a href='#index-log-trap2' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-id-ule"><span class="category">cmde: </span><strong><b>id 
ule</b></strong> <em>truc</em><a href='#index-id-ule' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-id-i-ule"><span class="category">cmde2: </span><strong><b>id 
&lsquo;<samp>i</samp>&rsquo; ule</b></strong> <em>truc</em><a 
href='#index-id-i-ule' class='copiable-anchor'>&para;</a></dt>
-<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>: 
</span><strong></strong></dt>
-<dt><strong></strong></dt>
-<dt><span class="category">aaa: </span><strong></strong></dt>
-<dt><span class="category">: </span><strong></strong></dt>
-<dt><span class="category">: </span><strong></strong></dt>
-<dt id="index-machin"><span class="category">: 
</span><strong>machin</strong><a href='#index-machin' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-bidule-machin"><span class="category">: </span><strong>bidule 
machin</strong><a href='#index-bidule-machin' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-machin-1"><span class="category">truc: 
</span><strong>machin</strong><a href='#index-machin-1' 
class='copiable-anchor'>&para;</a></dt>
-<dt><span class="category">truc: </span><strong></strong></dt>
-<dt id="index-followed"><span class="category">truc: 
</span><strong>followed</strong> <em>by a comment</em><a href='#index-followed' 
class='copiable-anchor'>&para;</a></dt>
-<dt><span class="category">truc: </span><strong></strong></dt>
-<dt><span class="category">: </span><strong></strong></dt>
-<dt id="index-a-1"><span class="category">truc: </span><strong>a</strong> 
<em>b c d e <b>f g</b> h i</em><a href='#index-a-1' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-deffnx"><span class="category">truc: 
</span><strong>deffnx</strong> <em>before end deffn</em><a href='#index-deffnx' 
class='copiable-anchor'>&para;</a></dt>
+</dd><dt id="index-truc"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-truc' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-log-trap"><span class="category">Command: 
</span><span><strong>log trap</strong> <em></em><a href='#index-log-trap' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-log-trap1"><span class="category">Command: 
</span><span><strong>log trap1</strong> <em></em><a href='#index-log-trap1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-log-trap2"><span class="category">Command: 
</span><span><strong>log trap2</strong> <em></em><a href='#index-log-trap2' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-id-ule"><span class="category">cmde: </span><span><strong><b>id 
ule</b></strong> <em>truc</em><a href='#index-id-ule' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id="index-id-i-ule"><span class="category">cmde2: 
</span><span><strong><b>id &lsquo;<samp>i</samp>&rsquo; ule</b></strong> 
<em>truc</em><a href='#index-id-i-ule' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>: 
</span><span><strong></strong></span></dt>
+<dt><span><strong></strong></span></dt>
+<dt><span class="category">aaa: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-machin"><span class="category">: 
</span><span><strong>machin</strong><a href='#index-machin' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-bidule-machin"><span class="category">: 
</span><span><strong>bidule machin</strong><a href='#index-bidule-machin' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-1"><span class="category">truc: 
</span><span><strong>machin</strong><a href='#index-machin-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt id="index-followed"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-a-1"><span class="category">truc: 
</span><span><strong>a</strong> <em>b c d e <b>f g</b> h i</em><a 
href='#index-a-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-deffnx"><span class="category">truc: 
</span><span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-deffnx' class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-deffn"><span class="category">empty: 
</span><strong>deffn</strong><a href='#index-deffn' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-deffn"><span class="category">empty: 
</span><span><strong>deffn</strong><a href='#index-deffn' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-deffn-1"><span class="category">empty: 
</span><strong>deffn</strong> <em>with deffnx</em><a href='#index-deffn-1' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-deffnx-1"><span class="category">empty: 
</span><strong>deffnx</strong><a href='#index-deffnx-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-deffn-1"><span class="category">empty: 
</span><span><strong>deffn</strong> <em>with deffnx</em><a 
href='#index-deffn-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-deffnx-1"><span class="category">empty: 
</span><span><strong>deffnx</strong><a href='#index-deffnx-1' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <dl class="def">
-<dt id="index-i-1"><span class="category">fset: 
</span><strong><var>i</var></strong> <em>a g</em><a href='#index-i-1' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-truc-1"><span class="category">cmde: 
</span><strong>truc</strong> <em></em><a href='#index-truc-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-i-1"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a href='#index-i-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-truc-1"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-truc-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>text in def item for second def item
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defvr_005fname"><span class="category">c--ategory: 
</span><strong>d--efvr_name</strong><a href='#index-d_002d_002defvr_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defvr_005fname"><span class="category">c--ategory: 
</span><span><strong>d--efvr_name</strong><a 
href='#index-d_002d_002defvr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efvr
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002deftypefn_005fname"><span class="category">c--ategory: 
</span><em>t--ype</em> <strong>d--eftypefn_name</strong> 
<em>a--rguments...</em><a href='#index-d_002d_002deftypefn_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002deftypefn_005fname"><span class="category">c--ategory: 
</span><span><em>t--ype</em> <strong>d--eftypefn_name</strong> 
<em>a--rguments...</em><a href='#index-d_002d_002deftypefn_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;eftypefn
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002deftypeop_005fname-on-c_002d_002dlass">c--ategory on 
c--lass: <em>t--ype</em> <strong>d--eftypeop_name</strong> 
<em>a--rguments...</em><a 
href='#index-d_002d_002deftypeop_005fname-on-c_002d_002dlass' 
class='copiable-anchor'>&para;</a></dt>
+<dt 
id="index-d_002d_002deftypeop_005fname-on-c_002d_002dlass"><span>c--ategory on 
c--lass: <em>t--ype</em> <strong>d--eftypeop_name</strong> 
<em>a--rguments...</em><a 
href='#index-d_002d_002deftypeop_005fname-on-c_002d_002dlass' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;eftypeop
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002deftypevr_005fname"><span class="category">c--ategory: 
</span><em>t--ype</em> <strong>d--eftypevr_name</strong><a 
href='#index-d_002d_002deftypevr_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002deftypevr_005fname"><span class="category">c--ategory: 
</span><span><em>t--ype</em> <strong>d--eftypevr_name</strong><a 
href='#index-d_002d_002deftypevr_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypevr
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defcv_005fname">c--ategory of c--lass: 
<strong>d--efcv_name</strong><a href='#index-d_002d_002defcv_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defcv_005fname"><span>c--ategory of c--lass: 
<strong>d--efcv_name</strong><a href='#index-d_002d_002defcv_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efcv
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defop_005fname-on-c_002d_002dlass">c--ategory on 
c--lass: <strong>d--efop_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defop_005fname-on-c_002d_002dlass' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defop_005fname-on-c_002d_002dlass"><span>c--ategory on 
c--lass: <strong>d--efop_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defop_005fname-on-c_002d_002dlass' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efop
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002deftp_005fname"><span class="category">c--ategory: 
</span><strong>d--eftp_name</strong> <em>a--ttributes...</em><a 
href='#index-d_002d_002deftp_005fname' class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002deftp_005fname"><span class="category">c--ategory: 
</span><span><strong>d--eftp_name</strong> <em>a--ttributes...</em><a 
href='#index-d_002d_002deftp_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftp
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defun_005fname"><span class="category">Function: 
</span><strong>d--efun_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defun_005fname' class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defun_005fname"><span class="category">Function: 
</span><span><strong>d--efun_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defun_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efun
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defmac_005fname"><span class="category">Macro: 
</span><strong>d--efmac_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defmac_005fname' class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defmac_005fname"><span class="category">Macro: 
</span><span><strong>d--efmac_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defmac_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efmac
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defspec_005fname"><span class="category">Special Form: 
</span><strong>d--efspec_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defspec_005fname' class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defspec_005fname"><span class="category">Special Form: 
</span><span><strong>d--efspec_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defspec_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efspec
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defvar_005fname"><span class="category">Variable: 
</span><strong>d--efvar_name</strong> <em>argvar argvar1</em><a 
href='#index-d_002d_002defvar_005fname' class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defvar_005fname"><span class="category">Variable: 
</span><span><strong>d--efvar_name</strong> <em>argvar argvar1</em><a 
href='#index-d_002d_002defvar_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efvar
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defopt_005fname"><span class="category">User Option: 
</span><strong>d--efopt_name</strong><a href='#index-d_002d_002defopt_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defopt_005fname"><span class="category">User Option: 
</span><span><strong>d--efopt_name</strong><a 
href='#index-d_002d_002defopt_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;efopt
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002deftypefun_005fname"><span class="category">Function: 
</span><em>t--ype</em> <strong>d--eftypefun_name</strong> 
<em>a--rguments...</em><a href='#index-d_002d_002deftypefun_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002deftypefun_005fname"><span class="category">Function: 
</span><span><em>t--ype</em> <strong>d--eftypefun_name</strong> 
<em>a--rguments...</em><a href='#index-d_002d_002deftypefun_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;eftypefun
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002deftypevar_005fname"><span class="category">Variable: 
</span><em>t--ype</em> <strong>d--eftypevar_name</strong><a 
href='#index-d_002d_002deftypevar_005fname' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002deftypevar_005fname"><span class="category">Variable: 
</span><span><em>t--ype</em> <strong>d--eftypevar_name</strong><a 
href='#index-d_002d_002deftypevar_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>d&ndash;eftypevar
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defivar_005fname-of-c_002d_002dlass">Instance Variable 
of c--lass: <strong>d--efivar_name</strong><a 
href='#index-d_002d_002defivar_005fname-of-c_002d_002dlass' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defivar_005fname-of-c_002d_002dlass"><span>Instance 
Variable of c--lass: <strong>d--efivar_name</strong><a 
href='#index-d_002d_002defivar_005fname-of-c_002d_002dlass' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efivar
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002deftypeivar_005fname-of-c_002d_002dlass">Instance 
Variable of c--lass: <em>t--ype</em> <strong>d--eftypeivar_name</strong><a 
href='#index-d_002d_002deftypeivar_005fname-of-c_002d_002dlass' 
class='copiable-anchor'>&para;</a></dt>
+<dt 
id="index-d_002d_002deftypeivar_005fname-of-c_002d_002dlass"><span>Instance 
Variable of c--lass: <em>t--ype</em> <strong>d--eftypeivar_name</strong><a 
href='#index-d_002d_002deftypeivar_005fname-of-c_002d_002dlass' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;eftypeivar
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002defmethod_005fname-on-c_002d_002dlass">Method on 
c--lass: <strong>d--efmethod_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defmethod_005fname-on-c_002d_002dlass' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defmethod_005fname-on-c_002d_002dlass"><span>Method on 
c--lass: <strong>d--efmethod_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defmethod_005fname-on-c_002d_002dlass' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;efmethod
 </p></dd></dl>
 
 <dl class="def">
-<dt id="index-d_002d_002deftypemethod_005fname-on-c_002d_002dlass">Method on 
c--lass: <em>t--ype</em> <strong>d--eftypemethod_name</strong> 
<em>a--rguments...</em><a 
href='#index-d_002d_002deftypemethod_005fname-on-c_002d_002dlass' 
class='copiable-anchor'>&para;</a></dt>
+<dt 
id="index-d_002d_002deftypemethod_005fname-on-c_002d_002dlass"><span>Method on 
c--lass: <em>t--ype</em> <strong>d--eftypemethod_name</strong> 
<em>a--rguments...</em><a 
href='#index-d_002d_002deftypemethod_005fname-on-c_002d_002dlass' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>d&ndash;eftypemethod
 </p></dd></dl>
 
@@ -2095,23 +2102,23 @@ ref</a>
 </p>
 
 <dl compact="compact">
-<dt>a</dt>
+<dt><span>a</span></dt>
 <dd><p>l&ndash;ine
 </p></dd>
 </dl>
 
 <dl compact="compact">
-<dt id='index-a-6'>a<a href='#index-a-6' 
class='copiable-anchor'>&para;</a></dt>
-<dt id='index-b-2'>b<a href='#index-b-2' 
class='copiable-anchor'>&para;</a></dt>
+<dt id='index-a-6'><span>a<a href='#index-a-6' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt id='index-b-2'><span>b<a href='#index-b-2' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>l&ndash;ine
 </p></dd>
 </dl>
 
 <dl compact="compact">
-<dt id='index-a-2'>a<a href='#index-a-2' 
class='copiable-anchor'>&para;</a></dt>
+<dt id='index-a-2'><span>a<a href='#index-a-2' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><span id="index-index-entry-between-item-and-itemx"></span>
 </dd>
-<dt id='index-b'>b<a href='#index-b' class='copiable-anchor'>&para;</a></dt>
+<dt id='index-b'><span>b<a href='#index-b' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><p>l&ndash;ine
 </p></dd>
 </dl>
@@ -2157,16 +2164,21 @@ html ''
  &rdquo;
 
 
-<span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
-
-<span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
-
-<span id="heading-1"></span><h2 class="heading">heading</h2>
-
-<span id="subheading-1"></span><h3 class="subheading">subheading</h3>
-
-<span id="subsubheading-1"></span><h4 class="subsubheading">subsubheading</h4>
-
+<div class="majorheading" id="majorheading-1">
+<h1 class="majorheading">majorheading</h1>
+</div>
+<div class="chapheading" id="chapheading-1">
+<h1 class="chapheading">chapheading</h1>
+</div>
+<div class="heading" id="heading-1">
+<h2 class="heading">heading</h2>
+</div>
+<div class="subheading" id="subheading-1">
+<h3 class="subheading">subheading</h3>
+</div>
+<div class="subsubheading" id="subsubheading-1">
+<h4 class="subsubheading">subsubheading</h4>
+</div>
 
 <p><code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym 
title="an accronym , ...">&ndash;a</acronym> (an accronym , <small 
class="enddots">...</small>)
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
@@ -2226,14 +2238,14 @@ html ''
 </li></ul>
 
 <dl class="def">
-<dt><span class="category">fun: </span><strong></strong></dt>
-<dt id="index-machin-2"><span class="category">truc: 
</span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-machin-2' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-machin-3"><span class="category">truc: 
</span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-machin-3' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-machin-4"><span class="category">truc: 
</span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-machin-4' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-machin-5"><span class="category">truc: 
</span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-machin-5' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-followed-1"><span class="category">truc: 
</span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed-1' class='copiable-anchor'>&para;</a></dt>
+<dt><span class="category">fun: </span><span><strong></strong></span></dt>
+<dt id="index-machin-2"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-machin-2' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-3"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-machin-3' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-4"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-machin-4' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-5"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-machin-5' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-followed-1"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed-1' class='copiable-anchor'> &para;</a></span></dt>
 <dd><p>Various deff lines
-</p></dd><dt id="index-after"><span class="category">truc: 
</span><strong>after</strong> <em>a deff item</em><a href='#index-after' 
class='copiable-anchor'>&para;</a></dt>
+</p></dd><dt id="index-after"><span class="category">truc: 
</span><span><strong>after</strong> <em>a deff item</em><a href='#index-after' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 
 <p><code>@ref{node}</code> &lsquo;node&rsquo;
@@ -2734,164 +2746,164 @@ $">
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deffn_005fname-1"><span class="category">c--ategory: 
</span><strong>d--effn_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deffn_005fname-1' class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002deffn_005fname-1"><span class="category">c--ategory: 
</span><span><strong>d--effn_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deffn_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--effn
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-de_002d_002dffn_005fname-1"><span class="category">cate--gory: 
</span><strong>de--ffn_name</strong> <em>ar--guments    more args 
- even more so</em><a href='#index-de_002d_002dffn_005fname-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-de_002d_002dffn_005fname-1"><span class="category">cate--gory: 
</span><span><strong>de--ffn_name</strong> <em>ar--guments    more args 
+ even more so</em><a href='#index-de_002d_002dffn_005fname-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">def--fn
 </pre></dd></dl>
 <pre class="example"> 
 </pre><dl class="def">
-<dt id="index-i-2"><span class="category">fset: 
</span><strong><var>i</var></strong> <em>a g</em><a href='#index-i-2' 
class='copiable-anchor'>&para;</a></dt>
-<dd><pre class="example"><span 
id="index-index-entry-within-deffn-1"></span></pre></dd><dt 
id="index-truc-2"><span class="category">cmde: </span><strong>truc</strong> 
<em></em><a href='#index-truc-2' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-log-trap-1"><span class="category">Command: </span><strong>log 
trap</strong> <em></em><a href='#index-log-trap-1' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-log-trap1-1"><span class="category">Command: </span><strong>log 
trap1</strong> <em></em><a href='#index-log-trap1-1' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-log-trap2-1"><span class="category">Command: </span><strong>log 
trap2</strong> <em></em><a href='#index-log-trap2-1' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-id-ule-1"><span class="category">cmde: </span><strong><b>id 
ule</b></strong> <em>truc</em><a href='#index-id-ule-1' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-id-i-ule-1"><span class="category">cmde2: </span><strong><b>id 
&lsquo;<samp>i</samp>&rsquo; ule</b></strong> <em>truc</em><a 
href='#index-id-i-ule-1' class='copiable-anchor'>&para;</a></dt>
-<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>: 
</span><strong></strong></dt>
-<dt><strong></strong></dt>
-<dt><span class="category">aaa: </span><strong></strong></dt>
-<dt><span class="category">: </span><strong></strong></dt>
-<dt><span class="category">: </span><strong></strong></dt>
-<dt id="index-machin-6"><span class="category">: 
</span><strong>machin</strong><a href='#index-machin-6' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-bidule-machin-1"><span class="category">: </span><strong>bidule 
machin</strong><a href='#index-bidule-machin-1' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-machin-7"><span class="category">truc: 
</span><strong>machin</strong><a href='#index-machin-7' 
class='copiable-anchor'>&para;</a></dt>
-<dt><span class="category">truc: </span><strong></strong></dt>
-<dt id="index-followed-2"><span class="category">truc: 
</span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed-2' class='copiable-anchor'>&para;</a></dt>
-<dt><span class="category">truc: </span><strong></strong></dt>
-<dt><span class="category">: </span><strong></strong></dt>
-<dt id="index-a-3"><span class="category">truc: </span><strong>a</strong> 
<em>b c d e <b>f g</b> h i</em><a href='#index-a-3' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-deffnx-2"><span class="category">truc: 
</span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-deffnx-2' class='copiable-anchor'>&para;</a></dt>
+<dt id="index-i-2"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a href='#index-i-2' 
class='copiable-anchor'> &para;</a></span></dt>
+<dd><pre class="example"><span 
id="index-index-entry-within-deffn-1"></span></pre></dd><dt 
id="index-truc-2"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-truc-2' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-log-trap-1"><span class="category">Command: 
</span><span><strong>log trap</strong> <em></em><a href='#index-log-trap-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-log-trap1-1"><span class="category">Command: 
</span><span><strong>log trap1</strong> <em></em><a href='#index-log-trap1-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-log-trap2-1"><span class="category">Command: 
</span><span><strong>log trap2</strong> <em></em><a href='#index-log-trap2-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-id-ule-1"><span class="category">cmde: 
</span><span><strong><b>id ule</b></strong> <em>truc</em><a 
href='#index-id-ule-1' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-id-i-ule-1"><span class="category">cmde2: 
</span><span><strong><b>id &lsquo;<samp>i</samp>&rsquo; ule</b></strong> 
<em>truc</em><a href='#index-id-i-ule-1' class='copiable-anchor'> 
&para;</a></span></dt>
+<dt><span class="category"><b>id &lsquo;<samp>i</samp>&rsquo; ule</b>: 
</span><span><strong></strong></span></dt>
+<dt><span><strong></strong></span></dt>
+<dt><span class="category">aaa: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-machin-6"><span class="category">: 
</span><span><strong>machin</strong><a href='#index-machin-6' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-bidule-machin-1"><span class="category">: 
</span><span><strong>bidule machin</strong><a href='#index-bidule-machin-1' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-7"><span class="category">truc: 
</span><span><strong>machin</strong><a href='#index-machin-7' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt id="index-followed-2"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed-2' class='copiable-anchor'> &para;</a></span></dt>
+<dt><span class="category">truc: </span><span><strong></strong></span></dt>
+<dt><span class="category">: </span><span><strong></strong></span></dt>
+<dt id="index-a-3"><span class="category">truc: 
</span><span><strong>a</strong> <em>b c d e <b>f g</b> h i</em><a 
href='#index-a-3' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-deffnx-2"><span class="category">truc: 
</span><span><strong>deffnx</strong> <em>before end deffn</em><a 
href='#index-deffnx-2' class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-deffn-2"><span class="category">empty: 
</span><strong>deffn</strong><a href='#index-deffn-2' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-deffn-2"><span class="category">empty: 
</span><span><strong>deffn</strong><a href='#index-deffn-2' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-deffn-3"><span class="category">empty: 
</span><strong>deffn</strong> <em>with deffnx</em><a href='#index-deffn-3' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-deffnx-3"><span class="category">empty: 
</span><strong>deffnx</strong><a href='#index-deffnx-3' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-deffn-3"><span class="category">empty: 
</span><span><strong>deffn</strong> <em>with deffnx</em><a 
href='#index-deffn-3' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-deffnx-3"><span class="category">empty: 
</span><span><strong>deffnx</strong><a href='#index-deffnx-3' 
class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-i-3"><span class="category">fset: 
</span><strong><var>i</var></strong> <em>a g</em><a href='#index-i-3' 
class='copiable-anchor'>&para;</a></dt>
-<dt id="index-truc-3"><span class="category">cmde: 
</span><strong>truc</strong> <em></em><a href='#index-truc-3' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-i-3"><span class="category">fset: 
</span><span><strong><var>i</var></strong> <em>a g</em><a href='#index-i-3' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-truc-3"><span class="category">cmde: 
</span><span><strong>truc</strong> <em></em><a href='#index-truc-3' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">text in def item for second def item
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defvr_005fname-1"><span class="category">c--ategory: 
</span><strong>d--efvr_name</strong><a href='#index-d_002d_002defvr_005fname-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defvr_005fname-1"><span class="category">c--ategory: 
</span><span><strong>d--efvr_name</strong><a 
href='#index-d_002d_002defvr_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--efvr
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deftypefn_005fname-1"><span 
class="category">c--ategory: </span><em>t--ype</em> 
<strong>d--eftypefn_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deftypefn_005fname-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002deftypefn_005fname-1"><span 
class="category">c--ategory: </span><span><em>t--ype</em> 
<strong>d--eftypefn_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deftypefn_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--eftypefn
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deftypeop_005fname-on-c_002d_002dlass-1">c--ategory on 
c--lass: <em>t--ype</em> <strong>d--eftypeop_name</strong> 
<em>a--rguments...</em><a 
href='#index-d_002d_002deftypeop_005fname-on-c_002d_002dlass-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt 
id="index-d_002d_002deftypeop_005fname-on-c_002d_002dlass-1"><span>c--ategory 
on c--lass: <em>t--ype</em> <strong>d--eftypeop_name</strong> 
<em>a--rguments...</em><a 
href='#index-d_002d_002deftypeop_005fname-on-c_002d_002dlass-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">d--eftypeop
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deftypevr_005fname-1"><span 
class="category">c--ategory: </span><em>t--ype</em> 
<strong>d--eftypevr_name</strong><a 
href='#index-d_002d_002deftypevr_005fname-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002deftypevr_005fname-1"><span 
class="category">c--ategory: </span><span><em>t--ype</em> 
<strong>d--eftypevr_name</strong><a 
href='#index-d_002d_002deftypevr_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--eftypevr
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defcv_005fname-1">c--ategory of c--lass: 
<strong>d--efcv_name</strong><a href='#index-d_002d_002defcv_005fname-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defcv_005fname-1"><span>c--ategory of c--lass: 
<strong>d--efcv_name</strong><a href='#index-d_002d_002defcv_005fname-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">d--efcv
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defop_005fname-on-c_002d_002dlass-1">c--ategory on 
c--lass: <strong>d--efop_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defop_005fname-on-c_002d_002dlass-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defop_005fname-on-c_002d_002dlass-1"><span>c--ategory 
on c--lass: <strong>d--efop_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defop_005fname-on-c_002d_002dlass-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">d--efop
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deftp_005fname-1"><span class="category">c--ategory: 
</span><strong>d--eftp_name</strong> <em>a--ttributes...</em><a 
href='#index-d_002d_002deftp_005fname-1' class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002deftp_005fname-1"><span class="category">c--ategory: 
</span><span><strong>d--eftp_name</strong> <em>a--ttributes...</em><a 
href='#index-d_002d_002deftp_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--eftp
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defun_005fname-1"><span class="category">Function: 
</span><strong>d--efun_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defun_005fname-1' class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defun_005fname-1"><span class="category">Function: 
</span><span><strong>d--efun_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defun_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--efun
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defmac_005fname-1"><span class="category">Macro: 
</span><strong>d--efmac_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defmac_005fname-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defmac_005fname-1"><span class="category">Macro: 
</span><span><strong>d--efmac_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defmac_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--efmac
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defspec_005fname-1"><span class="category">Special 
Form: </span><strong>d--efspec_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defspec_005fname-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defspec_005fname-1"><span class="category">Special 
Form: </span><span><strong>d--efspec_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defspec_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--efspec
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defvar_005fname-1"><span class="category">Variable: 
</span><strong>d--efvar_name</strong> <em>argvar argvar1</em><a 
href='#index-d_002d_002defvar_005fname-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defvar_005fname-1"><span class="category">Variable: 
</span><span><strong>d--efvar_name</strong> <em>argvar argvar1</em><a 
href='#index-d_002d_002defvar_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--efvar
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defopt_005fname-1"><span class="category">User Option: 
</span><strong>d--efopt_name</strong><a 
href='#index-d_002d_002defopt_005fname-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defopt_005fname-1"><span class="category">User Option: 
</span><span><strong>d--efopt_name</strong><a 
href='#index-d_002d_002defopt_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--efopt
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deftypefun_005fname-1"><span 
class="category">Function: </span><em>t--ype</em> 
<strong>d--eftypefun_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deftypefun_005fname-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002deftypefun_005fname-1"><span 
class="category">Function: </span><span><em>t--ype</em> 
<strong>d--eftypefun_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deftypefun_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--eftypefun
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deftypevar_005fname-1"><span 
class="category">Variable: </span><em>t--ype</em> 
<strong>d--eftypevar_name</strong><a 
href='#index-d_002d_002deftypevar_005fname-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002deftypevar_005fname-1"><span 
class="category">Variable: </span><span><em>t--ype</em> 
<strong>d--eftypevar_name</strong><a 
href='#index-d_002d_002deftypevar_005fname-1' class='copiable-anchor'> 
&para;</a></span></dt>
 <dd><pre class="example">d--eftypevar
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defivar_005fname-of-c_002d_002dlass-1">Instance 
Variable of c--lass: <strong>d--efivar_name</strong><a 
href='#index-d_002d_002defivar_005fname-of-c_002d_002dlass-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defivar_005fname-of-c_002d_002dlass-1"><span>Instance 
Variable of c--lass: <strong>d--efivar_name</strong><a 
href='#index-d_002d_002defivar_005fname-of-c_002d_002dlass-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">d--efivar
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deftypeivar_005fname-of-c_002d_002dlass-1">Instance 
Variable of c--lass: <em>t--ype</em> <strong>d--eftypeivar_name</strong><a 
href='#index-d_002d_002deftypeivar_005fname-of-c_002d_002dlass-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt 
id="index-d_002d_002deftypeivar_005fname-of-c_002d_002dlass-1"><span>Instance 
Variable of c--lass: <em>t--ype</em> <strong>d--eftypeivar_name</strong><a 
href='#index-d_002d_002deftypeivar_005fname-of-c_002d_002dlass-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">d--eftypeivar
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002defmethod_005fname-on-c_002d_002dlass-1">Method on 
c--lass: <strong>d--efmethod_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defmethod_005fname-on-c_002d_002dlass-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id="index-d_002d_002defmethod_005fname-on-c_002d_002dlass-1"><span>Method 
on c--lass: <strong>d--efmethod_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002defmethod_005fname-on-c_002d_002dlass-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">d--efmethod
 </pre></dd></dl>
 <pre class="example">
 
 </pre><dl class="def">
-<dt id="index-d_002d_002deftypemethod_005fname-on-c_002d_002dlass-1">Method on 
c--lass: <em>t--ype</em> <strong>d--eftypemethod_name</strong> 
<em>a--rguments...</em><a 
href='#index-d_002d_002deftypemethod_005fname-on-c_002d_002dlass-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt 
id="index-d_002d_002deftypemethod_005fname-on-c_002d_002dlass-1"><span>Method 
on c--lass: <em>t--ype</em> <strong>d--eftypemethod_name</strong> 
<em>a--rguments...</em><a 
href='#index-d_002d_002deftypemethod_005fname-on-c_002d_002dlass-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">d--eftypemethod
 </pre></dd></dl>
 <pre class="example">
@@ -2959,24 +2971,24 @@ ref</a>
 
 
 </pre><dl compact="compact">
-<dt><tt>a</tt></dt>
+<dt><span><tt>a</tt></span></dt>
 <dd><pre class="example">l--ine
 </pre></dd>
 </dl>
 <pre class="example">
 
 </pre><dl compact="compact">
-<dt id='index-a-7'><tt>a</tt><a href='#index-a-7' 
class='copiable-anchor'>&para;</a></dt>
-<dt id='index-b-3'><tt>b</tt><a href='#index-b-3' 
class='copiable-anchor'>&para;</a></dt>
+<dt id='index-a-7'><span><tt>a</tt><a href='#index-a-7' 
class='copiable-anchor'> &para;</a></span></dt>
+<dt id='index-b-3'><span><tt>b</tt><a href='#index-b-3' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">l--ine
 </pre></dd>
 </dl>
 <pre class="example">
 
 </pre><dl compact="compact">
-<dt id='index-a-4'><tt>a</tt><a href='#index-a-4' 
class='copiable-anchor'>&para;</a></dt>
+<dt id='index-a-4'><span><tt>a</tt><a href='#index-a-4' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example"><span 
id="index-index-entry-between-item-and-itemx-1"></span></pre></dd>
-<dt id='index-b-1'><tt>b</tt><a href='#index-b-1' 
class='copiable-anchor'>&para;</a></dt>
+<dt id='index-b-1'><span><tt>b</tt><a href='#index-b-1' 
class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">l--ine
 </pre></dd>
 </dl>
@@ -3030,20 +3042,25 @@ html ''
  &rdquo;
 
 
-</pre><span id="majorheading-2"></span><strong>majorheading</strong>
-<pre class="example">
+</pre><div class="majorheading" id="majorheading-2">
+<strong>majorheading</strong>
+</div><pre class="example">
 
-</pre><span id="chapheading-2"></span><strong>chapheading</strong>
-<pre class="example">
+</pre><div class="chapheading" id="chapheading-2">
+<strong>chapheading</strong>
+</div><pre class="example">
 
-</pre><span id="heading-2"></span><strong>heading</strong>
-<pre class="example">
+</pre><div class="heading" id="heading-2">
+<strong>heading</strong>
+</div><pre class="example">
 
-</pre><span id="subheading-2"></span><strong>subheading</strong>
-<pre class="example">
+</pre><div class="subheading" id="subheading-2">
+<strong>subheading</strong>
+</div><pre class="example">
 
-</pre><span id="subsubheading-2"></span><strong>subsubheading</strong>
-<pre class="example">
+</pre><div class="subsubheading" id="subsubheading-2">
+<strong>subsubheading</strong>
+</div><pre class="example">
 
 
 <code>@acronym{--a,an accronym @comma{} @enddots{}}</code> <acronym title="an 
accronym , ...">--a</acronym> (an accronym , ...)
@@ -3110,14 +3127,14 @@ Invalid use of @':
 <pre class="example">
 
 </pre><dl class="def">
-<dt><span class="category">fun: </span><strong></strong></dt>
-<dt id="index-machin-8"><span class="category">truc: 
</span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-machin-8' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-machin-9"><span class="category">truc: 
</span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-machin-9' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-machin-10"><span class="category">truc: 
</span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-machin-10' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-machin-11"><span class="category">truc: 
</span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-machin-11' class='copiable-anchor'>&para;</a></dt>
-<dt id="index-followed-3"><span class="category">truc: 
</span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed-3' class='copiable-anchor'>&para;</a></dt>
+<dt><span class="category">fun: </span><span><strong></strong></span></dt>
+<dt id="index-machin-8"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and</em><a 
href='#index-machin-8' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-9"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and  after</em><a 
href='#index-machin-9' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-10"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and </em><a 
href='#index-machin-10' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-machin-11"><span class="category">truc: 
</span><span><strong>machin</strong> <em>bidule chose and and after</em><a 
href='#index-machin-11' class='copiable-anchor'> &para;</a></span></dt>
+<dt id="index-followed-3"><span class="category">truc: 
</span><span><strong>followed</strong> <em>by a comment</em><a 
href='#index-followed-3' class='copiable-anchor'> &para;</a></span></dt>
 <dd><pre class="example">Various deff lines
-</pre></dd><dt id="index-after-1"><span class="category">truc: 
</span><strong>after</strong> <em>a deff item</em><a href='#index-after-1' 
class='copiable-anchor'>&para;</a></dt>
+</pre></dd><dt id="index-after-1"><span class="category">truc: 
</span><span><strong>after</strong> <em>a deff item</em><a 
href='#index-after-1' class='copiable-anchor'> &para;</a></span></dt>
 </dl>
 <pre class="example">
 
@@ -3587,7 +3604,7 @@ Invalid use of @':
 
 
 
-<blockquote>
+</div><blockquote>
 <a href="sing_toc.htm#SEC_Contents">Table of Contents</a>
 <br>
 <a href="sing_abt.htm#SEC_About">About this document</a></blockquote></td>
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/index.html 
b/tp/tests/tex_html/res_parser/formatting_singular/index.html
index a257d9c..dd06f19 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/index.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/index.html
@@ -633,8 +633,7 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -647,6 +646,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html 
b/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html
index 1986138..d262cc0 100644
--- 
a/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html
@@ -632,8 +632,7 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -646,6 +645,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -655,7 +655,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en"  background="../singular_images/Mybg.png">
 
-<span id="s_002d_002dect_002cion"></span><table border="0" cellpadding="0" 
cellspacing="0">
+<div class="section" id="s_002d_002dect_002cion">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -695,7 +696,8 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="A-section"></span><h2 class="section">1.1 A section</h2>
+<div class="node" id="A-section">
+<h2 class="section">1.1 A section</h2>
 
 <blockquote><table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a href="subsection.html">1.1.1 
subsection</a></td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
@@ -710,7 +712,7 @@ ul.no-bullet {list-style: none}
 </td></tr>
 </table></blockquote>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm 
b/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm
index 6218525..0fc5817 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm
@@ -632,8 +632,7 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -646,6 +645,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -655,7 +655,7 @@ ul.no-bullet {list-style: none}
 
 <body lang="en"  background="../singular_images/Mybg.png">
 
-<span id="SEC_About"></span>
+<div class="About_element" id="SEC_About">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -792,7 +792,7 @@ and is best  viewed with a 16 or 18 point screen font.
   </li>
 </ul>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm 
b/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm
index 129ac68..b3e5f43 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm
@@ -632,8 +632,7 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -646,6 +645,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -655,7 +655,9 @@ ul.no-bullet {list-style: none}
 
 <body lang="en"  background="../singular_images/Mybg.png">
 
-<span id="SEC_Foot"></span>
+</div>
+</div>
+<div class="Footnotes_element" id="SEC_Foot">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -697,7 +699,7 @@ ul.no-bullet {list-style: none}
 <p>in footnote2</p>
 <h5><a id="FOOT9" href="chapter.html#DOCF9">(7)</a></h5>
 <p>in footnote</p>
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm 
b/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm
index 1054f6f..804960c 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm
@@ -632,8 +632,7 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -646,6 +645,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -655,7 +655,7 @@ ul.no-bullet {list-style: none}
 
 <body lang="en"  background="../singular_images/Mybg.png">
 
-<span id="SEC_Overview"></span>
+<div class="Overview_element" id="SEC_Overview">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -689,7 +689,7 @@ ul.no-bullet {list-style: none}
 <li><a id="stoc-chapter-2" href="chapter2.html" rel="index">chapter 2</a></li>
 </ul>
 </div>
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm 
b/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm
index 26605cf..713f4dd 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm
@@ -632,8 +632,7 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -646,6 +645,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -655,7 +655,7 @@ ul.no-bullet {list-style: none}
 
 <body lang="en"  background="../singular_images/Mybg.png">
 
-<span id="SEC_Contents"></span>
+<div class="Contents_element" id="SEC_Contents">
 <table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
@@ -700,7 +700,7 @@ ul.no-bullet {list-style: none}
   <li><a id="toc-chapter-2" href="chapter2.html" rel="index">chapter 2</a></li>
 </ul>
 </div>
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/subsection.html 
b/tp/tests/tex_html/res_parser/formatting_singular/subsection.html
index ad57d36..d1af3ec 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/subsection.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/subsection.html
@@ -632,8 +632,7 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -646,6 +645,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -655,7 +655,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en"  background="../singular_images/Mybg.png">
 
-<span id="subsection"></span><table border="0" cellpadding="0" cellspacing="0">
+<div class="subsection" id="subsection">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -695,7 +696,8 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="subsection-1"></span><h3 class="subsection">1.1.1 subsection</h3>
+<div class="node" id="subsection-1">
+<h3 class="subsection">1.1.1 subsection</h3>
 
 <blockquote><table class="menu" border="0" cellspacing="0">
 <tr><td align="left" valign="top"><a 
href="subsubsection-_0060_0060simple_002ddouble_002d_002d.html">1.1.1.1 
subsubsection &ldquo;simple-double&ndash;</a></td><td>&nbsp;&nbsp;</td><td 
align="left" valign="top">
@@ -705,7 +707,7 @@ ul.no-bullet {list-style: none}
 </table></blockquote>
 
 <span id="anchor"></span>
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
 
b/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
index 02938df..c22e102 100644
--- 
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
@@ -632,8 +632,7 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -646,6 +645,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -655,7 +655,8 @@ ul.no-bullet {list-style: none}
 
 <body lang="en"  background="../singular_images/Mybg.png">
 
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d"></span><table 
border="0" cellpadding="0" cellspacing="0">
+<div class="subsubsection" 
id="subsubsection-_0060_0060simple_002ddouble_002d_002d">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -695,9 +696,10 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1"></span><h4 
class="subsubsection">1.1.1.1 subsubsection &ldquo;simple-double&ndash;</h4>
+<div class="node" id="subsubsection-_0060_0060simple_002ddouble_002d_002d-1">
+<h4 class="subsubsection">1.1.1.1 subsubsection 
&ldquo;simple-double&ndash;</h4>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
 
b/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
index a566bc6..86bd7fe 100644
--- 
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
@@ -632,8 +632,7 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -646,6 +645,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -655,7 +655,9 @@ ul.no-bullet {list-style: none}
 
 <body lang="en"  background="../singular_images/Mybg.png">
 
-<span 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><table
 border="0" cellpadding="0" cellspacing="0">
+</div>
+<div class="subsubsection" 
id="subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<table border="0" cellpadding="0" cellspacing="0">
 <tr valign="top">
 <td align="left">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
@@ -695,9 +697,10 @@ ul.no-bullet {list-style: none}
 </table>
 </td>
 <td align="left">
-<span id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027"></span><h4 
class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
+<div class="node" id="three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027">
+<h4 class="subsubsection">1.1.1.2 three&mdash;four&mdash;-&rdquo;</h4>
 
-</td>
+</div></td>
 </tr>
 </table>
 <hr>
diff --git a/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed.html 
b/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed.html
index e8de67d..713b940 100644
--- a/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed.html
+++ b/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed.html
@@ -12,8 +12,7 @@
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -26,6 +25,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -35,16 +35,19 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span>
+<div class="chapter" id="Top">
+
 <p><SPAN CLASS="MATH"><IMG
  STYLE="height: 2.03ex; vertical-align: -0.31ex; " SRC="math_not_closed_1.svg"
  ALT="$\delta + 2
-$"></SPAN></p><span id="Chapter"></span><h1 class="chapter">1 Chapter</h1>
+$"></SPAN></p><div class="node" id="Chapter">
+<h1 class="chapter">1 Chapter</h1>
 
 <p><SPAN CLASS="MATH"><IMG
  STYLE="height: 2.03ex; vertical-align: -0.31ex; " SRC="math_not_closed_2.svg"
  ALT="$3\delta + 2
-$"></SPAN></p><hr>
+$"></SPAN></p></div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/tex_html/res_parser/simplest_httex/simplest.html 
b/tp/tests/tex_html/res_parser/simplest_httex/simplest.html
index f83f913..8339f7c 100644
--- a/tp/tests/tex_html/res_parser/simplest_httex/simplest.html
+++ b/tp/tests/tex_html/res_parser/simplest_httex/simplest.html
@@ -12,8 +12,7 @@
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -26,6 +25,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -35,10 +35,11 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 
-<span id="Top"></span>
+<div class="node" id="Top">
+
 <p>This is a very simple texi manual &nbsp; &lt;&gt;.
 </p>
-<hr>
+</div><hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/tex_html/res_parser/tex/tex.html 
b/tp/tests/tex_html/res_parser/tex/tex.html
index 09449df..e61c5e0 100644
--- a/tp/tests/tex_html/res_parser/tex/tex.html
+++ b/tp/tests/tex_html/res_parser/tex/tex.html
@@ -12,8 +12,7 @@
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -26,6 +25,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -34,7 +34,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="Tests"></span><h1 class="top">Tests</h1>
+<div class="top" id="Top">
+<div class="node" id="Tests">
+<h1 class="top">Tests</h1>
 
 <p>Now tex on the same line 
 <P>
@@ -121,7 +123,8 @@ Here some <!-- MATH
 $">
 </DIV>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/tex_html/res_parser/tex_accents_httex/tex_accents.html 
b/tp/tests/tex_html/res_parser/tex_accents_httex/tex_accents.html
index 8c6fd28..e0157f0 100644
--- a/tp/tests/tex_html/res_parser/tex_accents_httex/tex_accents.html
+++ b/tp/tests/tex_html/res_parser/tex_accents_httex/tex_accents.html
@@ -14,8 +14,7 @@
 <!--
 @import "tex_accents_tex4ht_tex.css";
 
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -28,6 +27,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
diff --git a/tp/tests/tex_html/res_parser/tex_accents_l2h/tex_accents.html 
b/tp/tests/tex_html/res_parser/tex_accents_l2h/tex_accents.html
index fd5e398..a9fda9b 100644
--- a/tp/tests/tex_html/res_parser/tex_accents_l2h/tex_accents.html
+++ b/tp/tests/tex_html/res_parser/tex_accents_l2h/tex_accents.html
@@ -12,8 +12,7 @@
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -26,6 +25,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
diff --git a/tp/tests/tex_html/res_parser/tex_complex_httex/tex_complex.html 
b/tp/tests/tex_html/res_parser/tex_complex_httex/tex_complex.html
index 0df58a6..f3fff0a 100644
--- a/tp/tests/tex_html/res_parser/tex_complex_httex/tex_complex.html
+++ b/tp/tests/tex_html/res_parser/tex_complex_httex/tex_complex.html
@@ -19,8 +19,7 @@ Some (I-D) \varphi(t) math. -->
 @import "tex_complex_tex4ht_math.css";
 @import "tex_complex_tex4ht_tex.css";
 
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -33,6 +32,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -59,7 +59,9 @@ class="cmmi-10">t</span>)  math.
 </p><hr>
 
 
-<span id="Top"></span><span id="The-title"></span><h1 class="top">The 
title</h1>
+<div class="top" id="Top">
+<div class="node" id="The-title">
+<h1 class="top">The title</h1>
 
 
     <div class="math-display" >
@@ -90,7 +92,7 @@ class="cmmi-7">t</span></sup> .
 </p>
 <p>Now there is a footnote<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h3 class="footnotes-heading">Footnotes</h3>
 
@@ -108,7 +110,8 @@ src="tex_complex_tex4ht_math0x.png" alt="&#x03C8;&#x02D9;"  
class="dot" ><sup><s
 class="cmmi-7">&#x03D5;</span></sup> .
 </p>
 </div>
-<hr>
+<hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex.html 
b/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex.html
index 57c9a53..fd387a6 100644
--- a/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex.html
+++ b/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex.html
@@ -16,8 +16,7 @@ Some (I-D) \varphi(t) math. -->
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -30,6 +29,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -63,7 +63,9 @@ $">
 </p><hr>
 
 
-<span id="Top"></span><span id="The-title"></span><h1 class="top">The 
title</h1>
+<div class="top" id="Top">
+<div class="node" id="The-title">
+<h1 class="top">The title</h1>
 
 <DIV CLASS="displaymath">
 <!-- MATH
@@ -107,7 +109,7 @@ $">
 </p>
 <p>Now there is a footnote<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
 </p>
-<div class="footnote">
+</div><div class="footnote">
 <hr>
 <h3 class="footnotes-heading">Footnotes</h3>
 
@@ -134,7 +136,8 @@ $">
  ALT="$h \dot \psi^\phi$"></SPAN>.
 </p>
 </div>
-<hr>
+<hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/tex_html/res_parser/tex_eqalign_httex/tex_eqalign.html 
b/tp/tests/tex_html/res_parser/tex_eqalign_httex/tex_eqalign.html
index 33b22bd..e1311ed 100644
--- a/tp/tests/tex_html/res_parser/tex_eqalign_httex/tex_eqalign.html
+++ b/tp/tests/tex_html/res_parser/tex_eqalign_httex/tex_eqalign.html
@@ -15,8 +15,7 @@
 @import "tex_eqalign_tex4ht_displaymath.css";
 @import "tex_eqalign_tex4ht_tex.css";
 
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -29,6 +28,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -37,7 +37,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="Tests"></span><h1 class="top">Tests</h1>
+<div class="top" id="Top">
+<div class="node" id="Tests">
+<h1 class="top">Tests</h1>
 
 
 <!--l. 5--><p class="indent" >
@@ -60,7 +62,8 @@ src="tex_eqalign_tex4ht_tex0x.png" alt="                      
              &#x2
 " class="math-display" ></div>
 <!--l. 8--><p class="indent" >     
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign.html 
b/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign.html
index e5dc17f..a4cf685 100644
--- a/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign.html
+++ b/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign.html
@@ -12,8 +12,7 @@
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -26,6 +25,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -34,7 +34,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="Tests"></span><h1 class="top">Tests</h1>
+<div class="top" id="Top">
+<div class="node" id="Tests">
+<h1 class="top">Tests</h1>
 
 <DIV CLASS="displaymath">
 <!-- MATH
@@ -73,7 +75,8 @@ ul.no-bullet {list-style: none}
 </DIV>
 
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/tex_html/res_parser/tex_gdef_httex/tex_gdef.html 
b/tp/tests/tex_html/res_parser/tex_gdef_httex/tex_gdef.html
index aa1a660..2edd032 100644
--- a/tp/tests/tex_html/res_parser/tex_gdef_httex/tex_gdef.html
+++ b/tp/tests/tex_html/res_parser/tex_gdef_httex/tex_gdef.html
@@ -16,8 +16,7 @@
 @import "tex_gdef_tex4ht_math.css";
 @import "tex_gdef_tex4ht_tex.css";
 
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -30,6 +29,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -38,13 +38,16 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="Tests"></span><h1 class="top">Tests</h1>
+<div class="top" id="Top">
+<div class="node" id="Tests">
+<h1 class="top">Tests</h1>
 
    
 
 
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef.html 
b/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef.html
index 35c2d23..406f225 100644
--- a/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef.html
+++ b/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef.html
@@ -12,8 +12,7 @@
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -26,6 +25,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -34,7 +34,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="Tests"></span><h1 class="top">Tests</h1>
+<div class="top" id="Top">
+<div class="node" id="Tests">
+<h1 class="top">Tests</h1>
 
   
 
@@ -58,7 +60,8 @@ ul.no-bullet {list-style: none}
 $">
 </DIV>
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/tex_html/res_parser/tex_httex/tex.html 
b/tp/tests/tex_html/res_parser/tex_httex/tex.html
index 38c3f28..152266c 100644
--- a/tp/tests/tex_html/res_parser/tex_httex/tex.html
+++ b/tp/tests/tex_html/res_parser/tex_httex/tex.html
@@ -16,8 +16,7 @@
 @import "tex_tex4ht_math.css";
 @import "tex_tex4ht_tex.css";
 
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -30,6 +29,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -38,7 +38,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="Tests"></span><h1 class="top">Tests</h1>
+<div class="top" id="Top">
+<div class="node" id="Tests">
+<h1 class="top">Tests</h1>
 
 <p>Now tex on the same line 
 <!--l. 5--><p class="indent" >
@@ -112,7 +114,8 @@ src="tex_tex4ht_displaymath0x.png" alt="                    
    (      )2
 " class="math-display" ></div>
 <!--l. 7--><p class="indent" >     
 
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying.html 
b/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying.html
index ca1f1f0..3deaf85 100644
--- a/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying.html
+++ b/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying.html
@@ -19,8 +19,7 @@ $$
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -33,6 +32,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -44,7 +44,8 @@ ul.no-bullet {list-style: none}
 
 
 
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" 
border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[ &lt; ]</td>
 <td valign="middle" align="left">[<a href="#chapter" title="Next section in 
reading order"> &gt; </a>]</td>
 <td valign="middle" align="left"> &nbsp; </td>
@@ -52,7 +53,8 @@ ul.no-bullet {list-style: none}
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="Top-node"></span><h1 class="top">Top node</h1>
+<div class="node" id="Top-node">
+<h1 class="top">Top node</h1>
 
 <p>Some equation is indeed needed to understand the copyright of
 that file
@@ -95,8 +97,9 @@ $">
 
 </p>
 
-<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" 
cellspacing="1" border="0">
+</div><hr size="6">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this 
chapter or previous chapter"> &lt;&lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Previous section in 
reading order"> &lt; </a>]</td>
 <td valign="middle" align="left">[<a href="#Top" title="Up section"> Up 
</a>]</td>
@@ -111,7 +114,8 @@ $">
 <td valign="middle" align="left">[Index]</td>
 <td valign="middle" align="left">[<a href="#SEC_About" title="About (help)"> ? 
</a>]</td>
 </tr></table>
-<span id="chapter-1"></span><h1 class="chapter">1 chapter</h1>
+<div class="node" id="chapter-1">
+<h1 class="chapter">1 chapter</h1>
 
 <p>The fundamental equation is
 <DIV CLASS="displaymath">
@@ -147,8 +151,10 @@ $">
 </p>
 
 
-<hr size="6">
-<span id="SEC_About"></span>
+</div><hr size="6">
+</div>
+</div>
+<div class="About_element" id="SEC_About">
 <table class="header" cellpadding="1" cellspacing="1" border="0">
 <tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of 
document">Top</a>]</td>
 <td valign="middle" align="left">[Contents]</td>
@@ -257,7 +263,7 @@ $">
   </li>
 </ul>
 
-<hr>
+</div><hr>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/tex_html/res_parser/tex_not_closed/tex_not_closed.html 
b/tp/tests/tex_html/res_parser/tex_not_closed/tex_not_closed.html
index 18c434e..f35c5b9 100644
--- a/tp/tests/tex_html/res_parser/tex_not_closed/tex_not_closed.html
+++ b/tp/tests/tex_html/res_parser/tex_not_closed/tex_not_closed.html
@@ -12,8 +12,7 @@
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -26,6 +25,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -34,13 +34,14 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span>
+<div class="node" id="Top">
+
 <p>texte
 </p>
 
 <P>
 This is some <SPAN 
CLASS="logo,LaTeX">L<SUP><SMALL>A</SMALL></SUP>T<SMALL>E</SMALL>X</SPAN>
-<hr>
+</div><hr></div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>
diff --git a/tp/tests/tex_html/res_parser/tex_notex/tex.html 
b/tp/tests/tex_html/res_parser/tex_notex/tex.html
index e68c9da..8f623f5 100644
--- a/tp/tests/tex_html/res_parser/tex_notex/tex.html
+++ b/tp/tests/tex_html/res_parser/tex_notex/tex.html
@@ -12,8 +12,7 @@
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
-*[id]:hover > a.copiable-anchor {visibility: visible}
-a.copiable-anchor {padding-left: 0.5em; visibility: hidden; text-decoration: 
none; line-height: 0em}
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
 div.display {margin-left: 3.2em}
@@ -26,6 +25,7 @@ pre.menu-preformatted {font-family: serif}
 span.nolinebreak {white-space: nowrap}
 span.roman {font-family: initial; font-weight: normal}
 span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
 ul.no-bullet {list-style: none}
 -->
 </style>
@@ -34,7 +34,9 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<span id="Top"></span><span id="Tests"></span><h1 class="top">Tests</h1>
+<div class="top" id="Top">
+<div class="node" id="Tests">
+<h1 class="top">Tests</h1>
 
 <p>Now tex on the same line Some text one the line following @end tex
 </p>
@@ -67,7 +69,8 @@ Here some <em class='math'>{x^i}\over{\tan y}</em>.
 <p>Displaymath
 </p><div class="displaymath"><em>-- f(x) = {1 \over \sigma 
\sqrt{2\pi}}e<sup>-{1 \over 2}\left({x-\mu \over \sigma}\right)^2</sup>
 </em></div>
-<hr>
+</div><hr></div>
+</div>
 <p><font size="-1">
   This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
 </font></p>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]