[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-344723-105":3,"doc-detail-344723-en":81,"detail-sidebar-cat-0-en-105":116},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","extracting-logical-hierarchical-structure-of-html-documents-based-on-headings","Extracting Logical Hierarchical Structure of HTML Documents Based on Headings","","The document presents a method for extracting the logical hierarchical structure of HTML documents by leveraging headings. It addresses the mismatch between HTML markup structure and logical hierarchy, noting that visual and nested tag structures do not reliably reflect section inclusion. The approach exploits four consistent heading properties: position at block starts, prominent visual styling, shared style among equal-level headings, and increased prominence for higher levels. Experiments show improved performance over existing methods, extracting both hierarchical blocks and their associated headings.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/extracting-logical-hierarchical-structure-of-html-documents-based-on-headings/344723/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/extracting-logical-hierarchical-structure-of-html-documents-based-on-headings/344723.png","ImageObject",300,407,{"name":42,"@type":43},"Bill Black","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-01","2026-09-22",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",9,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Why is extracting logical hierarchical structure from HTML documents non-trivial?","Question",{"text":63,"@type":64},"HTML markup structures often reflect physical layout or visual decoration, not the logical inclusion relationship between sections and subsections. Nested tags may also be noisy or inconsistently used, creating a mismatch with the logical hierarchy readers expect.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What heading properties does the method rely on?",{"text":68,"@type":64},"The method uses that headings appear at the beginning of corresponding blocks, use prominent visual styles, share the same style within the same level, and give higher-level headings more prominent styles.",{"name":70,"@type":61,"acceptedAnswer":71},"What does the proposed method extract in addition to hierarchical blocks?",{"text":72,"@type":64},"In addition to extracting hierarchical blocks, the method also extracts their associated headings, aligning extracted structure with the heading cues used by human readers.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},344723,1790472205,{"code":4,"msg":82,"data":83},"success",{"doc_id":79,"user_id":84,"nickname":42,"user_avatar":85,"doc_module":4,"category_id":86,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":87,"file_id":88,"file_url":89,"file_type":90,"file_size":91,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":92,"language":93,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":94,"faqs":95,"seo_title":96,"seo_description":12,"update_tm":97,"read_time":98,"preview_page_count":33,"preview_urls":99},24189269381491,"https://ap-avatar.wpscdn.com/avatar/160000cf11732dd8392?x-image-process=image/resize,m_fixed,w_180,h_180&k=1788146458752108895",8,"Extracting Logical Hierarchical Structure of HTML Documents Based on Headings  \n∗  \nTomohiro Manabe  \nGraduate School of Informatics Kyoto University Sakyo, Kyoto 606-8501 Japan  \n[manabe@dl.kuis.kyoto-u.ac.jp](manabe@dl.kuis.kyoto-u.ac.jp)  \nKeishi Tajima  \nGraduate School of Informatics Kyoto University Sakyo, Kyoto 606-8501 Japan  \n[tajima@i.kyoto-u.ac.jp](tajima@i.kyoto-u.ac.jp)  \nABSTRACT  \nWe propose a method for extracting logical hierarchical structure of HTML documents. Because mark-up structure in HTML documents does not necessarily coincide with logical hierarchical structure, it is not trivial how to extract logical structure of HTML documents. Human readers, however, easily understand their logical structure. The key information used by them is headings in the documents. Human readers exploit the following properties of headings: (1) headings appear at the beginning of the corresponding blocks,(2) headings are given prominent visual styles,(3) headings of the same level share the same visual style, and (4) headings of higher levels are given more prominent visual styles. Our method also exploits these properties for extracting hierarchical headingsand their associated blocks. Our experiment shows that our method outperforms existing methods. In addition, our method extracts not only hierarchical blocks but also their associated headings.  \n1. INTRODUCTION  \nSince the wide-spread of the Internet, a huge amount of data have been accumulated on the Web in the form of HTML documents. In order to take full advantage of this huge valuable asset, information extraction from these Web pages has become an important research topic. There has also been extensive research on querying, ranking, summarizing, and ef􀀂ciently browsing these Web pages.  \nBecause HTML documents are not plain text data, automatic understanding of the structure within them is important for improving these HTML processing tasks. There has been much research on the extraction of various types of structure in Web pages, such as list or table structure [3, 23, 27, 30] and layout structure consisting of a main body [16, 22, 28], side menus [19], and so on.  \nHowever, there remains one of the most prevalent types of structure in Web pages: logical hierarchical structure within their main bodies. Logical hierarchical structure is important for correctly understanding documents. For example, suppose we want to extract temporal information from some corpus, which includes a Web  \n∗Research Fellow of Japan Society for the Promotion of Science  \nThis work is licensed under the Creative Commons AttributionNonCommercial-NoDerivs 3.0 Unported License. To view a copy of this license, visit [http://creativecommons.org/licenses/by-nc-nd/3.0/. Obtain per](http://creativecommons.org/licenses/by-nc-nd/3.0/. Obtain per)mission prior to any use beyond those covered by the license. Contact copyright holder by emailing [info@vldb.org. Articles](info@vldb.org. Articles) from this volume were invited to present their results at the 41st International Conference on Very Large Data Bases, August 31st-September 4th 2015, Kohala Coast, Hawaii.  \nProceedings of the VLDB Endowment, Vol. 8, No. 12 Copyright 2015 VLDB Endowment 2150-8097/15/08 .  \npage shown in Figure 1 . If we ignore the hierarchical structure of this document and simply regard the document as a sequence of words, the line for July 2010 can be mistaken as describing events in July 2012 because the line is equally close to the word 2010 and 2012. For the same reason, the hierarchical structure of this document is also important when we rank this page for the query “2012 Jul construction”. These are examples of HTML processing tasks where recognition of hierarchical document structure is important.  \nHowever, there has not been suf􀀂cient research on the extraction of logical hierarchical structure of HTML documents. The problem may not seem dif􀀂cult as HTML documents include explicit nested mark-ups. These mark-ups, ho","cbCaifgYUwYeBRAr","https://ap.wps.com/l/cbCaifgYUwYeBRAr","pdf",257057,12,"English","# Abstract\n# Introduction\n## Background and motivation\n## Key challenge: markup vs logical hierarchy\n## Human heading cues\n# Proposed method and expected effectiveness","[{\"question\":\"Why is extracting logical hierarchical structure from HTML documents non-trivial?\",\"answer\":\"HTML markup structures often reflect physical layout or visual decoration, not the logical inclusion relationship between sections and subsections. Nested tags may also be noisy or inconsistently used, creating a mismatch with the logical hierarchy readers expect.\"},{\"question\":\"What heading properties does the method rely on?\",\"answer\":\"The method uses that headings appear at the beginning of corresponding blocks, use prominent visual styles, share the same style within the same level, and give higher-level headings more prominent styles.\"},{\"question\":\"What does the proposed method extract in addition to hierarchical blocks?\",\"answer\":\"In addition to extracting hierarchical blocks, the method also extracts their associated headings, aligning extracted structure with the heading cues used by human readers.\"}]","Extracting Logical Hierarchical Structure of HTML Documents Based on Headings | PDF",1790055051,30,[100,104,108,112],{"page_no":22,"url":101,"width":102,"height":103},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/4257d4cd8e4eaca83159e518dbff82b0.webp",983,1272,{"page_no":26,"url":105,"width":106,"height":107},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/2dcc33403acf64a5f1a17ae4d537e62d.webp",982,1270,{"page_no":30,"url":109,"width":110,"height":111},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/2ea16311c8eb0485712708458fe23c0d.webp",981,1269,{"page_no":33,"url":113,"width":114,"height":115},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/e2d918afa7821e4bc67de3838a50d9ab.webp",980,1268,{"code":4,"msg":82,"data":117},[118,122,126,130,135,140,145,147,151,154,158],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":119,"show_sort_weight":120,"slug":121},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":123,"show_sort_weight":124,"slug":125},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":127,"show_sort_weight":128,"slug":129},"Exam",70,"exam",{"id":131,"doc_module":4,"doc_module_name":25,"category_name":132,"show_sort_weight":133,"slug":134},5,"Comic",60,"comic",{"id":136,"doc_module":4,"doc_module_name":25,"category_name":137,"show_sort_weight":138,"slug":139},6,"Technology",50,"technology",{"id":141,"doc_module":4,"doc_module_name":25,"category_name":142,"show_sort_weight":143,"slug":144},7,"Healthcare",40,"healthcare",{"id":86,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":98,"slug":146},"research-report",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":148,"show_sort_weight":149,"slug":150},"Religion & Spirituality",20,"religion-spirituality",{"id":149,"doc_module":4,"doc_module_name":25,"category_name":152,"show_sort_weight":149,"slug":153},"World Cup","world-cup",{"id":155,"doc_module":4,"doc_module_name":25,"category_name":156,"show_sort_weight":155,"slug":157},10,"Lifestyle","lifestyle",{"id":159,"doc_module":4,"doc_module_name":25,"category_name":160,"show_sort_weight":131,"slug":161},19,"General","general"]