public HtmlNodeLink AnalysisHTML(String content, String tagname) {
        String dataInTag = content;
        HtmlNodeLink hList = new HtmlNodeLink();
        try {
            while (dataInTag.indexOf(tagname) != -1) {
                int prefix = checkPrefixTagIndex(dataInTag, tagname);
                if (prefix == -1) {
                    dataInTag = dataInTag.substring(dataInTag.indexOf(tagname) + tagname.length());

                } else {
                    HtmlNode node = new HtmlNode();
                    String supfix = setupSupfix(tagname);
                    String headertag = "";
                    int checkTag = 0;
                    //get header tag
                    if ((supfix.equalsIgnoreCase(SUPFIXTAG2) && (dataInTag.indexOf(SUPFIXTAG1, prefix) + SUPFIXTAG1.length() < dataInTag.indexOf(SUPFIXTAG2, prefix) + SUPFIXTAG2.length()))) {
                        checkTag = 1;
                        supfix = SUPFIXTAG1;
                    }

                    headertag = dataInTag.substring(prefix, dataInTag.indexOf(supfix, prefix) + supfix.length());
                    System.out.println("headertag :" + headertag);
                    node.setAttibuteList(readAttbuteList(headertag, tagname, supfix));
                    if (checkTag == 1) {
                        checkTag = 0;
                        supfix = SUPFIXTAG2;
                    }

                    //get data in tag
                    if (!supfix.equalsIgnoreCase(SUPFIXTAG2)) {
                        
                        String datatag = dataInTag.substring(dataInTag.indexOf(supfix, prefix) + supfix.length(), dataInTag.indexOf(STOP_PREFIXTAG + tagname + supfix));
                        //System.out.println("datatag :"+datatag);
                        node.setData(datatag);
                        dataInTag = dataInTag.substring(dataInTag.indexOf(STOP_PREFIXTAG + tagname + supfix));
                    } else {
                        dataInTag = dataInTag.substring(dataInTag.indexOf(supfix) + supfix.length());
                    }

                    hList.add(node);

                }

            }
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        return hList;
    }