利用:header匹配所有標題做目錄

1、問題背景      查找到h1-h6,並遍歷它們,打印出內容   2、實現源碼   [html]  view plain  copy   <!DOCTYPE html>   <html>       <head>           <meta charset="utf-8" />           <title>查找標題</title>           <script type="te
相關文章
相關標籤/搜索